diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bd0ad8959..cd671eee8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,20 +7,23 @@ on: push: branches: [ main, 'release-**.x' ] +permissions: + id-token: write # This is required for requesting the JWT + jobs: - deploy_chime_alpha_demo: - name: Alpha - Chime Client - Deploy Meeting Demo And Meeting Readiness Checker Demos + deploy_chime_sdk_demo: + name: Deploy Meeting and Meeting Readiness Checker Demos - Media Prod runs-on: ubuntu-latest env: AWS_DEFAULT_REGION: us-east-1 AWS_DEFAULT_OUTPUT: text - NAME: ChimeAlpha + NAME: DEMO steps: - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }} + role-session-name: deploy-demo-app aws-region: us-east-1 - name: Checkout Package uses: actions/checkout@v2 @@ -31,225 +34,22 @@ jobs: - name: Run Deployment Script if: ${{ github.ref == 'refs/heads/main' }} run: script/deploy-canary-demo - deploy_chime_beta_demo: - name: Beta - Chime Client - Deploy the Serverless Meeting and Meeting Readiness Checker Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: ChimeBeta - GAMMA_CHIME_ENDPOINT: ${{secrets.GAMMA_CHIME_ENDPOINT}} - GAMMA_CHIME_ENDPOINT_US_EAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_US_EAST_1}} - GAMMA_CHIME_SERVICE_PRINCIPAL: ${{secrets.GAMMA_CHIME_SERVICE_PRINCIPAL}} - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.BETA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.BETA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_chime_sdk_meetings_beta_demo: - name: Beta - ChimeSDKMeetings Client - Deploy the Serverless Meeting Demos + + deploy_chime_sdk_demo_gamma: + name: Deploy Meeting and Meeting Readiness Checker Demos - Media Gamma runs-on: ubuntu-latest env: AWS_DEFAULT_REGION: us-east-1 AWS_DEFAULT_OUTPUT: text - NAME: ChimeSDKMeetingsBeta - GAMMA_CHIME_ENDPOINT: ${{secrets.GAMMA_CHIME_ENDPOINT}} + NAME: GAMMA GAMMA_CHIME_ENDPOINT_US_EAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_US_EAST_1}} - GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1: ${{secrets.GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1}} - GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1}} GAMMA_CHIME_SERVICE_PRINCIPAL: ${{secrets.GAMMA_CHIME_SERVICE_PRINCIPAL}} steps: - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.BETA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.BETA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_ChimeSDKMeetings_ChimeSDKMediaPipelines_beta_demo: - name: Beta - ChimeSDKMeetings Client ChimeSDKMediaPipelines Client - Deploy the Serverless Meeting Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: ChimeSDKMeetings_ChimeSDKMediaPipelinesBeta - GAMMA_CHIME_ENDPOINT: ${{secrets.GAMMA_CHIME_ENDPOINT}} - GAMMA_CHIME_ENDPOINT_US_EAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_US_EAST_1}} - GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1: ${{secrets.GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1}} - GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1}} - GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL}} - GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_US_EAST_1: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_US_EAST_1}} - GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_EU_CENTRAL_1: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_EU_CENTRAL_1}} - GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_AP_SOUTHEAST_1: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_AP_SOUTHEAST_1}} - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.BETA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.BETA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_Chime_ChimeSDKMediaPipelines_beta_demo: - name: Beta - Chime Client ChimeSDKMediaPipelines Client - Deploy the Serverless Meeting Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: Chime_ChimeSDKMediaPipelinesBeta - GAMMA_CHIME_ENDPOINT: ${{secrets.GAMMA_CHIME_ENDPOINT}} - GAMMA_CHIME_ENDPOINT_US_EAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_US_EAST_1}} - GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1: ${{secrets.GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1}} - GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1: ${{secrets.GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1}} - GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL}} - GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_US_EAST_1: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_US_EAST_1}} - GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_EU_CENTRAL_1: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_EU_CENTRAL_1}} - GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_AP_SOUTHEAST_1: ${{secrets.GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_AP_SOUTHEAST_1}} - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.BETA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.BETA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_chime_gamma_demo: - name: Gamma - Chime Client - Deploy the Serverless Meeting and Meeting Readiness Checker Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: ChimeGamma - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.GAMMA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.GAMMA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_chime_sdk_meetings_gamma_demo: - name: Gamma - ChimeSDKMeetings Client - Deploy the Serverless Meeting Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: ChimeSDKMeetingsGamma - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.GAMMA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.GAMMA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_ChimeSDKMeetings_ChimeSDKMediaPipelines_gamma_demo: - name: Gamma - ChimeSDKMeetings Client ChimeSDKMediaPipelines Client - Deploy the Serverless Meeting Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: ChimeSDKMeetings_ChimeSDKMediaPipelines_gamma - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.GAMMA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.GAMMA_AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install SAM CLI - run: script/github-action-awscli-installation - - name: Run Deployment Script - if: ${{ github.ref == 'refs/heads/main' }} - run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev - deploy_Chime_ChimeSDKMediaPipelines_gamma_demo: - name: Gamma - Chime Client ChimeSDKMediaPipelines Client - Deploy the Serverless Meeting Demos - runs-on: ubuntu-latest - env: - AWS_DEFAULT_REGION: us-east-1 - AWS_DEFAULT_OUTPUT: text - NAME: Chime_ChimeSDKMediaPipelines_gamma - steps: - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: - aws-access-key-id: ${{ secrets.GAMMA_AWS_ACCESS_KEY }} - aws-secret-access-key: ${{ secrets.GAMMA_AWS_SECRET_ACCESS_KEY }} + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }} + role-session-name: deploy-demo-app aws-region: us-east-1 - name: Checkout Package uses: actions/checkout@v2 @@ -260,6 +60,4 @@ jobs: - name: Run Deployment Script if: ${{ github.ref == 'refs/heads/main' }} run: script/deploy-canary-demo - - name: Run Deployment Script Previous Major Version - if: ${{ github.ref != 'refs/heads/main' }} - run: script/deploy-canary-demo -prev + \ No newline at end of file diff --git a/script/deploy-canary-demo b/script/deploy-canary-demo index 1086948ec..3c7a78510 100755 --- a/script/deploy-canary-demo +++ b/script/deploy-canary-demo @@ -9,80 +9,16 @@ npm ci case $NAME in -ChimeAlpha) - echo "Deploying to alpha stage for canary" - - # Uses Chime Client +DEMO) + echo "Deploying to sdk-dev for demo use" npm run deploy -- -b chime-sdk-demo-canary$canarySuffix -s chime-sdk-demo-canary$canarySuffix -o chime-sdk-demo-canary$canarySuffix -i eu-south-1 -t -l npm run deploy -- -b chime-sdk-meeting-readiness-checker-dev-canary$canarySuffix -s chime-sdk-meeting-readiness-checker-dev-canary$canarySuffix -a meetingReadinessChecker -t -l ;; -ChimeBeta) - echo "Deploying to beta stage for canary that talks to gamma Chime client for meetings and gamma Chime client for media pipelines" - - # Uses Chime Client for meetings and Chime client for media pipelines - npm run deploy -- -b chime-sdk-demo-beta-canary$canarySuffix -s chime-sdk-demo-beta-canary$canarySuffix -o chime-sdk-demo-beta-canary$canarySuffix -i eu-south-1 -p $GAMMA_CHIME_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l - npm run deploy -- -b chime-sdk-meeting-readiness-checker-beta-canary$canarySuffix -s chime-sdk-meeting-readiness-checker-beta-canary$canarySuffix -a meetingReadinessChecker -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l - ;; - -ChimeSDKMeetingsBeta) - echo "Deploying to beta stage for canary that talks to gamma ChimeSDKMeetings client for meetings and gamma Chime client for media pipelines" - - # Uses ChimeSDKMeetings client for meetings and Chime client for media pipelines - npm run deploy -- -r us-east-1 -b chime-sdk-meetings-demo-beta-canary-us-east-1$canarySuffix -s chime-sdk-meetings-demo-beta-canary-us-east-1$canarySuffix -o chime-sdk-meetings-iad-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l - npm run deploy -- -r eu-central-1 -b chime-sdk-meetings-demo-beta-canary-eu-central-1$canarySuffix -s chime-sdk-meetings-demo-beta-canary-eu-central-1$canarySuffix -o chime-sdk-meetings-fra-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1 -t -l - npm run deploy -- -r ap-southeast-1 -b chime-sdk-meetings-demo-beta-canary-ap-southeast-1$canarySuffix -s chime-sdk-meetings-demo-beta-canary-ap-southeast-1$canarySuffix -o chime-sdk-meetings-sin-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1 -t -l - ;; - -ChimeSDKMeetings_ChimeSDKMediaPipelinesBeta) - echo "Deploying to beta stage for canary that talks to gamma ChimeSDKMeetings client for meetings and gamma ChimeSDKMediaPipelines client for media pipelines" - - # Uses ChimeSDKMeetings client for meetings and ChimeSDKMediaPipelines client for media pipelines - npm run deploy -- -r us-east-1 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-beta-canary-us-east-1$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-beta-canary-us-east-1$canarySuffix -o chime-sdk-$chimeSDKMediaPipelinesStackId-iad-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l --chime-sdk-media-pipelines-endpoint $GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_US_EAST_1 - npm run deploy -- -r eu-central-1 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-beta-canary-eu-central-1$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-beta-canary-eu-central-1$canarySuffix -o chime-sdk-$chimeSDKMediaPipelinesStackId-fra-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_EU_CENTRAL_1 -t -l --chime-sdk-media-pipelines-region eu-central-1 --chime-sdk-media-pipelines-endpoint $GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_EU_CENTRAL_1 - npm run deploy -- -r ap-southeast-1 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-beta-canary-ap-southeast-1$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-beta-canary-ap-southeast-1$canarySuffix -o chime-sdk-$chimeSDKMediaPipelinesStackId-sin-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_AP_SOUTHEAST_1 -t -l --chime-sdk-media-pipelines-region ap-southeast-1 --chime-sdk-media-pipelines-endpoint $GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_AP_SOUTHEAST_1 - ;; - -Chime_ChimeSDKMediaPipelinesBeta) - echo "Deploying to beta stage for canary that talks to gamma Chime client for meetings and gamma ChimeSDKMediaPipelines client for media pipelines" - - # Uses Chime client for meetings and ChimeSDKMediaPipelines client for media pipelines - npm run deploy -- -r us-east-1 -b chime-sdk-$chimeSDKMediaPipelinesStackId-demo-beta-canary-us-east-1$canarySuffix -s chime-sdk-$chimeSDKMediaPipelinesStackId-demo-beta-canary-us-east-1$canarySuffix -o chime-sdk-$chimeSDKMediaPipelinesStackId-iad-demo-beta-canary$canarySuffix -p $GAMMA_CHIME_MEDIA_PIPELINES_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l --chime-sdk-media-pipelines-endpoint $GAMMA_CHIME_MEDIA_PIPELINES_ENDPOINT_US_EAST_1 - ;; - -ChimeGamma) - echo "Deploying to gamma stage for canary that talks to prod Chime client for meetings and prod Chime client for media pipelines" - - # Uses Chime Client - npm run deploy -- -b chime-sdk-demo-gamma-canary$canarySuffix -s chime-sdk-demo-gamma-canary$canarySuffix -o chime-sdk-demo-gamma-canary$canarySuffix -i eu-south-1 -t -l -p chime.amazonaws.com - npm run deploy -- -b chime-sdk-meeting-readiness-checker-gamma-canary$canarySuffix -s chime-sdk-meeting-readiness-checker-gamma-canary$canarySuffix -a meetingReadinessChecker -t -l - ;; - -ChimeSDKMeetingsGamma) - echo "Deploying to gamma stage for canary that talks to prod ChimeSDKMeetings client for meetings and prod Chime client for media pipelines" - - # Uses ChimeSDKMeetings client - npm run deploy -- -r us-east-1 -b chime-sdk-meetings-demo-gamma-canary-us-east-1$canarySuffix -s chime-sdk-meetings-demo-gamma-canary-us-east-1$canarySuffix -o chime-sdk-meetings-iad-demo-gamma-canary$canarySuffix -t -l -p chime.amazonaws.com - npm run deploy -- -r us-west-2 -b chime-sdk-meetings-demo-gamma-canary-us-west-2$canarySuffix -s chime-sdk-meetings-demo-gamma-canary-us-west-2$canarySuffix -o chime-sdk-meetings-pdx-demo-gamma-canary$canarySuffix -t -l -p chime.amazonaws.com - npm run deploy -- -r eu-central-1 -b chime-sdk-meetings-demo-gamma-canary-eu-central-1$canarySuffix -s chime-sdk-meetings-demo-gamma-canary-eu-central-1$canarySuffix -o chime-sdk-meetings-fra-demo-gamma-canary$canarySuffix -t -l -p chime.amazonaws.com - npm run deploy -- -r ap-southeast-1 -b chime-sdk-meetings-demo-gamma-canary-ap-southeast-1$canarySuffix -s chime-sdk-meetings-demo-gamma-canary-ap-southeast-1$canarySuffix -o chime-sdk-meetings-sin-demo-gamma-canary$canarySuffix -t -l -p chime.amazonaws.com - ;; - -ChimeSDKMeetings_ChimeSDKMediaPipelines_gamma) - echo "Deploying to gamma stage for canary that talks to prod ChimeSDKMeetings client for meetings and prod ChimeSDKMediaPipelines client for media pipelines" - - # Uses ChimeSDKMeetings client - npm run deploy -- -r us-east-1 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-us-east-1$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-us-east-1$canarySuffix -o chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-iad-demo-gamma-canary$canarySuffix -t -l - npm run deploy -- -r us-west-2 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-us-west-2$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-us-west-2$canarySuffix -o chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-pdx-demo-gamma-canary$canarySuffix -t -l --chime-sdk-media-pipelines-region us-west-2 --chime-sdk-media-pipelines-endpoint https://media-pipelines-chime.us-west-2.amazonaws.com - npm run deploy -- -r eu-central-1 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-eu-central-1$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-eu-central-1$canarySuffix -o chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-fra-demo-gamma-canary$canarySuffix -t -l --chime-sdk-media-pipelines-region eu-central-1 --chime-sdk-media-pipelines-endpoint https://media-pipelines-chime.eu-central-1.amazonaws.com - npm run deploy -- -r ap-southeast-1 -b chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-ap-southeast-1$canarySuffix -s chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-ap-southeast-1$canarySuffix -o chime-sdk-meetings-$chimeSDKMediaPipelinesStackId-sin-demo-gamma-canary$canarySuffix -t -l --chime-sdk-media-pipelines-region ap-southeast-1 --chime-sdk-media-pipelines-endpoint https://media-pipelines-chime.ap-southeast-1.amazonaws.com - ;; - -Chime_ChimeSDKMediaPipelines_gamma) - echo "Deploying to gamma stage for canary that talks to prod Chime client for meetings and prod ChimeSDKMediaPipelines client for media pipelines" - - # Uses ChimeSDKMeetings client - npm run deploy -- -r us-east-1 -b chime-sdk-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-us-east-1$canarySuffix -s chime-sdk-$chimeSDKMediaPipelinesStackId-demo-gamma-canary-us-east-1$canarySuffix -o chime-sdk-$chimeSDKMediaPipelinesStackId-iad-demo-gamma-canary$canarySuffix -t -l +GAMMA) + echo "Deploying to sdk-dev running with media gamma stage" + npm run deploy -- -b chime-sdk-demo-media-gamma$canarySuffix -s chime-sdk-demo-media-gamma$canarySuffix -o chime-sdk-demo-media-gamma$canarySuffix -i eu-south-1 -p $GAMMA_CHIME_SERVICE_PRINCIPAL -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l + npm run deploy -- -b chime-sdk-meeting-readiness-checker-media-gamma$canarySuffix -s chime-sdk-meeting-readiness-checker-media-gamma$canarySuffix -a meetingReadinessChecker -m $GAMMA_CHIME_ENDPOINT_US_EAST_1 -t -l ;; ChimeProd)