Skip to content

Commit

Permalink
Switch to Nova build jobs and cleanup AWS credentials (#1217)
Browse files Browse the repository at this point in the history
* Enable Python 3.12 build for torchdata

* Minor push to run all builds

* Build conda 3.12 with conda-build in 3.9

* Install setuptools for 3.12

* Use the correct conda env

* Figure it out

* Clean up obsolete workflows

* Clean up AWS credentials
  • Loading branch information
huydhn committed Jan 16, 2024
1 parent b565dc1 commit b2b2577
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 670 deletions.
555 changes: 0 additions & 555 deletions .github/workflows/_build_test_upload.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build-conda-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
env-var-script: packaging/env-var-script.txt
smoke-test-script: test/smoke_test/smoke_test.py
runner-type: macos-m1-12
trigger-event: dev
trigger-event: ${{ github.event_name }}
secrets:
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
9 changes: 5 additions & 4 deletions .github/workflows/build-wheels-m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
Expand All @@ -37,7 +41,4 @@ jobs:
env-var-script: packaging/env-var-script.txt
runner-type: macos-m1-12
smoke-test-script: test/smoke_test/smoke_test.py
trigger-event: dev
secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
trigger-event: ${{ github.event_name }}
4 changes: 1 addition & 3 deletions .github/workflows/build_conda_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ jobs:
smoke-test-script: ${{ matrix.smoke-test-script }}
package-name: ${{ matrix.package-name }}
env-var-script: packaging/env-var-script.txt
# Using "development" as trigger event so these binaries are not uploaded
# to official channels yet
trigger-event: development
trigger-event: ${{ github.event_name }}
secrets:
CONDA_PYTORCHBOT_TOKEN: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
generate-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
Expand Down Expand Up @@ -47,8 +51,4 @@ jobs:
smoke-test-script: ${{ matrix.smoke-test-script }}
package-name: ${{ matrix.package-name }}
env-var-script: packaging/env-var-script.txt
# Using "development" as trigger event so these binaries are not uploaded to official channels yet
trigger-event: development
secrets:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID: ${{ secrets.PYTORCH_BINARY_AWS_ACCESS_KEY_ID }}
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY: ${{ secrets.PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY }}
trigger-event: ${{ github.event_name }}
20 changes: 0 additions & 20 deletions .github/workflows/nightly_release.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/pull_release.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/release.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/test_release.yml

This file was deleted.

0 comments on commit b2b2577

Please sign in to comment.