fix(#9187): fix haproxy version to 2.6.17 #333
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scalability Workflow | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "*-beta.*" | |
env: | |
STAGING_SERVER: ${{ secrets.AUTH_MARKET_URL && '_couch/builds_4' || '_couch/builds_external' }} | |
MARKET_URL_READ: 'https://staging.dev.medicmobile.org' | |
INTERNAL_CONTRIBUTOR: ${{ secrets.SCALABILITY_ARN && 'true' }} | |
SCALABILITY_ARN: ${{ secrets.SCALABILITY_ARN }} | |
BRANCH: ${{ github.head_ref || github.ref_name }} | |
BUILD_NUMBER: ${{ github.run_id }} | |
jobs: | |
build: | |
name: Set up Medic on EC2 and Execute Jmeter on another EC2 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
if: ${{ env.INTERNAL_CONTRIBUTOR }} | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.SCALABILITY_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.SCALABILITY_SECRET_ACCESS_KEY }} | |
aws-region: ca-central-1 | |
- name: Start EC2 and CHT | |
if: ${{ env.INTERNAL_CONTRIBUTOR }} | |
run: cd tests/scalability && ./start-ec2-cht.sh $BRANCH |