Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/integration/js/multi…
Browse files Browse the repository at this point in the history
…-5727489b49
  • Loading branch information
ltrung authored Jan 6, 2025
2 parents 762a716 + a3093f2 commit cf7cbf8
Show file tree
Hide file tree
Showing 25 changed files with 2,384 additions and 2,599 deletions.
6 changes: 2 additions & 4 deletions .github/actions/setup-integration-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ runs:
- name: Clean Install
run: npm ci
shell: bash
- name: Add localhost 8080 host to /etc/hosts for Linux only
- name: Add testsite host to /etc/hosts for Linux only (fixes 500 internal error when loading the test page)
shell: bash
if: runner.os == 'Linux'
run: |
sudo echo "127.0.0.1 testsite" | sudo tee -a /etc/hosts
sudo echo "127.0.0.1 testsite" | sudo tee -a /etc/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ env:
MESSAGING_USER_ARN: ${{secrets.MESSAGING_USER_ARN}}
PRE_RUN_SCRIPT_URL: ${{secrets.PRE_RUN_SCRIPT_URL}}

permissions:
id-token: write # This is required for requesting the JWT

jobs:
get-previous-version:
name: Get Previous Major Version
Expand Down Expand Up @@ -50,8 +53,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Audio Compatibility Test
run: npm run test:browser-compatibility-audio
browser-compatibility-video-previous-major-version:
Expand All @@ -72,8 +75,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Video Compatibility Test
run: npm run test:browser-compatibility-video
browser-compatibility-content-share-previous-major-version:
Expand All @@ -95,8 +98,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Content Share Compatibility Test
run: npm run test:browser-compatibility-content-share
browser-compatibility-data-message-previous-major-version:
Expand All @@ -118,8 +121,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Data Message Compatibility Test
run: npm run test:browser-compatibility-data-message
browser-compatibility-meeting-readiness-checker-previous-major-version:
Expand All @@ -141,8 +144,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Meeting Readiness Checker Compatibility Test
run: npm run test:browser-compatibility-meeting-readiness-checker
browser-compatibility-background-blur-previous-major-version:
Expand All @@ -164,8 +167,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Background Blur Compatibility Test
run: npm run test:browser-compatibility-background-blur
browser-compatibility-linux-audio-previous-major-version:
Expand All @@ -188,8 +191,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Audio Compatibility Test
run: npm run test:linux-browser-compatibility-audio
browser-compatibility-linux-video-previous-major-version:
Expand All @@ -212,8 +215,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Video Compatibility Test
run: npm run test:linux-browser-compatibility-video
browser-compatibility-linux-content-share-previous-major-version:
Expand All @@ -236,8 +239,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Content Share Compatibility Test
run: npm run test:linux-browser-compatibility-content-share
browser-compatibility-linux-other-previous-major-version:
Expand All @@ -260,8 +263,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Other Compatibility Test
run: npm run test:linux-browser-compatibility-other
browser-compatibility-results-report-previous-major-version:
Expand Down Expand Up @@ -305,4 +308,4 @@ jobs:
- name: Install Axios
run: npm install axios
- name: Send Slack Message
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_PREV_VER_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_PREV_VER_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
45 changes: 24 additions & 21 deletions .github/workflows/browser-compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ env:
SLACK_JS_SDK_DEV_CORE_WEBHOOK: ${{secrets.SLACK_JS_SDK_DEV_CORE_WEBHOOK}}
PRE_RUN_SCRIPT_URL: ${{secrets.PRE_RUN_SCRIPT_URL}}

permissions:
id-token: write # This is required for requesting the JWT

jobs:
browser-compatibility-audio:
name: Audio Compatibility Test
Expand All @@ -33,8 +36,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Audio Compatibility Test
run: npm run test:browser-compatibility-audio
browser-compatibility-video:
Expand All @@ -53,8 +56,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Video Compatibility Test
run: npm run test:browser-compatibility-video
browser-compatibility-content-share:
Expand All @@ -75,8 +78,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Content Share Compatibility Test
run: npm run test:browser-compatibility-content-share
browser-compatibility-data-message:
Expand All @@ -97,8 +100,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Data Message Compatibility Test
run: npm run test:browser-compatibility-data-message
browser-compatibility-meeting-readiness-checker:
Expand All @@ -119,8 +122,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Meeting Readiness Checker Compatibility Test
run: npm run test:browser-compatibility-meeting-readiness-checker
browser-compatibility-background-blur:
Expand All @@ -141,8 +144,8 @@ jobs:
with:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Background Blur Compatibility Test
run: npm run test:browser-compatibility-background-blur
browser-compatibility-linux-audio:
Expand All @@ -164,8 +167,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Audio Compatibility Test
run: npm run test:linux-browser-compatibility-audio
browser-compatibility-linux-video:
Expand All @@ -187,8 +190,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Video Compatibility Test
run: npm run test:linux-browser-compatibility-video
browser-compatibility-linux-content-share:
Expand All @@ -210,8 +213,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Content Share Compatibility Test
run: npm run test:linux-browser-compatibility-content-share
browser-compatibility-linux-other:
Expand All @@ -233,8 +236,8 @@ jobs:
sauce-username: ${{ secrets.SAUCE_USERNAME }}
sauce-access-key: ${{ secrets.SAUCE_ACCESS_KEY }}
sauce-rest-url: https://us-east-1.saucelabs.com/rest/v1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
aws-role-session-name: ${{ env.TEST_TYPE }}
- name: Run Linux Other Compatibility Test
run: npm run test:linux-browser-compatibility-other
browser-compatibility-results-report:
Expand Down Expand Up @@ -278,4 +281,4 @@ jobs:
- name: Install Axios
run: npm install axios
- name: Send Slack Message
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
Loading

0 comments on commit cf7cbf8

Please sign in to comment.