From 08c51501035a2aaae1d52500db1f40f671d40815 Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Mon, 20 Nov 2023 15:25:55 +0100 Subject: [PATCH] Migrate check-ci step to buildkite (#3759) * 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 --- .buildkite/pipeline.yml | 9 +++++++++ .buildkite/scripts/steps/check-ci.sh | 12 ++++++++++++ 2 files changed, 21 insertions(+) create mode 100755 .buildkite/scripts/steps/check-ci.sh diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 6c47d08bf92..f251bcaf81c 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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: diff --git a/.buildkite/scripts/steps/check-ci.sh b/.buildkite/scripts/steps/check-ci.sh new file mode 100755 index 00000000000..46923d1b7ef --- /dev/null +++ b/.buildkite/scripts/steps/check-ci.sh @@ -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 \ No newline at end of file