diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index ab6f0961d..aba53426d 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -40,7 +40,7 @@ env: jobs: security-audit: name: Security Audit - runs-on: rustfs + runs-on: ubuntu-latest timeout-minutes: 15 steps: - name: Checkout repository @@ -65,7 +65,7 @@ jobs: dependency-review: name: Dependency Review - runs-on: rustfs + runs-on: ubuntu-latest if: github.event_name == 'pull_request' permissions: contents: read diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a25035ef..949da205e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,7 +73,7 @@ jobs: # Build strategy check - determine build type based on trigger build-check: name: Build Strategy Check - runs-on: rustfs + runs-on: ubuntu-latest outputs: should_build: ${{ steps.check.outputs.should_build }} build_type: ${{ steps.check.outputs.build_type }} @@ -146,7 +146,7 @@ jobs: # Build RustFS binaries prepare-platform-matrix: name: Prepare Platform Matrix - runs-on: rustfs + runs-on: ubuntu-latest outputs: matrix: ${{ steps.select.outputs.matrix }} selected: ${{ steps.select.outputs.selected }} @@ -549,7 +549,7 @@ jobs: name: Build Summary needs: [ build-check, build-rustfs ] if: always() && needs.build-check.outputs.should_build == 'true' - runs-on: rustfs + runs-on: ubuntu-latest steps: - name: Build completion summary shell: bash @@ -601,7 +601,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: rustfs + runs-on: ubuntu-latest permissions: contents: write outputs: @@ -687,7 +687,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: rustfs + runs-on: ubuntu-latest permissions: contents: write actions: read @@ -768,7 +768,7 @@ jobs: name: Update Latest Version needs: [ build-check, upload-release-assets ] if: startsWith(github.ref, 'refs/tags/') - runs-on: rustfs + runs-on: ubuntu-latest steps: - name: Update latest.json env: @@ -793,9 +793,10 @@ jobs: curl -o "$OSSUTIL_ZIP" "https://gosspublic.alicdn.com/ossutil/v2/${OSSUTIL_VERSION}/${OSSUTIL_ZIP}" unzip "$OSSUTIL_ZIP" - mv "${OSSUTIL_DIR}/ossutil" /usr/local/bin/ + OSSUTIL_BIN="${RUNNER_TEMP}/ossutil" + mv "${OSSUTIL_DIR}/ossutil" "$OSSUTIL_BIN" rm -rf "$OSSUTIL_DIR" "$OSSUTIL_ZIP" - chmod +x /usr/local/bin/ossutil + chmod +x "$OSSUTIL_BIN" # Create latest.json cat > latest.json << EOF @@ -809,7 +810,7 @@ jobs: EOF # Upload to OSS - ossutil cp latest.json oss://rustfs-version/latest.json --force + "$OSSUTIL_BIN" cp latest.json oss://rustfs-version/latest.json --force echo "✅ Updated latest.json for stable release $VERSION" @@ -818,7 +819,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: rustfs + runs-on: ubuntu-latest permissions: contents: write steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e44cb7b6f..c76b9a312 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: permissions: actions: write contents: read - runs-on: rustfs + runs-on: ubuntu-latest outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -95,7 +95,7 @@ jobs: name: Typos needs: skip-check if: needs.skip-check.outputs.should_skip != 'true' - runs-on: rustfs + runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index eb61747c6..83af4464a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -73,7 +73,7 @@ jobs: # Check if we should build Docker images build-check: name: Docker Build Check - runs-on: rustfs + runs-on: ubuntu-latest outputs: should_build: ${{ steps.check.outputs.should_build }} should_push: ${{ steps.check.outputs.should_push }} @@ -421,7 +421,7 @@ jobs: name: Docker Build Summary needs: [ build-check, build-docker ] if: always() && needs.build-check.outputs.should_build == 'true' - runs-on: rustfs + runs-on: ubuntu-latest steps: - name: Docker build completion summary run: | diff --git a/.github/workflows/helm-package.yml b/.github/workflows/helm-package.yml index 07d00ec85..64889c6fd 100644 --- a/.github/workflows/helm-package.yml +++ b/.github/workflows/helm-package.yml @@ -31,7 +31,7 @@ permissions: jobs: build-helm-package: - runs-on: rustfs + runs-on: ubuntu-latest if: | github.event_name == 'workflow_dispatch' || ( @@ -99,7 +99,7 @@ jobs: retention-days: 1 publish-helm-package: - runs-on: rustfs + runs-on: ubuntu-latest needs: [ build-helm-package ] if: needs.build-helm-package.result == 'success' diff --git a/.github/workflows/issue-translator.yml b/.github/workflows/issue-translator.yml index 562a041b2..0cb805d4c 100644 --- a/.github/workflows/issue-translator.yml +++ b/.github/workflows/issue-translator.yml @@ -25,7 +25,7 @@ permissions: jobs: build: - runs-on: rustfs + runs-on: ubuntu-latest steps: - uses: usthe/issues-translate-action@v2.7 with: