Skip to content

fix: add retry to pyinstaller docker build and fix terraform install script#8886

Merged
roger-zhangg merged 5 commits intodevelopfrom
fix/add-retry-and-terraform-install-fix
Apr 2, 2026
Merged

fix: add retry to pyinstaller docker build and fix terraform install script#8886
roger-zhangg merged 5 commits intodevelopfrom
fix/add-retry-and-terraform-install-fix

Conversation

@roger-zhangg
Copy link
Copy Markdown
Member

@roger-zhangg roger-zhangg commented Apr 1, 2026

Changes

  • validate_pyinstaller.yml: Add bash retry loop (3 attempts with 10s sleep) to the docker run step for building PyInstaller in the manylinux container, handling transient failures.
  • install-terraform.sh: Removed and replaced with hashicorp/setup-terraform github action

…script

- Add bash retry loop (3 attempts) to docker run step in validate_pyinstaller.yml
- Fix install-terraform.sh silent failure caused by set -e + pipefail killing
  the script when grep exits non-zero in the version fetch pipeline
@roger-zhangg roger-zhangg requested a review from a team as a code owner April 1, 2026 18:30
@roger-zhangg
Copy link
Copy Markdown
Member Author

roger-zhangg commented Apr 1, 2026

Vandita2020
Vandita2020 previously approved these changes Apr 1, 2026
@roger-zhangg roger-zhangg marked this pull request as draft April 1, 2026 21:37
valerena
valerena previously approved these changes Apr 1, 2026
… action

- Use hashicorp/setup-terraform@v4.0.0 (pinned to commit hash) in
  integration-tests.yml instead of the custom install script
- Remove tests/install-terraform.sh
@roger-zhangg roger-zhangg dismissed stale reviews from valerena and Vandita2020 via 568287e April 1, 2026 21:51
The wrapper intercepts terraform stdout/stderr which can interfere
with SAM CLI's subprocess calls to terraform. Disabling it ensures
the raw terraform binary is used directly.
@roger-zhangg roger-zhangg marked this pull request as ready for review April 2, 2026 18:03
@roger-zhangg roger-zhangg enabled auto-merge April 2, 2026 18:03
@roger-zhangg roger-zhangg added this pull request to the merge queue Apr 2, 2026
Merged via the queue into develop with commit b32bf16 Apr 2, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants