Skip to content

Commit

Permalink
Add IronBank validation to cron schedule (#39255) (#39266)
Browse files Browse the repository at this point in the history
This commit is a follow up to #39254 and adds
a schedule for the IronBank validation pipeline
to the centralized scheduling pipeline.

Relates: elastic/ingest-dev#3235

Cherry-picked from a4b21dc (backport of #39255)
  • Loading branch information
dliappis authored Apr 29, 2024
1 parent e316334 commit 34632da
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .buildkite/pipeline-scheduler.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 34632da

Please sign in to comment.