From 66de4e5ee95c2a32402227c09e4fd612891758f2 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Tue, 20 Feb 2024 10:17:11 -0800 Subject: [PATCH] Change GitHub runners to use Ubicloud --- .github/workflows/bun-deploy-site.yml | 2 +- .github/workflows/bun-linux-aarch64.yml | 2 +- .github/workflows/bun-linux-build.yml | 10 +++++----- .github/workflows/bun-mac-aarch64.yml | 2 +- .github/workflows/bun-mac-x64-baseline.yml | 2 +- .github/workflows/bun-mac-x64.yml | 2 +- .github/workflows/bun-release.yml | 12 ++++++------ .github/workflows/bun-types-tests.yml | 2 +- .github/workflows/bun-windows.yml | 4 ++-- .github/workflows/format.yml | 2 +- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/bun-deploy-site.yml b/.github/workflows/bun-deploy-site.yml index 9783668fbf..c6b3238517 100644 --- a/.github/workflows/bun-deploy-site.yml +++ b/.github/workflows/bun-deploy-site.yml @@ -11,7 +11,7 @@ on: jobs: deploy: name: Deploy site - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 if: github.repository_owner == 'oven-sh' steps: - name: Trigger Vercel build diff --git a/.github/workflows/bun-linux-aarch64.yml b/.github/workflows/bun-linux-aarch64.yml index 292f58e02c..f90337bc73 100644 --- a/.github/workflows/bun-linux-aarch64.yml +++ b/.github/workflows/bun-linux-aarch64.yml @@ -48,7 +48,7 @@ jobs: tag: linux-aarch64 arch: aarch64 build_arch: arm64 - runner: linux-arm64 + runner: ubicloud-standard-16-arm build_machine_arch: aarch64 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/bun-linux-build.yml b/.github/workflows/bun-linux-build.yml index bee8cee6ac..8a79f53edf 100644 --- a/.github/workflows/bun-linux-build.yml +++ b/.github/workflows/bun-linux-build.yml @@ -47,7 +47,7 @@ jobs: tag: linux-x64 arch: x86_64 build_arch: amd64 - runner: big-ubuntu + runner: ubicloud-standard-16 build_machine_arch: x86_64 assertions: "OFF" zig_optimize: "ReleaseFast" @@ -56,7 +56,7 @@ jobs: tag: linux-x64-baseline arch: x86_64 build_arch: amd64 - runner: big-ubuntu + runner: ubicloud-standard-16 build_machine_arch: x86_64 assertions: "OFF" zig_optimize: "ReleaseFast" @@ -65,7 +65,7 @@ jobs: # tag: linux-x64-assertions # arch: x86_64 # build_arch: amd64 - # runner: big-ubuntu + # runner: ubicloud-standard-16 # build_machine_arch: x86_64 # assertions: "ON" # zig_optimize: "ReleaseSafe" @@ -74,7 +74,7 @@ jobs: # tag: linux-x64-baseline-assertions # arch: x86_64 # build_arch: amd64 - # runner: big-ubuntu + # runner: ubicloud-standard-16 # build_machine_arch: x86_64 # assertions: "ON" # zig_optimize: "ReleaseSafe" @@ -208,7 +208,7 @@ jobs: [Commit ${{github.sha}}](https://github.com/oven-sh/bun/commits/${{github.sha}}) linux-test: name: Tests ${{matrix.tag}} - runs-on: ubuntu-latest + runs-on: ubicloud-standard-16 needs: [linux] if: github.event_name == 'pull_request' timeout-minutes: 20 diff --git a/.github/workflows/bun-mac-aarch64.yml b/.github/workflows/bun-mac-aarch64.yml index 8f312e4f49..20a54ad8e9 100644 --- a/.github/workflows/bun-mac-aarch64.yml +++ b/.github/workflows/bun-mac-aarch64.yml @@ -37,7 +37,7 @@ on: jobs: macOS-zig: name: macOS Zig Object - runs-on: med-ubuntu + runs-on: ubicloud-standard-16 if: github.repository_owner == 'oven-sh' strategy: matrix: diff --git a/.github/workflows/bun-mac-x64-baseline.yml b/.github/workflows/bun-mac-x64-baseline.yml index 3e1493f2b9..79cc576e70 100644 --- a/.github/workflows/bun-mac-x64-baseline.yml +++ b/.github/workflows/bun-mac-x64-baseline.yml @@ -37,7 +37,7 @@ on: jobs: macos-object-files: name: macOS Object - runs-on: med-ubuntu + runs-on: ubicloud-standard-16 if: github.repository_owner == 'oven-sh' strategy: matrix: diff --git a/.github/workflows/bun-mac-x64.yml b/.github/workflows/bun-mac-x64.yml index affdc7228c..fbd0ecc6f6 100644 --- a/.github/workflows/bun-mac-x64.yml +++ b/.github/workflows/bun-mac-x64.yml @@ -37,7 +37,7 @@ on: jobs: macOS-zig: name: macOS Zig Object - runs-on: med-ubuntu + runs-on: ubicloud-standard-16 if: github.repository_owner == 'oven-sh' strategy: matrix: diff --git a/.github/workflows/bun-release.yml b/.github/workflows/bun-release.yml index f56a14b65b..5050bc5552 100644 --- a/.github/workflows/bun-release.yml +++ b/.github/workflows/bun-release.yml @@ -42,7 +42,7 @@ on: jobs: sign: name: Sign Release - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 if: ${{ github.repository_owner == 'oven-sh' }} permissions: contents: write @@ -71,7 +71,7 @@ jobs: GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} npm: name: Release to NPM - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 needs: sign if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-npm == 'true' }} permissions: @@ -95,7 +95,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} npm-types: name: Release types to NPM - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 needs: sign if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-types == 'true' }} permissions: @@ -148,7 +148,7 @@ jobs: token: ${{ secrets.NPM_TOKEN }} docker: name: Release to Dockerhub - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 needs: sign if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-docker == 'true' }} permissions: @@ -209,7 +209,7 @@ jobs: BUN_VERSION=${{ env.BUN_VERSION }} homebrew: name: Release to Homebrew - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 needs: sign permissions: contents: read @@ -242,7 +242,7 @@ jobs: commit_author: robobun s3: name: Upload to S3 - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 needs: sign if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.use-s3 == 'true' }} permissions: diff --git a/.github/workflows/bun-types-tests.yml b/.github/workflows/bun-types-tests.yml index bf3f591aa6..c12f627025 100644 --- a/.github/workflows/bun-types-tests.yml +++ b/.github/workflows/bun-types-tests.yml @@ -11,7 +11,7 @@ on: jobs: tests: name: type-tests - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 defaults: run: working-directory: packages/bun-types diff --git a/.github/workflows/bun-windows.yml b/.github/workflows/bun-windows.yml index e74f2843c8..3ae40ccc66 100644 --- a/.github/workflows/bun-windows.yml +++ b/.github/workflows/bun-windows.yml @@ -53,7 +53,7 @@ jobs: cpu: [haswell, nehalem] arch: [x86_64] name: Zig Build - runs-on: med-ubuntu + runs-on: ubicloud-standard-16 timeout-minutes: 60 if: github.repository_owner == 'oven-sh' steps: @@ -185,7 +185,7 @@ jobs: # yet released as it is the one *this* commit. windows-codegen: name: Codegen - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 timeout-minutes: 10 if: github.repository_owner == 'oven-sh' strategy: diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 964534c9f0..ba8b2f88ba 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -16,7 +16,7 @@ permissions: jobs: format: name: format - runs-on: ubuntu-latest + runs-on: ubicloud-standard-2 steps: - name: Checkout uses: actions/checkout@v4