diff --git a/.github/workflows/docker-runner-check.yml b/.github/workflows/docker-runner-check.yml index 39d148a7925..c8c2223b4fd 100644 --- a/.github/workflows/docker-runner-check.yml +++ b/.github/workflows/docker-runner-check.yml @@ -8,19 +8,19 @@ on: type: string required: false publish_eval_image: - description: "Publish an immutable Daytona qualification image on the EC2 fleet (no provider credentials)" + description: "Publish an immutable Daytona qualification image on hosted Linux (no provider credentials)" type: boolean default: false verify_source: - description: "Run broad source checks on EC2" + description: "Run broad source checks on hosted Linux" type: boolean default: false verify_public_install: - description: "Build and verify clean public npm installation on EC2 (no provider credentials)" + description: "Build and verify clean public npm installation on hosted Linux (no provider credentials)" type: boolean default: false build_eval_viewer: - description: "Build the canonical eval report viewer on EC2" + description: "Build the canonical eval report viewer on hosted Linux" type: boolean default: false pull_request: @@ -98,9 +98,10 @@ jobs: echo "target_sha=$target_sha" >> "$GITHUB_OUTPUT" manual_image: - name: Build and verify on EC2 + name: Build and verify on Linux needs: authorize_manual - runs-on: runs-on/fleet=paperclip-public-pr-x64/env=public-ci + # Keep maintainer authorization below; use a native hosted Linux builder. + runs-on: ubuntu-latest timeout-minutes: 90 permissions: contents: read @@ -169,9 +170,9 @@ jobs: docker buildx imagetools inspect "$immutable" >/dev/null echo "$immutable" > remote-verification/image.txt echo "Image: $immutable" >> "$GITHUB_STEP_SUMMARY" - - name: Verify repository on EC2 + - name: Verify repository on hosted Linux if: inputs.verify_source - # Leave time for artifact retention before the fleet's one-hour lifetime. + # Leave time for artifact retention within the job deadline. timeout-minutes: 38 run: | set -uo pipefail diff --git a/doc/grok-native-runner.md b/doc/grok-native-runner.md index 1cdac172eb7..dfd2096ea29 100644 --- a/doc/grok-native-runner.md +++ b/doc/grok-native-runner.md @@ -110,7 +110,7 @@ single successful browser task do not establish that qualification. ## Remote verification Do not run Docker on a developer laptop when using remote verification. The -`Docker Runner check` workflow offers maintainer-authorized manual EC2 image +`Docker Runner check` workflow offers maintainer-authorized manual Linux image builds and broad source checks without provider credentials. It records the source revision, resolved lock digest and immutable image reference. Paid Product E2E remains behind the protected default-branch workflow and environment. diff --git a/tests/runner-e2e/workflow-security.test.ts b/tests/runner-e2e/workflow-security.test.ts index c1173c16be5..9588de3bf6d 100644 --- a/tests/runner-e2e/workflow-security.test.ts +++ b/tests/runner-e2e/workflow-security.test.ts @@ -15,12 +15,12 @@ const everydayOracleImage = "python@sha256:9d2e5553305c7c7b0097999bb17187c69b921ccd6bc9d40e4bb5ebe652c00285"; describe("public repository paid workflow security", () => { - it("keeps the manual EC2 image build credential-free and pins the authorized target", async () => { + it("keeps the manual hosted Linux image build credential-free and pins the authorized target", async () => { const workflow = await readFile(path.join(repositoryRoot, ".github/workflows/docker-runner-check.yml"), "utf8"); const manual = workflow.slice(workflow.indexOf(" authorize_manual:")); expect(manual.match(/AWS_CI_TRUSTED_USER_IDS/gu)).toHaveLength(2); expect(manual.match(/test "\$REPOSITORY_ID" = 1170821064/gu)).toHaveLength(2); - expect(manual).toContain('runs-on: runs-on/fleet=paperclip-public-pr-x64/env=public-ci'); + expect(manual.slice(manual.indexOf(' manual_image:'))).toContain('runs-on: ubuntu-latest'); expect(manual).toContain('repos/$REPOSITORY/git/ref/heads/$TARGET_BRANCH'); expect(manual).toContain('ref: ${{ needs.authorize_manual.outputs.target_sha }}'); expect(manual).toContain('SOURCE_SHA: ${{ needs.authorize_manual.outputs.target_sha }}');