mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[demo env] Fix demo environment elasticsearch docker image url (#128007)
https://github.com/elastic/kibana/pull/127154 introduced a second docker image to our elasticsearch snapshot manifest. Currently the demo environment only expects one docker image. This updates the jq selection to match only the elasticsearch docker image uploaded to gcs
This commit is contained in:
parent
340c7d4fd4
commit
655d692945
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ mkdir -p target
|
|||
|
||||
export ES_IMAGE="gcr.io/elastic-kibana-184716/demo/elasticsearch:$DEPLOYMENT_NAME-$(git rev-parse HEAD)"
|
||||
|
||||
DOCKER_EXPORT_URL=$(curl https://storage.googleapis.com/kibana-ci-es-snapshots-daily/$DEPLOYMENT_VERSION/manifest-latest-verified.json | jq -r '.archives | .[] | select(.platform=="docker") | .url')
|
||||
DOCKER_EXPORT_URL=$(curl https://storage.googleapis.com/kibana-ci-es-snapshots-daily/$DEPLOYMENT_VERSION/manifest-latest-verified.json | jq -r '.archives | .[] | select(.url | test("docker-image")) | .url')
|
||||
curl "$DOCKER_EXPORT_URL" > target/elasticsearch-docker.tar.gz
|
||||
docker load < target/elasticsearch-docker.tar.gz
|
||||
docker tag "docker.elastic.co/elasticsearch/elasticsearch:$DEPLOYMENT_VERSION-SNAPSHOT" "$ES_IMAGE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue