From 96cf13e837c2e92c8c8ff1ef93e88d303e89b22b Mon Sep 17 00:00:00 2001 From: michhyun Date: Mon, 22 Feb 2021 14:05:18 -0800 Subject: [PATCH] Seperate Github Actions into multiple workflows --- .github/workflows/audio-integration.yml | 55 +++ .github/workflows/build.yml | 29 ++ .../workflows/content-share-integration.yml | 55 +++ .github/workflows/continuous-integration.yml | 346 ------------------ .../workflows/data-message-integration.yml | 55 +++ .github/workflows/meeting-end-integration.yml | 55 +++ .../meeting-readiness-integration.yml | 56 +++ .github/workflows/messaging-integration.yml | 58 +++ .github/workflows/video-integration.yml | 55 +++ 9 files changed, 418 insertions(+), 346 deletions(-) create mode 100644 .github/workflows/audio-integration.yml create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/content-share-integration.yml delete mode 100644 .github/workflows/continuous-integration.yml create mode 100644 .github/workflows/data-message-integration.yml create mode 100644 .github/workflows/meeting-end-integration.yml create mode 100644 .github/workflows/meeting-readiness-integration.yml create mode 100644 .github/workflows/messaging-integration.yml create mode 100644 .github/workflows/video-integration.yml diff --git a/.github/workflows/audio-integration.yml b/.github/workflows/audio-integration.yml new file mode 100644 index 0000000000..620d72dba0 --- /dev/null +++ b/.github/workflows/audio-integration.yml @@ -0,0 +1,55 @@ + name: Audio Integration Workflow + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + + jobs: + integ-audio: + name: Audio Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Run Audio Integration Test + run: npm run test:integration-audio \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000..d84fbe4329 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +# 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: Build and Test Workflow + +on: + pull_request: + branches: + - master + - release-1.x + +jobs: + build: + name: Build and Run Unit Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Using Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Clean Install + run: npm ci + - name: Build + run: npm run build:release diff --git a/.github/workflows/content-share-integration.yml b/.github/workflows/content-share-integration.yml new file mode 100644 index 0000000000..af287b09d9 --- /dev/null +++ b/.github/workflows/content-share-integration.yml @@ -0,0 +1,55 @@ + name: Content Share Integration Workflow + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + + jobs: + integ-content-share: + name: Content Share Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Run Content Share Integration Test + run: npm run test:integration-content-share \ No newline at end of file diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml deleted file mode 100644 index c8e7b3844d..0000000000 --- a/.github/workflows/continuous-integration.yml +++ /dev/null @@ -1,346 +0,0 @@ -# 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: CI Workflow - -on: - pull_request: - branches: - - master - - release-1.x -env: - SELENIUM_GRID_PROVIDER: saucelabs - CLOUD_WATCH_METRIC: false - TEST_TYPE: Github-Action - SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} - SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} - MESSAGING_USER_ARN: ${{secrets.MESSAGING_USER_ARN}} - -jobs: - build: - name: Build and Run Unit Tests - runs-on: ubuntu-latest - - steps: - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # TODO: Enable with pull_request_target to allow for forked repos to run our github actions - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Using Node.js 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Clean Install - run: npm ci - - name: Build - run: npm run build:release - - integ-audio: - name: Audio Integration Test - needs: build - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # TODO: Enable with pull_request_target to allow for forked repos to run our github actions - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Run Audio Integration Test - run: npm run test:integration-audio - - integ-content-share: - name: Content Share Integration Test - needs: build - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Run Content Share Integration Test - run: npm run test:integration-content-share - - integ-video: - name: Video Integration Test - needs: integ-audio - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # TODO: Enable with pull_request_target to allow for forked repos to run our github actions - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Run Video Integ Test - run: npm run test:integration-video - - integ-meeting-readiness: - name: Meeting Readiness Integration Test - needs: integ-content-share - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # TODO: Enable with pull_request_target to allow for forked repos to run our github actions - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Run Meeting Readiness Checker Integration Test - run: npm run test:integration-meeting-readiness-checker - - integ-data-message: - name: Data Message Integration Test - needs: integ-video - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # TODO: Enable with pull_request_target to allow for forked repos to run our github actions - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Run Data Message Integration Test - run: npm run test:integration-data-message - - - integ-meeting-end: - name: Meeting End Integration Test - needs: integ-video - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - # TODO: Enable with pull_request_target to allow for forked repos to run our github actions - # ref: ${{github.event.pull_request.head.ref}} - # repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Run Meeting End Integ Test - run: npm run test:integration-meeting-end - - integ-messaging: - name: Messaging Integration Test - needs: integ-data-message - runs-on: ubuntu-latest - - steps: - - name: Create a Job ID - id: create-job-id - uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c - - name: Set JOB_ID Env Variable - run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV - - name: Echo Job ID - run: echo "${{ steps.create-job-id.outputs.uuid }}" - - 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: Setup Sauce Connect - uses: saucelabs/sauce-connect-action@master - with: - username: ${{ secrets.SAUCE_USERNAME }} - accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} - noSSLBumpDomains: all - tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} - - name: Checkout Package - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Setup Node.js - 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - name: Install Kite - run: integration/js/script/install-kite - - name: Clean Install - run: npm ci - - name: Setup userArn - run: integration/js/script/test-setup - - name: Run Messaging Integration Test - run: npm run test:integration-messaging diff --git a/.github/workflows/data-message-integration.yml b/.github/workflows/data-message-integration.yml new file mode 100644 index 0000000000..46e60bc01a --- /dev/null +++ b/.github/workflows/data-message-integration.yml @@ -0,0 +1,55 @@ + name: Data Message Integration Workflow + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + + jobs: + integ-data-message: + name: Data Message Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Run Data Message Integration Test + run: npm run test:integration-data-message \ No newline at end of file diff --git a/.github/workflows/meeting-end-integration.yml b/.github/workflows/meeting-end-integration.yml new file mode 100644 index 0000000000..a2424b4713 --- /dev/null +++ b/.github/workflows/meeting-end-integration.yml @@ -0,0 +1,55 @@ + name: Meeting End Integration Workflow + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + + jobs: + integ-meeting-end: + name: Meeting End Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Run Meeting End Integ Test + run: npm run test:integration-meeting-end \ No newline at end of file diff --git a/.github/workflows/meeting-readiness-integration.yml b/.github/workflows/meeting-readiness-integration.yml new file mode 100644 index 0000000000..ad75574150 --- /dev/null +++ b/.github/workflows/meeting-readiness-integration.yml @@ -0,0 +1,56 @@ + + name: Meeting Readiness Integration Workflow + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + + jobs: + integ-meeting-readiness: + name: Meeting Readiness Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Run Meeting Readiness Checker Integration Test + run: npm run test:integration-meeting-readiness-checker \ No newline at end of file diff --git a/.github/workflows/messaging-integration.yml b/.github/workflows/messaging-integration.yml new file mode 100644 index 0000000000..aa66409f07 --- /dev/null +++ b/.github/workflows/messaging-integration.yml @@ -0,0 +1,58 @@ + name: Messaging Integration Test + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + MESSAGING_USER_ARN: ${{secrets.MESSAGING_USER_ARN}} + + jobs: + integ-messaging: + name: Messaging Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Setup userArn + run: integration/js/script/test-setup + - name: Run Messaging Integration Test + run: npm run test:integration-messaging \ No newline at end of file diff --git a/.github/workflows/video-integration.yml b/.github/workflows/video-integration.yml new file mode 100644 index 0000000000..45da903dda --- /dev/null +++ b/.github/workflows/video-integration.yml @@ -0,0 +1,55 @@ + name: Video Integration Test + + on: + pull_request: + branches: + - master + - release-1.x + + env: + SELENIUM_GRID_PROVIDER: saucelabs + CLOUD_WATCH_METRIC: false + TEST_TYPE: Github-Action + SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}} + SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}} + + jobs: + integ-video: + name: Video Integration Test + runs-on: ubuntu-latest + + steps: + - name: Create a Job ID + id: create-job-id + uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c + - name: Set JOB_ID Env Variable + run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV + - name: Echo Job ID + run: echo "${{ steps.create-job-id.outputs.uuid }}" + - 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: Setup Sauce Connect + uses: saucelabs/sauce-connect-action@master + with: + username: ${{ secrets.SAUCE_USERNAME }} + accessKey: ${{ secrets.SAUCE_ACCESS_KEY }} + noSSLBumpDomains: all + tunnelIdentifier: ${{ steps.create-job-id.outputs.uuid }} + - name: Checkout Package + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Node.js - 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + - name: Install Kite + run: integration/js/script/install-kite + - name: Clean Install + run: npm ci + - name: Run Video Integ Test + run: npm run test:integration-video \ No newline at end of file