Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] move to latest ubuntu version in actions #5532

Open
wants to merge 44 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
12f1702
move to latest ubuntu
dmceachernmsft Jan 6, 2025
ef3a97b
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 7, 2025
e4d37d4
test
dmceachernmsft Jan 7, 2025
bf3a981
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
dmceachernmsft Jan 7, 2025
0f36021
test
dmceachernmsft Jan 7, 2025
605e9db
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 7, 2025
ed6e10f
undo test
dmceachernmsft Jan 8, 2025
d4147bb
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 9, 2025
b2a54ad
Update packages/react-components browser test snapshots
github-actions[bot] Jan 9, 2025
f203087
Update packages/react-components browser test snapshots
github-actions[bot] Jan 9, 2025
49bc6cf
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
b029f6f
Update packages/react-composites CallWithChatComposite browser test s…
github-actions[bot] Jan 9, 2025
03dd40a
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
ee4c8e4
Update embed html bundle snapshots
github-actions[bot] Jan 9, 2025
bdfca9a
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
ab0e3d3
Update packages/react-composites ChatComposite browser test snapshots
github-actions[bot] Jan 9, 2025
49c6684
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
bc239a8
Update packages/react-composites ChatComposite browser test snapshots
github-actions[bot] Jan 9, 2025
33b5e0b
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
72e6aee
Update embed html bundle snapshots
github-actions[bot] Jan 9, 2025
380543e
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
7b2f414
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
406a004
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
2d49fca
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
d8207c0
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
1465289
Update packages/react-composites CallWithChatComposite browser test s…
github-actions[bot] Jan 9, 2025
8fc98a7
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
1db93cc
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
710faec
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
7fbaaf2
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
315e352
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
ed5959f
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
3e05317
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
9a28087
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 9, 2025
027cc90
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
ee56c36
Update packages/react-composites CallComposite browser test snapshots
github-actions[bot] Jan 9, 2025
9696968
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
github-actions[bot] Jan 9, 2025
afcea01
return to vars
dmceachernmsft Jan 9, 2025
94ae198
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
dmceachernmsft Jan 9, 2025
c1560f3
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 9, 2025
8b7069d
update to use latest for testing
dmceachernmsft Jan 10, 2025
ba3c999
Merge branch 'dmceachernmsft/ubuntu-test' of https://github.com/Azure…
dmceachernmsft Jan 10, 2025
34d9dfe
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 10, 2025
5d94369
Merge branch 'main' into dmceachernmsft/ubuntu-test
dmceachernmsft Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Build and publish alpha package
environment:
name: npm-alpha
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
contents: write
id-token: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/breaking-change-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# get matrix for ci-jobs
get_matrix:
name: Load CI Matrix Details
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
outputs:
matrix: ${{ steps.get-matrix.outputs.matrix }}
Expand All @@ -39,7 +39,7 @@ jobs:
check_breaking_changes:
needs: get_matrix
name: 'Check Breaking Changes (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# get matrix for ci-jobs
get_matrix:
name: Load CI Matrix Details
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
outputs:
matrix: ${{ steps.get-matrix.outputs.matrix }}
steps:
Expand All @@ -43,7 +43,7 @@ jobs:
build_packages:
needs: get_matrix
name: 'Build Packages (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
steps:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
jest-test-coverage:
needs: [get_matrix, build_packages]
name: 'Jest Test Coverage (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
name: Check if in progress feature can be removed separately (${{ matrix.flavor }})
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
steps:
# Checks-out your repository under $GITHUB_WORKSPACE so job can access it
- uses: actions/checkout@v4
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
call_composite_automation_test:
needs: get_matrix
name: 'Call Composite automation test (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
chat_composite_automation_test:
needs: get_matrix
name: 'Chat Composite automation test (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -403,7 +403,7 @@ jobs:
call_with_chat_composite_automation_test:
needs: get_matrix
name: 'Call With Chat Composite automation test (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -469,7 +469,7 @@ jobs:
components_automation_test:
needs: get_matrix
name: 'Components automation test (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -527,7 +527,7 @@ jobs:
name: Build Storybook v8 (${{ matrix.flavor }})
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
steps:
- uses: actions/checkout@v4
- name: Use Node.js
Expand Down Expand Up @@ -556,7 +556,7 @@ jobs:
build_calling_sample:
needs: get_matrix
name: 'Build Calling Sample (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
steps:
Expand Down Expand Up @@ -588,7 +588,7 @@ jobs:
build_chat_sample:
needs: get_matrix
name: 'Build Chat Sample (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
steps:
Expand Down Expand Up @@ -620,7 +620,7 @@ jobs:
build_call_with_chat_sample:
needs: get_matrix
name: 'Build CallWithChat Sample (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
steps:
Expand Down Expand Up @@ -652,7 +652,7 @@ jobs:
build_calling_stateful_samples:
needs: get_matrix
name: 'Build Calling Stateful Samples (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
strategy:
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
steps:
Expand All @@ -678,7 +678,7 @@ jobs:
build_static_html_composites_sample:
needs: get_matrix
name: 'Build And Test Static HTML Composites Sample (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -728,7 +728,7 @@ jobs:
build_component_examples:
needs: get_matrix
name: 'Build And Test Component+Binding Examples (${{ matrix.flavor }})'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
strategy:
Expand Down Expand Up @@ -776,7 +776,7 @@ jobs:
})

