Skip to content

feat(#9598): add training materials page (#9592) #352

feat(#9598): add training materials page (#9592)

feat(#9598): add training materials page (#9592) #352

Workflow file for this run

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