mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[artifacts] Build approximate cloud image to support automated testing (#128952)
* [artifacts] Build approximate cloud image to support automated testing * newline * only on release builds
This commit is contained in:
parent
a736c44e21
commit
9d89031438
1 changed files with 24 additions and 0 deletions
|
@ -17,3 +17,27 @@ node scripts/build "$RELEASE_ARG" --all-platforms --debug --docker-cross-compile
|
|||
|
||||
echo "--- Build dependencies report"
|
||||
node scripts/licenses_csv_report "--csv=target/dependencies-$VERSION.csv"
|
||||
|
||||
# Release verification
|
||||
if [[ "${RELEASE_BUILD:-}" == "true" ]]; then
|
||||
echo "--- Build and push Kibana Cloud Distribution"
|
||||
# This doesn't meet the requirements for a release image, implementation TBD
|
||||
# Beats artifacts will need to match a specific commit sha that matches other stack iamges
|
||||
# For now this is a placeholder step that will allow us to run automated Cloud tests
|
||||
# against a best guess approximation of a release image
|
||||
echo "$KIBANA_DOCKER_PASSWORD" | docker login -u "$KIBANA_DOCKER_USERNAME" --password-stdin docker.elastic.co
|
||||
trap 'docker logout docker.elastic.co' EXIT
|
||||
|
||||
node scripts/build \
|
||||
"$RELEASE_ARG" \
|
||||
--skip-initialize \
|
||||
--skip-generic-folders \
|
||||
--skip-platform-folders \
|
||||
--skip-archives \
|
||||
--docker-images \
|
||||
--docker-tag-qualifier="$GIT_COMMIT" \
|
||||
--docker-push \
|
||||
--skip-docker-ubi \
|
||||
--skip-docker-ubuntu \
|
||||
--skip-docker-contexts
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue