From e98e8daf440d941028bd050bffb224998e18a2c2 Mon Sep 17 00:00:00 2001 From: Justin Date: Thu, 29 Oct 2026 14:51:03 -0400 Subject: [PATCH 1/3] ci: run workflows on Blacksmith runners --- .github/workflows/cd.yml | 12 ++++++------ .github/workflows/ci.yml | 8 ++++---- .github/workflows/vhs.yml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e2f22efa7..701e5fda4 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -28,7 +28,7 @@ jobs: test-publish: if: github.ref == 'refs/heads/staging' - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 environment: test-release permissions: contents: read @@ -58,7 +58,7 @@ jobs: release-please: if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 outputs: release_created: ${{ steps.release.outputs.release_created }} tag_name: ${{ steps.release.outputs.tag_name }} @@ -74,7 +74,7 @@ jobs: name: PyPI Publish needs: release-please if: ${{ always() && (needs.release-please.outputs.release_created || (github.event_name == 'workflow_dispatch' && inputs.force_publish == 'true')) }} - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 environment: name: pypi-production url: https://pypi.org/project/runpod/ @@ -109,7 +109,7 @@ jobs: linear-sync: name: Linear Release Sync needs: release-please - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 permissions: contents: read steps: @@ -128,7 +128,7 @@ jobs: name: Linear Release Complete if: ${{ needs.release-please.outputs.release_created }} needs: [release-please, linear-sync] - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 permissions: contents: read steps: @@ -148,7 +148,7 @@ jobs: # name: Notify workers # needs: [release-please, pypi-publish] # if: ${{ needs.release-please.outputs.release_created || (github.event_name == 'workflow_dispatch' && inputs.force_publish == 'true') }} - # runs-on: ubuntu-latest + # runs-on: blacksmith-2vcpu-ubuntu-2404 # strategy: # matrix: # repo: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5203d6c27..a4b726f19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: test: if: github.event_name != 'schedule' - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 strategy: matrix: python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] @@ -57,7 +57,7 @@ jobs: e2e: if: github.event_name != 'schedule' && github.repository == 'runpod/runpod-python' - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 15 steps: - uses: actions/checkout@v7 @@ -90,7 +90,7 @@ jobs: codeql: if: github.event_name == 'schedule' || github.event_name == 'pull_request' - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 permissions: actions: read contents: read @@ -117,7 +117,7 @@ jobs: # ────────────────────────────────────────────── validation: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 needs: [test, e2e, codeql] if: always() steps: diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index 9aee70027..e18e61955 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -8,7 +8,7 @@ on: jobs: vhs: - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 steps: - uses: actions/checkout@v7 From 8421a766929752855cfb47c306328ef762c1e9a0 Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 30 Oct 2026 11:22:22 -0400 Subject: [PATCH 2/3] ci: run publish jobs on the static-IP GitHub-hosted runner --- .github/workflows/cd.yml | 4 ++-- .github/workflows/runner-probe.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/runner-probe.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 701e5fda4..f8fc7415e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -28,7 +28,7 @@ jobs: test-publish: if: github.ref == 'refs/heads/staging' - runs-on: blacksmith-2vcpu-ubuntu-2404 + runs-on: runpod-4vCPU-ubuntu-2404 # GitHub-hosted (trusted publishing needs that) with allow-listed static IPs environment: test-release permissions: contents: read @@ -74,7 +74,7 @@ jobs: name: PyPI Publish needs: release-please if: ${{ always() && (needs.release-please.outputs.release_created || (github.event_name == 'workflow_dispatch' && inputs.force_publish == 'true')) }} - runs-on: blacksmith-2vcpu-ubuntu-2404 + runs-on: runpod-4vCPU-ubuntu-2404 # GitHub-hosted (trusted publishing needs that) with allow-listed static IPs environment: name: pypi-production url: https://pypi.org/project/runpod/ diff --git a/.github/workflows/runner-probe.yml b/.github/workflows/runner-probe.yml new file mode 100644 index 000000000..e0cc95d48 --- /dev/null +++ b/.github/workflows/runner-probe.yml @@ -0,0 +1,8 @@ +name: runner-probe +on: pull_request +jobs: + probe: + runs-on: runpod-4vCPU-ubuntu-2404 + timeout-minutes: 5 + steps: + - run: echo "static-IP runner reachable from ${{ github.repository }}" From 36a3ae21d419fe98d819b23ac348913c25339b05 Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 30 Oct 2026 11:23:21 -0400 Subject: [PATCH 3/3] ci: remove the runner probe --- .github/workflows/runner-probe.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .github/workflows/runner-probe.yml diff --git a/.github/workflows/runner-probe.yml b/.github/workflows/runner-probe.yml deleted file mode 100644 index e0cc95d48..000000000 --- a/.github/workflows/runner-probe.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: runner-probe -on: pull_request -jobs: - probe: - runs-on: runpod-4vCPU-ubuntu-2404 - timeout-minutes: 5 - steps: - - run: echo "static-IP runner reachable from ${{ github.repository }}"