Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

ci: build release images and packages on 4-vCPU runners (#1042)

Krisztian Gajdar9f9ebb65b467
diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml
index 601a68df5..4f2e9b553 100644
--- a/.github/workflows/release-docker.yml
+++ b/.github/workflows/release-docker.yml
@@ -46,7 +46,10 @@ jobs:
build-server:
needs: matrix
- runs-on: blacksmith-16vcpu-ubuntu-2404
+ # Layer export, image save and artifact upload take most of this job and
+ # do not use more cores. Disk sets the size: a CUDA image, its build cache
+ # and its archive need more than the 80 GB of a 4-vCPU runner.
+ runs-on: ${{ matrix.platform == 'cpu' && 'blacksmith-4vcpu-ubuntu-2404' || 'blacksmith-8vcpu-ubuntu-2404' }}
timeout-minutes: 120
permissions:
contents: read
@@ -90,6 +93,9 @@ jobs:
if-no-files-found: error
retention-days: ${{ github.event_name == 'release' && 30 || 5 }}
compression-level: 0
+ - name: Report disk use
+ if: always()
+ run: df -h /
- id: restore-evidence
name: Reuse original image verification evidence on retry
if: github.run_attempt > 1
diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml
index f2f5dbabb..1141343b1 100644
--- a/.github/workflows/release-npm.yml
+++ b/.github/workflows/release-npm.yml
@@ -21,7 +21,7 @@ permissions:
jobs:
build:
- runs-on: blacksmith-16vcpu-ubuntu-2404
+ runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 60
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml
index e3854d80e..d0a1770a3 100644
--- a/.github/workflows/release-python.yml
+++ b/.github/workflows/release-python.yml
@@ -21,7 +21,7 @@ permissions:
jobs:
build:
- runs-on: blacksmith-16vcpu-ubuntu-2404
+ runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 60
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5