Skip to content

Commit 4e255c9

Browse files
atalmanosalpekar
andauthored
[Release 0.16] Release only changes (#2206)
* [Release 0.16] Release only changes * Set secrets for test env * Exclude rocm from build matrix * remove extra space --------- Co-authored-by: Omkar Salpekar <[email protected]>
1 parent 45e4b8c commit 4e255c9

17 files changed

+30
-26
lines changed

.github/workflows/build-conda-linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: linux
@@ -35,7 +35,7 @@ jobs:
3535
smoke-test-script: test/smoke_tests/smoke_tests.py
3636
package-name: torchtext
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@release/2.1
3939
with:
4040
conda-package-directory: ${{ matrix.conda-package-directory }}
4141
repository: ${{ matrix.repository }}
@@ -52,3 +52,4 @@ jobs:
5252
trigger-event: ${{ github.event_name }}
5353
secrets:
5454
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-conda-m1.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: macos-arm64
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
package-name: torchtext
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.1
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}
@@ -52,3 +52,4 @@ jobs:
5252
trigger-event: ${{ github.event_name }}
5353
secrets:
5454
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-conda-macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: macos
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
package-name: torchtext
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.1
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}
@@ -52,3 +52,4 @@ jobs:
5252
trigger-event: ${{ github.event_name }}
5353
secrets:
5454
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
55+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-conda-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: conda
2121
os: windows
@@ -35,7 +35,7 @@ jobs:
3535
smoke-test-script: test/smoke_tests/smoke_tests.py
3636
package-name: torchtext
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@release/2.1
3939
with:
4040
conda-package-directory: ${{ matrix.conda-package-directory }}
4141
repository: ${{ matrix.repository }}
@@ -50,3 +50,4 @@ jobs:
5050
trigger-event: ${{ github.event_name }}
5151
secrets:
5252
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
53+
CONDA_PYTORCHBOT_TOKEN_TEST: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
build:
17-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
1818
with:
1919
job-name: Build doc
2020
runner: linux.2xlarge

.github/workflows/build-wheels-linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
2323
test-infra-ref: main
2424
with-cuda: disable
25+
with-rocm: disable
2526
build:
2627
needs: generate-matrix
2728
strategy:
@@ -34,7 +35,7 @@ jobs:
3435
smoke-test-script: test/smoke_tests/smoke_tests.py
3536
package-name: torchtext
3637
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.1
3839
with:
3940
repository: ${{ matrix.repository }}
4041
ref: ""

.github/workflows/build-wheels-m1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: macos-arm64
@@ -33,7 +33,7 @@ jobs:
3333
package-name: torchtext
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
name: ${{ matrix.repository }}
36-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
36+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.1
3737
with:
3838
repository: ${{ matrix.repository }}
3939
ref: ""

.github/workflows/build-wheels-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: macos
@@ -33,7 +33,7 @@ jobs:
3333
package-name: torchtext
3434
smoke-test-script: test/smoke_tests/smoke_tests.py
3535
name: ${{ matrix.repository }}
36-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
36+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.1
3737
with:
3838
repository: ${{ matrix.repository }}
3939
ref: ""

.github/workflows/build-wheels-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.1
1919
with:
2020
package-type: wheel
2121
os: windows
@@ -35,7 +35,7 @@ jobs:
3535
smoke-test-script: test/smoke_tests/smoke_tests.py
3636
package-name: torchtext
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.1
3939
with:
4040
repository: ${{ matrix.repository }}
4141
ref: ""

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
python_version: ["3.8"]
1414
fail-fast: false
15-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
15+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.1
1616
with:
1717
runner: linux.12xlarge
1818
repository: pytorch/text

0 commit comments

Comments
 (0)