mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
* Add Buildkite pipeline to push Docker image * Fix lint * Fix Read the Docs build * Replace distutils with packaging
29 lines
838 B
YAML
29 lines
838 B
YAML
steps:
|
|
- input: "Build parameters"
|
|
fields:
|
|
- text: "Release version"
|
|
key: "RELEASE_VERSION"
|
|
default: ""
|
|
format: "\\d{1,}.\\d{1,}.\\d{1,}"
|
|
hint: "The version to release e.g. '8.10.0' (without the v prefix)."
|
|
- select: "Environment"
|
|
key: "ENVIRONMENT"
|
|
options:
|
|
- label: "Staging"
|
|
value: "staging"
|
|
- label: "Production"
|
|
value: "production"
|
|
- wait
|
|
- label: "Release Docker Artifacts for Eland"
|
|
command: |
|
|
set -eo pipefail
|
|
|
|
export RELEASE_VERSION=$(buildkite-agent meta-data get RELEASE_VERSION)
|
|
export ENVIRONMENT=$(buildkite-agent meta-data get ENVIRONMENT)
|
|
export BUILDKIT_PROGRESS=plain
|
|
|
|
bash .buildkite/release-docker/run.sh
|
|
# Run on GCP to use `docker`
|
|
agents:
|
|
provider: gcp
|