Skip to content

Commit f09915e

Browse files
committed
Add e2e pipeline
1 parent 31d7273 commit f09915e

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.buildkite/pipeline.e2e.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
agents:
2+
queue: agent-runners-linux-amd64
3+
4+
env:
5+
CI_E2E_TESTS_TARGET_ORG: agent-e2e-testing
6+
CI_E2E_TESTS_TARGET_CLUSTER: e1773a06-b43c-4b77-84e5-5e088a737f6a
7+
8+
steps:
9+
- label: ":go::sleuth-or-spy: Run agent end-to-end tests"
10+
command: |
11+
buildkite-agent artifact download buildkite-agent
12+
export CI_E2E_TESTS_AGENT_PATH="${PWD}/buildkite-agent"
13+
go test -tags e2e ./...
14+
secrets:
15+
- CI_E2E_TESTS_API_TOKEN
16+
- CI_E2E_TESTS_AGENT_TOKEN

internal/job/integration/executor_tester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (e *ExecutorTester) MustMock(t *testing.T, name string) *bintest.Mock {
184184
t.Helper()
185185
mock, err := e.Mock(name)
186186
if err != nil {
187-
t.Fatalf("BootstrapTester.Mock(%q) error = %v", name, err)
187+
t.Fatalf("ExecutorTester.Mock(%q) error = %v", name, err)
188188
}
189189
return mock
190190
}

0 commit comments

Comments
 (0)