From 889c67f359e8f23a59c745847b4d0ad5a8969a3b Mon Sep 17 00:00:00 2001 From: loverustfs Date: Fri, 19 Dec 2025 09:42:21 +0800 Subject: [PATCH] Modify to ubicloud --- .github/workflows/audit.yml | 4 ++-- .github/workflows/build.yml | 20 ++++++++++---------- .github/workflows/ci.yml | 8 ++++---- .github/workflows/docker.yml | 6 +++--- .github/workflows/e2e-mint.yml | 4 ++-- .github/workflows/e2e-s3tests.yml | 4 ++-- .github/workflows/helm-package.yml | 4 ++-- .github/workflows/issue-translator.yml | 2 +- .github/workflows/performance.yml | 4 ++-- 9 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 23635a1c..661ef05a 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -40,7 +40,7 @@ env: jobs: security-audit: name: Security Audit - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 15 steps: - name: Checkout repository @@ -65,7 +65,7 @@ jobs: dependency-review: name: Dependency Review - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 if: github.event_name == 'pull_request' permissions: contents: read diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5690d541..c692dffb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,7 @@ jobs: # Build strategy check - determine build type based on trigger build-check: name: Build Strategy Check - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 outputs: should_build: ${{ steps.check.outputs.should_build }} build_type: ${{ steps.check.outputs.build_type }} @@ -167,19 +167,19 @@ jobs: matrix: include: # Linux builds - - os: ubuntu-latest + - os: ubicloud-standard-4 target: x86_64-unknown-linux-musl cross: false platform: linux - - os: ubuntu-latest + - os: ubicloud-standard-4 target: aarch64-unknown-linux-musl cross: true platform: linux - - os: ubuntu-latest + - os: ubicloud-standard-4 target: x86_64-unknown-linux-gnu cross: false platform: linux - - os: ubuntu-latest + - os: ubicloud-standard-4 target: aarch64-unknown-linux-gnu cross: true platform: linux @@ -532,7 +532,7 @@ jobs: name: Build Summary needs: [ build-check, build-rustfs ] if: always() && needs.build-check.outputs.should_build == 'true' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 steps: - name: Build completion summary shell: bash @@ -584,7 +584,7 @@ jobs: name: Create GitHub Release needs: [ build-check, build-rustfs ] if: startsWith(github.ref, 'refs/tags/') && needs.build-check.outputs.build_type != 'development' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 permissions: contents: write outputs: @@ -670,7 +670,7 @@ jobs: name: Upload Release Assets needs: [ build-check, build-rustfs, create-release ] if: startsWith(github.ref, 'refs/tags/') && needs.build-check.outputs.build_type != 'development' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 permissions: contents: write actions: read @@ -751,7 +751,7 @@ jobs: name: Update Latest Version needs: [ build-check, upload-release-assets ] if: startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 steps: - name: Update latest.json env: @@ -801,7 +801,7 @@ jobs: name: Publish Release needs: [ build-check, create-release, upload-release-assets ] if: startsWith(github.ref, 'refs/tags/') && needs.build-check.outputs.build_type != 'development' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 permissions: contents: write steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2aa60f5c..9d36100c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: permissions: actions: write contents: read - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -93,7 +93,7 @@ jobs: typos: name: Typos - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -104,7 +104,7 @@ jobs: name: Test and Lint needs: skip-check if: needs.skip-check.outputs.should_skip != 'true' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 60 steps: - name: Checkout repository @@ -136,7 +136,7 @@ jobs: name: End-to-End Tests needs: skip-check if: needs.skip-check.outputs.should_skip != 'true' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 30 steps: - name: Checkout repository diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 263c946d..37d41b50 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -72,7 +72,7 @@ jobs: # Check if we should build Docker images build-check: name: Docker Build Check - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 outputs: should_build: ${{ steps.check.outputs.should_build }} should_push: ${{ steps.check.outputs.should_push }} @@ -264,7 +264,7 @@ jobs: name: Build Docker Images needs: build-check if: needs.build-check.outputs.should_build == 'true' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 60 steps: - name: Checkout repository @@ -404,7 +404,7 @@ jobs: name: Docker Build Summary needs: [ build-check, build-docker ] if: always() && needs.build-check.outputs.should_build == 'true' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 steps: - name: Docker build completion summary run: | diff --git a/.github/workflows/e2e-mint.yml b/.github/workflows/e2e-mint.yml index 7be4086a..0baf7f49 100644 --- a/.github/workflows/e2e-mint.yml +++ b/.github/workflows/e2e-mint.yml @@ -23,7 +23,7 @@ env: jobs: mint-single: - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 40 steps: - name: Checkout @@ -100,7 +100,7 @@ jobs: mint-multi: if: github.event_name == 'workflow_dispatch' && github.event.inputs.run-multi == 'true' needs: mint-single - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 60 steps: - name: Checkout diff --git a/.github/workflows/e2e-s3tests.yml b/.github/workflows/e2e-s3tests.yml index bea59750..dcf99bf8 100644 --- a/.github/workflows/e2e-s3tests.yml +++ b/.github/workflows/e2e-s3tests.yml @@ -44,7 +44,7 @@ defaults: jobs: s3tests-single: if: github.event.inputs.test-mode == 'single' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 120 steps: - uses: actions/checkout@v4 @@ -198,7 +198,7 @@ jobs: s3tests-multi: if: github.event_name == 'workflow_dispatch' && github.event.inputs.test-mode == 'multi' - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 150 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/helm-package.yml b/.github/workflows/helm-package.yml index 5a231c88..ca9aec56 100644 --- a/.github/workflows/helm-package.yml +++ b/.github/workflows/helm-package.yml @@ -27,7 +27,7 @@ env: jobs: build-helm-package: - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 # Only run on successful builds triggered by tag pushes (version format: x.y.z or x.y.z-suffix) if: | github.event.workflow_run.conclusion == 'success' && @@ -63,7 +63,7 @@ jobs: retention-days: 1 publish-helm-package: - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 needs: [ build-helm-package ] steps: diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml index 0cb805d4..b3c9d206 100644 --- a/.github/workflows/issue-translator.yml +++ b/.github/workflows/issue-translator.yml @@ -25,7 +25,7 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 steps: - uses: usthe/issues-translate-action@v2.7 with: diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 5ea7c4e2..c2b2ea6f 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -40,7 +40,7 @@ env: jobs: performance-profile: name: Performance Profiling - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 30 steps: - name: Checkout repository @@ -115,7 +115,7 @@ jobs: benchmark: name: Benchmark Tests - runs-on: ubuntu-latest + runs-on: ubicloud-standard-4 timeout-minutes: 45 steps: - name: Checkout repository