compare_base_bundle_stats:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
pull-requests: write
if: ${{ github.event_name == 'pull_request' && !startsWith(github.event.pull_request.base.ref, 'release/') }}
Expand Down Expand Up @@ -858,7 +858,7 @@ jobs:
fi
echo "Bundle size diff for $app is below the threshold of $significantBundleSizeThreshold. All is good!"
update_base_bundle_report:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
name: Upload bundle size report to gist - ${{ matrix.app }}
needs: [build_calling_sample, build_chat_sample, build_call_with_chat_sample]
if: github.ref == 'refs/heads/main'
Expand Down Expand Up @@ -886,7 +886,7 @@ jobs:
file_path: report.json

check_failure:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
issues: write
needs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
jobs:
analyze:
name: Analyze
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-api-view-feature-level.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

jobs:
build:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
steps:
# Checks-out your repository under $GITHUB_WORKSPACE so job can access it
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-prerelease-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# create pre-release branch for beta releases
create_pre-release:
name: Bump versions and make changelog for release
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
steps:
# Check-out repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
create_release:
if: ${{ startsWith(github.event.inputs.branch, 'prerelease') }}
name: Create release branch
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
steps:
# Check-out repo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-azure-webapps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions: read-all
jobs:
build-and-deploy-samples:
name: Build and Deploy samples
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
package: ./samples/CallWithChat/dist

check_failure:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
issues: write
needs: [build-and-deploy-samples]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-feature-azure-webapps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions: read-all
jobs:
calling:
name: Build and Deploy Calling App
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

chat:
name: Build and Deploy Chat App
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

callwithchat:
name: Build and Deploy CallWithChat App
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-release-azure-webapps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions: read-all
jobs:
calling:
name: Build and Deploy Calling App
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

chat:
name: Build and Deploy Chat App
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:

callwithchat:
name: Build and Deploy CallWithChat App
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
# Needed for Azure login
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
build-and-deploy-storybook:
name: Build and Deploy Storybook
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: # permissions needed for the deploy-storybook script
pages: write
id-token: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Check for new changes
outputs:
hasChanged: ${{ steps.checkChange.outputs.hasChanged }}
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
steps:
# Check-out repo
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
environment:
name: npm-alpha
if: needs.checkForChanges.outputs.hasChanged == 'true'
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
contents: write
id-token: write
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
exit 1

check_failure:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
issues: write
needs: release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ concurrency:

jobs:
job-inputs:
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
steps:
- name: Set branch name
Expand All @@ -45,7 +45,7 @@ jobs:
name: npm
url: https://www.npmjs.com/package/@azure/communication-react
name: Publish release
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
packages: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
chromatic_deployment:
name: Publish Chromatic Storybook 8
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions:
packages: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stress-test-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
stress_test_ui_tests:
name: Stress test UI tests
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
permissions: read-all
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-api-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: read-all
jobs:
update_composite_snapshot:
name: Update all API files
runs-on: ${{ vars.RUNS_ON }}
runs-on: 'ubuntu-lastest'
strategy:
matrix:
include:
Expand Down
Loading
Loading