Change config AWS creds to role to unblock previous major version test #1041
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Deploy Demo App Workflow | |
on: | |
push: | |
branches: [ main, 'release-**.x' ] | |
jobs: | |
deploy_chime_alpha_demo: | |
name: Alpha - Chime Client - Deploy Meeting Demo And Meeting Readiness Checker Demos | |
runs-on: ubuntu-latest | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
AWS_DEFAULT_OUTPUT: text | |
NAME: ChimeAlpha | |
steps: | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} | |
aws-secret-access-key: ${{ secrets.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 | |
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_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 | |
runs-on: ubuntu-latest | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
AWS_DEFAULT_OUTPUT: text | |
NAME: ChimeSDKMeetingsBeta | |
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_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_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 |