Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Add test-collector for fleet-server repository #3985

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ check_if_file_exist_in_repo() {

if [[ "$BUILDKITE_PIPELINE_SLUG" == "fleet-server" ]]; then
export GO_VERSION=$(cat .go-version)
# BK analytics
echo "--- Prepare BK test analytics token :vault:"
BUILDKITE_ANALYTICS_TOKEN=$(vault read -field token /secret/ci/elastic-fleet-server/bk_analytics)
export BUILDKITE_ANALYTICS_TOKEN
fi

if [[ "$BUILDKITE_PIPELINE_SLUG" == "fleet-server-package-mbp" ]]; then
Expand Down
20 changes: 20 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ steps:
artifact_paths:
- build/*.xml
- build/coverage*.out
plugins:
- test-collector#v1.10.2:
files: "build/test-*.xml"
format: "junit"
branches: "main"

- label: ":smartbear-testexecute: Run unit tests: MacOS 13"
key: unit-test-macos-13
Expand All @@ -97,6 +102,11 @@ steps:
artifact_paths:
- build/*.xml
- build/coverage*.out
plugins:
- test-collector#v1.10.2:
files: "build/test-*.xml"
format: "junit"
branches: "main"

- label: ":smartbear-testexecute: Run integration tests"
key: int-test
Expand All @@ -105,6 +115,11 @@ steps:
provider: "gcp"
artifact_paths:
- build/*.xml
plugins:
- test-collector#v1.10.2:
files: "build/test-*.xml"
format: "junit"
branches: "main"

- label: "E2E Test"
key: "e2e-test"
Expand All @@ -114,6 +129,11 @@ steps:
artifact_paths:
- build/*.xml
- build/e2e-coverage.out
plugins:
- test-collector#v1.10.2:
files: "build/test-*.xml"
format: "junit"
branches: "main"

- label: ":junit: Junit annotate"
plugins:
Expand Down
Loading