Skip to content

Commit 1a88cad

Browse files
revert pipelines to work on vars for ubuntu version
1 parent 2ea75b9 commit 1a88cad

18 files changed

+55
-55
lines changed

.github/workflows/alpha-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Build and publish alpha package
1515
environment:
1616
name: npm-alpha
17-
runs-on: 'ubuntu-latest'
17+
runs-on: ${{ vars.RUNS_ON }}
1818
permissions:
1919
contents: write
2020
id-token: write

.github/workflows/breaking-change-check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# get matrix for ci-jobs
2020
get_matrix:
2121
name: Load CI Matrix Details
22-
runs-on: 'ubuntu-latest'
22+
runs-on: ${{ vars.RUNS_ON }}
2323
permissions: read-all
2424
outputs:
2525
matrix: ${{ steps.get-matrix.outputs.matrix }}
@@ -39,7 +39,7 @@ jobs:
3939
check_breaking_changes:
4040
needs: get_matrix
4141
name: 'Check Breaking Changes (${{ matrix.flavor }})'
42-
runs-on: 'ubuntu-latest'
42+
runs-on: ${{ vars.RUNS_ON }}
4343
permissions: read-all
4444
strategy:
4545
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}

.github/workflows/ci.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# get matrix for ci-jobs
2424
get_matrix:
2525
name: Load CI Matrix Details
26-
runs-on: 'ubuntu-latest'
26+
runs-on: ${{ vars.RUNS_ON }}
2727
outputs:
2828
matrix: ${{ steps.get-matrix.outputs.matrix }}
2929
steps:
@@ -43,7 +43,7 @@ jobs:
4343
build_packages:
4444
needs: get_matrix
4545
name: 'Build Packages (${{ matrix.flavor }})'
46-
runs-on: 'ubuntu-latest'
46+
runs-on: ${{ vars.RUNS_ON }}
4747
strategy:
4848
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
4949
steps:
@@ -123,7 +123,7 @@ jobs:
123123
jest-test-coverage:
124124
needs: [get_matrix, build_packages]
125125
name: 'Jest Test Coverage (${{ matrix.flavor }})'
126-
runs-on: 'ubuntu-latest'
126+
runs-on: ${{ vars.RUNS_ON }}
127127
permissions:
128128
pull-requests: write
129129
strategy:
@@ -220,7 +220,7 @@ jobs:
220220
name: Check if in progress feature can be removed separately (${{ matrix.flavor }})
221221
strategy:
222222
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
223-
runs-on: 'ubuntu-latest'
223+
runs-on: ${{ vars.RUNS_ON }}
224224
steps:
225225
# Checks-out your repository under $GITHUB_WORKSPACE so job can access it
226226
- uses: actions/checkout@v4
@@ -269,7 +269,7 @@ jobs:
269269
call_composite_automation_test:
270270
needs: get_matrix
271271
name: 'Call Composite automation test (${{ matrix.flavor }})'
272-
runs-on: 'ubuntu-latest'
272+
runs-on: ${{ vars.RUNS_ON }}
273273
permissions:
274274
pull-requests: write
275275
strategy:
@@ -336,7 +336,7 @@ jobs:
336336
chat_composite_automation_test:
337337
needs: get_matrix
338338
name: 'Chat Composite automation test (${{ matrix.flavor }})'
339-
runs-on: 'ubuntu-latest'
339+
runs-on: ${{ vars.RUNS_ON }}
340340
permissions:
341341
pull-requests: write
342342
strategy:
@@ -403,7 +403,7 @@ jobs:
403403
call_with_chat_composite_automation_test:
404404
needs: get_matrix
405405
name: 'Call With Chat Composite automation test (${{ matrix.flavor }})'
406-
runs-on: 'ubuntu-latest'
406+
runs-on: ${{ vars.RUNS_ON }}
407407
permissions:
408408
pull-requests: write
409409
strategy:
@@ -469,7 +469,7 @@ jobs:
469469
components_automation_test:
470470
needs: get_matrix
471471
name: 'Components automation test (${{ matrix.flavor }})'
472-
runs-on: 'ubuntu-latest'
472+
runs-on: ${{ vars.RUNS_ON }}
473473
permissions:
474474
pull-requests: write
475475
strategy:
@@ -527,7 +527,7 @@ jobs:
527527
name: Build Storybook v8 (${{ matrix.flavor }})
528528
strategy:
529529
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
530-
runs-on: 'ubuntu-latest'
530+
runs-on: ${{ vars.RUNS_ON }}
531531
steps:
532532
- uses: actions/checkout@v4
533533
- name: Use Node.js
@@ -556,7 +556,7 @@ jobs:
556556
build_calling_sample:
557557
needs: get_matrix
558558
name: 'Build Calling Sample (${{ matrix.flavor }})'
559-
runs-on: 'ubuntu-latest'
559+
runs-on: ${{ vars.RUNS_ON }}
560560
strategy:
561561
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
562562
steps:
@@ -588,7 +588,7 @@ jobs:
588588
build_chat_sample:
589589
needs: get_matrix
590590
name: 'Build Chat Sample (${{ matrix.flavor }})'
591-
runs-on: 'ubuntu-latest'
591+
runs-on: ${{ vars.RUNS_ON }}
592592
strategy:
593593
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
594594
steps:
@@ -620,7 +620,7 @@ jobs:
620620
build_call_with_chat_sample:
621621
needs: get_matrix
622622
name: 'Build CallWithChat Sample (${{ matrix.flavor }})'
623-
runs-on: 'ubuntu-latest'
623+
runs-on: ${{ vars.RUNS_ON }}
624624
strategy:
625625
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
626626
steps:
@@ -652,7 +652,7 @@ jobs:
652652
build_calling_stateful_samples:
653653
needs: get_matrix
654654
name: 'Build Calling Stateful Samples (${{ matrix.flavor }})'
655-
runs-on: 'ubuntu-latest'
655+
runs-on: ${{ vars.RUNS_ON }}
656656
strategy:
657657
matrix: ${{ fromJSON(needs.get_matrix.outputs.matrix) }}
658658
steps:
@@ -678,7 +678,7 @@ jobs:
678678
build_static_html_composites_sample:
679679
needs: get_matrix
680680
name: 'Build And Test Static HTML Composites Sample (${{ matrix.flavor }})'
681-
runs-on: 'ubuntu-latest'
681+
runs-on: ${{ vars.RUNS_ON }}
682682
permissions:
683683
pull-requests: write
684684
strategy:
@@ -728,7 +728,7 @@ jobs:
728728
build_component_examples:
729729
needs: get_matrix
730730
name: 'Build And Test Component+Binding Examples (${{ matrix.flavor }})'
731-
runs-on: 'ubuntu-latest'
731+
runs-on: ${{ vars.RUNS_ON }}
732732
permissions:
733733
pull-requests: write
734734
strategy:
@@ -776,7 +776,7 @@ jobs:
776776
})
777777
778778
compare_base_bundle_stats:
779-
runs-on: 'ubuntu-latest'
779+
runs-on: ${{ vars.RUNS_ON }}
780780
permissions:
781781
pull-requests: write
782782
if: ${{ github.event_name == 'pull_request' && !startsWith(github.event.pull_request.base.ref, 'release/') }}
@@ -858,7 +858,7 @@ jobs:
858858
fi
859859
echo "Bundle size diff for $app is below the threshold of $significantBundleSizeThreshold. All is good!"
860860
update_base_bundle_report:
861-
runs-on: 'ubuntu-latest'
861+
runs-on: ${{ vars.RUNS_ON }}
862862
name: Upload bundle size report to gist - ${{ matrix.app }}
863863
needs: [build_calling_sample, build_chat_sample, build_call_with_chat_sample]
864864
if: github.ref == 'refs/heads/main'
@@ -886,7 +886,7 @@ jobs:
886886
file_path: report.json
887887

888888
check_failure:
889-
runs-on: 'ubuntu-latest'
889+
runs-on: ${{ vars.RUNS_ON }}
890890
permissions:
891891
issues: write
892892
needs:

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
jobs:
2929
analyze:
3030
name: Analyze
31-
runs-on: 'ubuntu-latest'
31+
runs-on: ${{ vars.RUNS_ON }}
3232
permissions:
3333
actions: read
3434
contents: read

.github/workflows/create-api-view-feature-level.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
build:
18-
runs-on: 'ubuntu-latest'
18+
runs-on: ${{ vars.RUNS_ON }}
1919
permissions: read-all
2020
steps:
2121
# Checks-out your repository under $GITHUB_WORKSPACE so job can access it

.github/workflows/create-prerelease-branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# create pre-release branch for beta releases
3232
create_pre-release:
3333
name: Bump versions and make changelog for release
34-
runs-on: 'ubuntu-latest'
34+
runs-on: ${{ vars.RUNS_ON }}
3535
permissions: read-all
3636
steps:
3737
# Check-out repo

.github/workflows/create-release-branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
create_release:
1919
if: ${{ startsWith(github.event.inputs.branch, 'prerelease') }}
2020
name: Create release branch
21-
runs-on: 'ubuntu-latest'
21+
runs-on: ${{ vars.RUNS_ON }}
2222
permissions: read-all
2323
steps:
2424
# Check-out repo

.github/workflows/deploy-azure-webapps.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions: read-all
2020
jobs:
2121
build-and-deploy-samples:
2222
name: Build and Deploy samples
23-
runs-on: 'ubuntu-latest'
23+
runs-on: ${{ vars.RUNS_ON }}
2424
permissions:
2525
# Needed for Azure login
2626
id-token: write
@@ -95,7 +95,7 @@ jobs:
9595
package: ./samples/CallWithChat/dist
9696

9797
check_failure:
98-
runs-on: 'ubuntu-latest'
98+
runs-on: ${{ vars.RUNS_ON }}
9999
permissions:
100100
issues: write
101101
needs: [build-and-deploy-samples]

.github/workflows/deploy-feature-azure-webapps.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions: read-all
1414
jobs:
1515
calling:
1616
name: Build and Deploy Calling App
17-
runs-on: 'ubuntu-latest'
17+
runs-on: ${{ vars.RUNS_ON }}
1818
permissions:
1919
# Needed for Azure login
2020
id-token: write
@@ -56,7 +56,7 @@ jobs:
5656

5757
chat:
5858
name: Build and Deploy Chat App
59-
runs-on: 'ubuntu-latest'
59+
runs-on: ${{ vars.RUNS_ON }}
6060
permissions:
6161
# Needed for Azure login
6262
id-token: write
@@ -98,7 +98,7 @@ jobs:
9898

9999
callwithchat:
100100
name: Build and Deploy CallWithChat App
101-
runs-on: 'ubuntu-latest'
101+
runs-on: ${{ vars.RUNS_ON }}
102102
permissions:
103103
# Needed for Azure login
104104
id-token: write

.github/workflows/deploy-release-azure-webapps.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions: read-all
1818
jobs:
1919
calling:
2020
name: Build and Deploy Calling App
21-
runs-on: 'ubuntu-latest'
21+
runs-on: ${{ vars.RUNS_ON }}
2222
permissions:
2323
# Needed for Azure login
2424
id-token: write
@@ -66,7 +66,7 @@ jobs:
6666

6767
chat:
6868
name: Build and Deploy Chat App
69-
runs-on: 'ubuntu-latest'
69+
runs-on: ${{ vars.RUNS_ON }}
7070
permissions:
7171
# Needed for Azure login
7272
id-token: write
@@ -114,7 +114,7 @@ jobs:
114114

115115
callwithchat:
116116
name: Build and Deploy CallWithChat App
117-
runs-on: 'ubuntu-latest'
117+
runs-on: ${{ vars.RUNS_ON }}
118118
permissions:
119119
# Needed for Azure login
120120
id-token: write

.github/workflows/deploy-storybook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
build-and-deploy-storybook:
1414
name: Build and Deploy Storybook
15-
runs-on: 'ubuntu-latest'
15+
runs-on: ${{ vars.RUNS_ON }}
1616
permissions: # permissions needed for the deploy-storybook script
1717
pages: write
1818
id-token: write

.github/workflows/nightly-cd.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Check for new changes
2121
outputs:
2222
hasChanged: ${{ steps.checkChange.outputs.hasChanged }}
23-
runs-on: 'ubuntu-latest'
23+
runs-on: ${{ vars.RUNS_ON }}
2424
permissions: read-all
2525
steps:
2626
# Check-out repo
@@ -61,7 +61,7 @@ jobs:
6161
environment:
6262
name: npm-alpha
6363
if: needs.checkForChanges.outputs.hasChanged == 'true'
64-
runs-on: 'ubuntu-latest'
64+
runs-on: ${{ vars.RUNS_ON }}
6565
permissions:
6666
contents: write
6767
id-token: write
@@ -187,7 +187,7 @@ jobs:
187187
exit 1
188188
189189
check_failure:
190-
runs-on: 'ubuntu-latest'
190+
runs-on: ${{ vars.RUNS_ON }}
191191
permissions:
192192
issues: write
193193
needs: release

.github/workflows/npm-release-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
job-inputs:
29-
runs-on: 'ubuntu-latest'
29+
runs-on: ${{ vars.RUNS_ON }}
3030
permissions: read-all
3131
steps:
3232
- name: Set branch name
@@ -45,7 +45,7 @@ jobs:
4545
name: npm
4646
url: https://www.npmjs.com/package/@azure/communication-react
4747
name: Publish release
48-
runs-on: 'ubuntu-latest'
48+
runs-on: ${{ vars.RUNS_ON }}
4949
permissions:
5050
packages: write
5151
contents: write

.github/workflows/publish-chromatic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
chromatic_deployment:
2121
name: Publish Chromatic Storybook 8
22-
runs-on: 'ubuntu-latest'
22+
runs-on: ${{ vars.RUNS_ON }}
2323
permissions:
2424
packages: write
2525
pull-requests: write

.github/workflows/stress-test-ui-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
jobs:
1212
stress_test_ui_tests:
1313
name: Stress test UI tests
14-
runs-on: 'ubuntu-latest'
14+
runs-on: ${{ vars.RUNS_ON }}
1515
permissions: read-all
1616
steps:
1717
- uses: actions/checkout@v4

.github/workflows/update-api-files.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions: read-all
1313
jobs:
1414
update_composite_snapshot:
1515
name: Update all API files
16-
runs-on: 'ubuntu-latest'
16+
runs-on: ${{ vars.RUNS_ON }}
1717
strategy:
1818
matrix:
1919
include:

0 commit comments

Comments
 (0)