Skip to content

Commit

Permalink
[Release only] Use release/2.3 instead of main for test-infra-ref (#8347
Browse files Browse the repository at this point in the history
)
  • Loading branch information
atalman authored Mar 20, 2024
1 parent 4f19b9b commit fc0fe8f
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runner: ${{ matrix.runner }}
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand All @@ -47,7 +47,7 @@ jobs:
with:
repository: pytorch/vision
runner: ${{ matrix.runner }}
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand All @@ -73,7 +73,7 @@ jobs:
runner: ${{ matrix.runner }}
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-conda-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
package-type: conda
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build:
needs: generate-matrix
strategy:
Expand All @@ -40,7 +40,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-conda-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
package-type: conda
os: macos-arm64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build:
needs: generate-matrix
strategy:
Expand All @@ -40,7 +40,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-conda-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
package-type: conda
os: windows
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build:
needs: generate-matrix
strategy:
Expand All @@ -40,7 +40,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-aarch64-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
package-type: wheel
os: linux-aarch64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
with-cuda: disable
build:
needs: generate-matrix
Expand All @@ -43,7 +43,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
package-type: wheel
os: linux
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build:
needs: generate-matrix
strategy:
Expand All @@ -42,7 +42,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
package-type: wheel
os: macos-arm64
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build:
needs: generate-matrix
strategy:
Expand All @@ -42,7 +42,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
post-script: ${{ matrix.post-script }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
package-type: wheel
os: windows
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build:
needs: generate-matrix
strategy:
Expand All @@ -43,7 +43,7 @@ jobs:
repository: ${{ matrix.repository }}
ref: ""
test-infra-repository: pytorch/test-infra
test-infra-ref: main
test-infra-ref: release/2.3
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
pre-script: ${{ matrix.pre-script }}
env-script: ${{ matrix.env-script }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
repository: pytorch/vision
upload-artifact: docs
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
upload:
needs: build
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
permissions:
contents: write
Expand All @@ -86,7 +86,7 @@ jobs:
repository: pytorch/vision
download-artifact: docs
ref: gh-pages
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
with:
repository: pytorch/vision
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand All @@ -41,7 +41,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
with:
repository: pytorch/vision
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
with:
repository: pytorch/vision
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
timeout: 120
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
# and needs roughly 2 hours to just run the test suite
timeout: 240
runner: ${{ matrix.runner }}
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
gpu-arch-type: ${{ matrix.gpu-arch-type }}
gpu-arch-version: ${{ matrix.gpu-arch-version }}
timeout: 120
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euxo pipefail
Expand All @@ -115,7 +115,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
with:
repository: pytorch/vision
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
with:
repository: pytorch/vision
test-infra-ref: main
test-infra-ref: release/2.3
script: |
set -euo pipefail
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-viablestrict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
repository: pytorch/vision
required_checks: "Build Linux,Build M1,Build Macos,Build Windows,Tests,CMake,Lint,Docs"
test-infra-ref: main
test-infra-ref: release/2.3
secrets:
ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}
GITHUB_DEPLOY_KEY : ${{ secrets.VISION_GITHUB_DEPLOY_KEY }}

0 comments on commit fc0fe8f

Please sign in to comment.