Skip to content

Commit

Permalink
Log link to build triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
moskyb committed Mar 11, 2024
1 parent 9ee0d5c commit c0a3da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/integration/testcase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ func (t testcase) TriggerBuild(ctx context.Context, pipelineID string) api.Build
_, ok := node.(*api.JobJobTypeCommand)
require.True(t, ok)

t.Logf("Triggered build: https://buildkite.com/buildkite-kubernetes-stack/%s/builds/%d", t.PipelineName, build.Number)

return build.Build
}

Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ deploy *FLAGS:
--wait \
{{FLAGS}}

# Invoke with CLEAN_PIPELINES=true
# Invoke with CLEANUP_PIPELINES=true
# pass in --org=<org slug of k8s pipeline> --buildkite-token=<graphql-token>
cleanup-orphans *FLAGS:
@go test -v -run TestCleanupOrphanedPipelines ./internal/integration {{FLAGS}}

0 comments on commit c0a3da7

Please sign in to comment.