Skip to content

Commit 291c9aa

Browse files
authored
[Release only] Pin test-infra repo for 2.1 release (#8045)
1 parent 3b43449 commit 291c9aa

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

.github/workflows/build-cmake.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
runner: ${{ matrix.runner }}
2727
gpu-arch-type: ${{ matrix.gpu-arch-type }}
2828
gpu-arch-version: ${{ matrix.gpu-arch-version }}
29+
test-infra-ref: release/2.1
2930
script: |
3031
set -euo pipefail
3132
@@ -46,6 +47,7 @@ jobs:
4647
with:
4748
repository: pytorch/vision
4849
runner: ${{ matrix.runner }}
50+
test-infra-ref: release/2.1
4951
script: |
5052
set -euo pipefail
5153
@@ -71,6 +73,7 @@ jobs:
7173
runner: ${{ matrix.runner }}
7274
gpu-arch-type: ${{ matrix.gpu-arch-type }}
7375
gpu-arch-version: ${{ matrix.gpu-arch-version }}
76+
test-infra-ref: release/2.1
7477
script: |
7578
set -euo pipefail
7679

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
repository: pytorch/vision
2020
upload-artifact: docs
21+
test-infra-ref: release/2.1
2122
script: |
2223
set -euo pipefail
2324
@@ -85,6 +86,7 @@ jobs:
8586
repository: pytorch/vision
8687
download-artifact: docs
8788
ref: gh-pages
89+
test-infra-ref: release/2.1
8890
script: |
8991
set -euo pipefail
9092

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
1515
with:
1616
repository: pytorch/vision
17+
test-infra-ref: release/2.1
1718
script: |
1819
set -euo pipefail
1920
@@ -40,6 +41,7 @@ jobs:
4041
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
4142
with:
4243
repository: pytorch/vision
44+
test-infra-ref: release/2.1
4345
script: |
4446
set -euo pipefail
4547
@@ -73,6 +75,7 @@ jobs:
7375
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
7476
with:
7577
repository: pytorch/vision
78+
test-infra-ref: release/2.1
7679
script: |
7780
set -euo pipefail
7881

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
gpu-arch-type: ${{ matrix.gpu-arch-type }}
3434
gpu-arch-version: ${{ matrix.gpu-arch-version }}
3535
timeout: 120
36+
test-infra-ref: release/2.1
3637
script: |
3738
set -euo pipefail
3839
@@ -62,6 +63,7 @@ jobs:
6263
# and needs roughly 2 hours to just run the test suite
6364
timeout: 240
6465
runner: ${{ matrix.runner }}
66+
test-infra-ref: release/2.1
6567
script: |
6668
set -euo pipefail
6769
@@ -94,6 +96,7 @@ jobs:
9496
gpu-arch-type: ${{ matrix.gpu-arch-type }}
9597
gpu-arch-version: ${{ matrix.gpu-arch-version }}
9698
timeout: 120
99+
test-infra-ref: release/2.1
97100
script: |
98101
set -euxo pipefail
99102
@@ -109,6 +112,7 @@ jobs:
109112
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
110113
with:
111114
repository: pytorch/vision
115+
test-infra-ref: release/2.1
112116
script: |
113117
set -euo pipefail
114118
@@ -139,6 +143,7 @@ jobs:
139143
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
140144
with:
141145
repository: pytorch/vision
146+
test-infra-ref: release/2.1
142147
script: |
143148
set -euo pipefail
144149

.github/workflows/update-viablestrict.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
repository: pytorch/vision
2020
required_checks: "Build Linux,Build M1,Build Macos,Build Windows,Tests,CMake,Lint,Docs"
21+
test-infra-ref: release/2.1
2122
secrets:
2223
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}
2324
GITHUB_DEPLOY_KEY : ${{ secrets.VISION_GITHUB_DEPLOY_KEY }}

0 commit comments

Comments
 (0)