Skip to content

Commit

Permalink
[cft] Reuse elasticsearch snapshot on upgrade (#128264)
Browse files Browse the repository at this point in the history
Same-version snapshot upgrades have  been causing deployments
to become unhealthy.  For now, lets reuse the original snapshot while we
look for a workaround.
  • Loading branch information
jbudz authored Mar 22, 2022
1 parent 4b47481 commit b0c3aab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .buildkite/scripts/steps/cloud/build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ if [ -z "${CLOUD_DEPLOYMENT_ID}" ]; then
else
ecctl deployment show "$CLOUD_DEPLOYMENT_ID" --generate-update-payload | jq '
.resources.kibana[0].plan.kibana.docker_image = "'$CLOUD_IMAGE'" |
.resources.elasticsearch[0].plan.elasticsearch.docker_image = "'$ELASTICSEARCH_CLOUD_IMAGE'" |
(.. | select(.version? != null).version) = "'$VERSION'"
' > /tmp/deploy.json
ecctl deployment update "$CLOUD_DEPLOYMENT_ID" --track --output json --file /tmp/deploy.json &> "$JSON_FILE"
Expand Down

0 comments on commit b0c3aab

Please sign in to comment.