From 6dd049dad226471861dc4da9aad6b13ccee598f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?oliver=20k=C3=B6nig?= Date: Wed, 18 Feb 2026 00:56:13 +0000 Subject: [PATCH] ci: Remove environments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: oliver könig --- .github/workflows/_update_dependencies.yml | 2 -- .github/workflows/build-test-publish-wheel.yml | 4 ++-- .github/workflows/cicd-approve-test-queue.yml | 5 ++--- .github/workflows/cicd-main.yml | 7 ------- .github/workflows/release.yaml | 4 ++-- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/_update_dependencies.yml b/.github/workflows/_update_dependencies.yml index 81f551af5e..d0eaa37f12 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 ff7b4b9d90..60b380cb53 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 c5e0e71b39..b563169ea9 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 e44755bb31..0807785282 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 aece1b946b..63c5852f43 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 }}