diff --git a/.github/workflows/_update_dependencies.yml b/.github/workflows/_update_dependencies.yml index 81f551af5..d0eaa37f1 100644 --- a/.github/workflows/_update_dependencies.yml +++ b/.github/workflows/_update_dependencies.yml @@ -32,7 +32,6 @@ jobs: run: echo "date=$(date +%F)" | tee -a "$GITHUB_OUTPUT" update-lockfile: - environment: nemo-ci runs-on: linux-amd64-cpu16 needs: [pre-flight] env: @@ -96,7 +95,6 @@ jobs: create-pr: needs: [update-lockfile, pre-flight] runs-on: ubuntu-latest - environment: main env: SOURCE_BRANCH: ${{ needs.pre-flight.outputs.bump-branch }} TARGET_BRANCH: ${{ inputs.target-branch }} diff --git a/.github/workflows/build-test-publish-wheel.yml b/.github/workflows/build-test-publish-wheel.yml index ff7b4b9d9..60b380cb5 100644 --- a/.github/workflows/build-test-publish-wheel.yml +++ b/.github/workflows/build-test-publish-wheel.yml @@ -55,8 +55,8 @@ jobs: runner: ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2-container container-options: "--gpus all --runtime=nvidia" secrets: - TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) && secrets.SVC_PYPI_TOKEN || secrets.SVC_PYPI_TEST_TOKEN }} SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ENDPOINT }} SLACK_WEBHOOK_ADMIN: ${{ secrets.SLACK_WEBHOOK_ADMIN }} GH_TOKEN: ${{ secrets.PAT }} diff --git a/.github/workflows/cicd-approve-test-queue.yml b/.github/workflows/cicd-approve-test-queue.yml index c5e0e71b3..b563169ea 100644 --- a/.github/workflows/cicd-approve-test-queue.yml +++ b/.github/workflows/cicd-approve-test-queue.yml @@ -16,13 +16,12 @@ name: Approve Test Queue on: schedule: - - cron: '*/5 * * * *' # Runs every 5 minutes - workflow_dispatch: # Allows manual triggering + - cron: "*/5 * * * *" # Runs every 5 minutes + workflow_dispatch: # Allows manual triggering jobs: approve-queue: runs-on: ubuntu-latest - environment: main steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/cicd-main.yml b/.github/workflows/cicd-main.yml index e44755bb3..080778528 100644 --- a/.github/workflows/cicd-main.yml +++ b/.github/workflows/cicd-main.yml @@ -101,7 +101,6 @@ jobs: && !cancelled() runs-on: ${{ matrix.runner }} name: ${{ matrix.script }} - environment: nemo-ci steps: - name: Checkout uses: actions/checkout@v4 @@ -143,7 +142,6 @@ jobs: && !cancelled() runs-on: ${{ matrix.runner }} name: ${{ matrix.script }} - environment: nemo-ci steps: - name: Checkout uses: actions/checkout@v4 @@ -184,7 +182,6 @@ jobs: || needs.pre-flight.outputs.force_run_all == 'true' ) && !cancelled() - environment: nemo-ci steps: - name: Checkout uses: actions/checkout@v4 @@ -210,7 +207,6 @@ jobs: needs: [cicd-unit-tests-trtllm, pre-flight] runs-on: ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2 name: ${{ matrix.is_optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }} - environment: nemo-ci if: | ( success() @@ -245,7 +241,6 @@ jobs: needs: [cicd-unit-tests-vllm, pre-flight] runs-on: ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2 name: ${{ matrix.is_optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }} - environment: nemo-ci if: | ( success() @@ -278,7 +273,6 @@ jobs: needs: [pre-flight, cicd-unit-tests-trtllm, cicd-unit-tests-vllm] runs-on: ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2 name: ${{ matrix.is_optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }} - environment: nemo-ci if: | ( success() @@ -359,7 +353,6 @@ jobs: ) && needs.pre-flight.outputs.is_ci_workload == 'false' && !cancelled() - environment: nemo-ci steps: - name: Generate fake coverage report uses: actions/github-script@v6 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aece1b946..63c5852f4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,8 +56,8 @@ jobs: no-build-isolation: true runner: nemo-ci-aws-gpu-x2-container secrets: - TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/r')) && secrets.SVC_PYPI_TOKEN || secrets.SVC_PYPI_TEST_TOKEN }} SLACK_WEBHOOK_ADMIN: ${{ secrets.SLACK_WEBHOOK_ADMIN }} SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ENDPOINT }} PAT: ${{ secrets.PAT }}