mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
[artifacts] Verify docker UBI context (#132346)
* [artifacts] Verify docker UBI context * add step * fix filename
This commit is contained in:
parent
956703a71f
commit
3409ea325f
2 changed files with 12 additions and 0 deletions
|
@ -62,6 +62,16 @@ steps:
|
||||||
- exit_status: '*'
|
- exit_status: '*'
|
||||||
limit: 1
|
limit: 1
|
||||||
|
|
||||||
|
- command: KIBANA_DOCKER_CONTEXT=ubi .buildkite/scripts/steps/artifacts/docker_context.sh
|
||||||
|
label: 'Docker Context Verification'
|
||||||
|
agents:
|
||||||
|
queue: n2-2
|
||||||
|
timeout_in_minutes: 30
|
||||||
|
retry:
|
||||||
|
automatic:
|
||||||
|
- exit_status: '*'
|
||||||
|
limit: 1
|
||||||
|
|
||||||
- command: .buildkite/scripts/steps/artifacts/cloud.sh
|
- command: .buildkite/scripts/steps/artifacts/cloud.sh
|
||||||
label: 'Cloud Deployment'
|
label: 'Cloud Deployment'
|
||||||
agents:
|
agents:
|
||||||
|
|
|
@ -19,6 +19,8 @@ if [[ "$KIBANA_DOCKER_CONTEXT" == "default" ]]; then
|
||||||
DOCKER_CONTEXT_FILE="kibana-$FULL_VERSION-docker-build-context.tar.gz"
|
DOCKER_CONTEXT_FILE="kibana-$FULL_VERSION-docker-build-context.tar.gz"
|
||||||
elif [[ "$KIBANA_DOCKER_CONTEXT" == "cloud" ]]; then
|
elif [[ "$KIBANA_DOCKER_CONTEXT" == "cloud" ]]; then
|
||||||
DOCKER_CONTEXT_FILE="kibana-cloud-$FULL_VERSION-docker-build-context.tar.gz"
|
DOCKER_CONTEXT_FILE="kibana-cloud-$FULL_VERSION-docker-build-context.tar.gz"
|
||||||
|
elif [[ "$KIBANA_DOCKER_CONTEXT" == "ubi" ]]; then
|
||||||
|
DOCKER_CONTEXT_FILE="kibana-ubi8-$FULL_VERSION-docker-build-context.tar.gz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar -xf "target/$DOCKER_CONTEXT_FILE" -C "$DOCKER_BUILD_FOLDER"
|
tar -xf "target/$DOCKER_CONTEXT_FILE" -C "$DOCKER_BUILD_FOLDER"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue