mirror of
https://github.com/elastic/logstash.git
synced 2025-04-19 04:15:23 -04:00
This commit uses the new --qualifier parameter in the release manager for publishing dra artifacts. Additionally, simplifies the expected variables to rely on a simple `VERSION_QUALIFIER`. Snapshot builds are skipped when VERSION_QUALIFIER is set. Finally, for helping to test DRA PRs, we also allow passing the `DRA_BRANCH` option/env var to override BUILDKITE_BRANCH. Closes https://github.com/elastic/ingest-dev/issues/4856
15 lines
582 B
YAML
15 lines
582 B
YAML
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
|
|
|
|
steps:
|
|
- label: ":pipeline: Generate steps"
|
|
command: |
|
|
set -euo pipefail
|
|
|
|
echo "--- Building [$${WORKFLOW_TYPE}] artifacts"
|
|
python3 -m pip install pyyaml
|
|
echo "--- Building dynamic pipeline steps"
|
|
python3 .buildkite/scripts/dra/generatesteps.py > steps.yml
|
|
echo "--- Printing dynamic pipeline steps"
|
|
cat steps.yml
|
|
echo "--- Uploading dynamic pipeline steps"
|
|
cat steps.yml | buildkite-agent pipeline upload
|