Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

infra: fix cloud-instance ec2 wait loop (backport #3186)#3204

Merged
mergify[bot] merged 1 commit intorelease-v0.24from
mergify/bp/release-v0.24/pr-3186
Feb 27, 2025
Merged

infra: fix cloud-instance ec2 wait loop (backport #3186)#3204
mergify[bot] merged 1 commit intorelease-v0.24from
mergify/bp/release-v0.24/pr-3186

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Feb 27, 2025

Prior to this change, ./cloud-instance.sh ec2 launch would fail to print information about the host it was launching.

Bash with set -e will bail out on (( $i++ )) when $i is zero. Start i on 1 to avoid this. This also clarifies that this is the "first" logical time the script has polled describe-instances before sleeping.

Issue resolved by this Pull Request:
Resolves #3185


This is an automatic backport of pull request #3186 done by Mergify.

Prior to this change, "./cloud-instance.sh ec2 launch" would fail to
print information about the host it was launching.

Bash with set -e will bail out on (( $i++ )) when $i is zero. Start i on
1 to avoid this. This also clarifies that this is the "first" logical
time the script has polled describe-instances before sleeping.

Signed-off-by: Ken Dreyer <[email protected]>
(cherry picked from commit 57e3b55)
@mergify mergify Bot added the release-branch Pull Request directly to a release branch label Feb 27, 2025
@mergify mergify Bot added the one-approval PR has one approval from a maintainer label Feb 27, 2025
@mergify mergify Bot merged commit 2e20cfb into release-v0.24 Feb 27, 2025
@mergify mergify Bot removed the one-approval PR has one approval from a maintainer label Feb 27, 2025
@mergify mergify Bot deleted the mergify/bp/release-v0.24/pr-3186 branch February 27, 2025 22:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-branch Pull Request directly to a release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants