Skip to content
Draft
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
43 changes: 5 additions & 38 deletions .buildkite/version-bump-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,55 +7,22 @@ notify:
channels:
- "#ingest-notifications"
message: |
🚦 Pipeline waiting for approval 🚦
🚦 Nothing to do here 🚦
Repo: `${REPO}`

Ready to fetch DRA artifacts - please unblock when ready.
New version: `${NEW_VERSION}`
Branch: `${BRANCH}`
Workflow: `${WORKFLOW}`
${BUILDKITE_BUILD_URL}
if: build.state == "blocked"

steps:
# TODO: replace this block step by real version bump logic
- block: "Ready to fetch for DRA artifacts?"
prompt: |
Unblock when your team is ready to proceed.

Trigger parameters:
- NEW_VERSION: ${NEW_VERSION}
- BRANCH: ${BRANCH}
- WORKFLOW: ${WORKFLOW}
key: block-get-dra-artifacts
blocked_state: running

- label: "Fetch DRA Artifacts"
key: fetch-dra-artifacts
depends_on: block-get-dra-artifacts
- label: "Nothing to do here"
key: nothing-to-do-here
agents:
image: docker.elastic.co/release-eng/wolfi-build-essential-release-eng:latest
cpu: 250m
memory: 512Mi
ephemeralStorage: 1Gi
ephemeralStorage: 250m
command:
- echo "Starting DRA artifacts retrieval..."
timeout_in_minutes: 240
retry:
automatic:
- exit_status: "*"
limit: 2
manual:
permit_on_passed: true

plugins:
- elastic/json-watcher#v1.0.0:
url: "https://artifacts-staging.elastic.co/elastic-stack-installers/latest/${BRANCH}.json"
field: ".version"
expected_value: "${NEW_VERSION}"
polling_interval: "30"
- elastic/json-watcher#v1.0.0:
url: "https://storage.googleapis.com/elastic-artifacts-snapshot/elastic-stack-installers/latest/${BRANCH}.json"
field: ".version"
expected_value: "${NEW_VERSION}-SNAPSHOT"
polling_interval: "30"
- echo "No DRA to version bump for elastic-stack-installer"
1 change: 1 addition & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ spec:
name: elastic-stack-installers-version-bump
spec:
pipeline_file: ".buildkite/version-bump-pipeline.yml"
skip_intermediate_builds: false
provider_settings:
trigger_mode: none
repository: elastic/elastic-stack-installers
Expand Down