Skip to content

Commit 41c5eca

Browse files
authored
remove fly-buildkite-plugin, use e2e agents for linux tests (#10635)
* remove fly-buildkite-plugin, use e2e agents for linux tests * revert aws creds to BUILD_USER names to avoid partial credentials error
1 parent d57241b commit 41c5eca

1 file changed

Lines changed: 7 additions & 28 deletions

File tree

.buildkite/runtime-tests.yml

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,13 @@ steps:
77
- "be_cmd node_deps -- npx yarn install"
88
- "be_cmd run_tests -- ts-node ./packages/e2e-tests/scripts/buildkite_run_tests_from_reason-linux-x86_64.ts"
99
agents:
10-
- "deploy=true"
10+
- "e2e=true"
1111
plugins:
1212
- seek-oss/aws-sm#v2.3.1:
1313
region: us-east-2
1414
env:
1515
AUTOMATED_TEST_SECRET: "graphql-automated-test-secret"
1616
RECORD_REPLAY_API_KEY: "runtime-record-replay-api-key"
17-
FLY_API_TOKEN: "prod/fly-api-token"
18-
BUILDKITE_AGENT_TOKEN: "prod/buildkite-agent-token"
19-
SSH_PRIVATE_RSA_KEY_B64: "prod/buildkite-ssh-private-key"
20-
TAILSCALE_AUTHKEY: "dev/fly-e2e-test-runner-tailscale-auth-key"
2117
HASURA_ADMIN_SECRET: "prod/hasura-admin-secret"
2218
BUILD_USER_ACCESS_KEY_ID:
2319
secret-id: "prod/build-user"
@@ -29,29 +25,12 @@ steps:
2925
BUILDEVENT_APIKEY: honeycomb-api-key
3026
BUILDEVENT_BUILDKITE_API_TOKEN: buildkite-api-token-honeycomb-build-events
3127
- replayio/buildevents#0c2adb2: ~
32-
- "ssh://git@github.com/replayio/fly-buildkite-plugin.git#v0.77":
33-
# This image's source code is here https://github.com/replayio/backend-e2e-base-image
34-
image: "registry.fly.io/buildkite-backend-e2e-tests:v15"
35-
organization: "replay"
36-
cpus: 4
37-
memory: 4096
38-
storage: 20
39-
secrets:
40-
BUILDKITE_AGENT_TOKEN: BUILDKITE_AGENT_TOKEN
41-
SSH_PRIVATE_RSA_KEY_B64: SSH_PRIVATE_RSA_KEY_B64
42-
FLY_API_TOKEN: FLY_API_TOKEN
43-
TAILSCALE_AUTHKEY: TAILSCALE_AUTHKEY
44-
HASURA_ADMIN_SECRET: HASURA_ADMIN_SECRET
45-
AWS_SECRET_ACCESS_KEY: BUILD_USER_SECRET_ACCESS_KEY
46-
AWS_ACCESS_KEY_ID: BUILD_USER_ACCESS_KEY_ID
47-
AUTOMATED_TEST_SECRET: AUTOMATED_TEST_SECRET
48-
RECORD_REPLAY_API_KEY: RECORD_REPLAY_API_KEY
49-
RUNTIME_TEAM_API_KEY: RUNTIME_TEAM_API_KEY
50-
env:
51-
DISPLAY: ":1"
52-
PLAYWRIGHT_HEADLESS: "true"
53-
PLAYWRIGHT_CHROMIUM: "true"
54-
RECORD_REPLAY_DIRECTORY: "/mnt/data/replay"
28+
env:
29+
DISPLAY: ":99"
30+
PLAYWRIGHT_HEADLESS: "true"
31+
PLAYWRIGHT_CHROMIUM: "true"
32+
RECORD_REPLAY_DIRECTORY: "/mnt/data/replay"
33+
AWS_DEFAULT_REGION: "us-east-2"
5534

5635
- label: "Runtime e2e tests (macos-arm64)"
5736
if: build.env("OS") == "macos" && build.env("ARCH") == "arm64"

0 commit comments

Comments
 (0)