Skip to content

Commit

Permalink
Migrate check-ci step to buildkite (#3759)
Browse files Browse the repository at this point in the history
* Migrate check-ci step to buildkite

* Remove check-ci stage form jenkinsfile

* Migrate check-ci step to buildkite

* Migrate check-ci step to buildkite

* chmod check-ci.sh

* Removed package step
  • Loading branch information
pazone authored Nov 20, 2023
1 parent bdbba7b commit 08c5150
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ env:
VAULT_PATH: "kv/ci-shared/observability-ingest/cloud/gcp"
DOCKER_REGISTRY: "docker.elastic.co"
steps:
- label: "check-ci"
key: "check-ci"
command: ".buildkite/scripts/steps/check-ci.sh"
agents:
provider: "gcp"
image: "family/core-ubuntu-2204"
retry:
manual:
allowed: true
- group: "Unit tests"
key: "unit-tests"
steps:
Expand Down
12 changes: 12 additions & 0 deletions .buildkite/scripts/steps/check-ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -euo pipefail

source .buildkite/scripts/common.sh

echo "--- Check CI"
go version
mage --version
BEAT_VERSION=$(make get-version)
echo "Beat version: $BEAT_VERSION"
make check-ci

0 comments on commit 08c5150

Please sign in to comment.