From a4b21dcd8435b80a97063e0e69a6d98aaba17d1a Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Mon, 29 Apr 2024 14:29:41 +0300 Subject: [PATCH] Add IronBank validation to cron schedule (#39255) This commit is a follow up to #39254 and adds a schedule for the IronBank validation pipeline to the centralized scheduling pipeline. Relates: https://github.com/elastic/ingest-dev/issues/3235 --- .buildkite/pipeline-scheduler.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.buildkite/pipeline-scheduler.yml b/.buildkite/pipeline-scheduler.yml index e69de29bb2d..3f9b628bc63 100644 --- a/.buildkite/pipeline-scheduler.yml +++ b/.buildkite/pipeline-scheduler.yml @@ -0,0 +1,17 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json + +# this intermediate pipeline is required because we can't specify a custom agent (k8s image) yet +# in catalog-info: https://github.com/elastic/ci/blob/71e83d340e3b93ab43fcf16a7a70ac33bdeec6e9/terrazzo/terrazzo/constructs/buildkite/pipelines.py#L787-L842 + +steps: + - label: ":pipeline: Generate trigger steps for $PIPELINES_TO_TRIGGER" + command: | + set -eo pipefail + .buildkite/pipeline-scheduler.py >steps.yml + echo "~~~ Printing pipeline steps" + yq . steps.yml + echo "~~~ Uploading steps" + buildkite-agent pipeline upload steps.yml + agents: + image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:0.1" + useCustomGlobalHooks: true