Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Bash Deployment Scripts for Robust Error Handling #200

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

tjementum
Copy link
Member

Summary & Motivation

Address error handling in infrastructure Bash deployment scripts to correct the issue where the output of Bicep commands piped to tee /dev/tty fails in non-interactive environments. Modify the piping to 2>&1 to capture both stdout and stderr reliably across different contexts.

Introduce #!/bin/bash shebang to all infrastructure scripts to standardize execution behavior and formatting, aligning the local terminal experience with that of GitHub Actions.

Checklist

  • I have added a Label to the pull-request
  • I have added tests, and done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Bug Something isn't working label Nov 8, 2023
@tjementum tjementum self-assigned this Nov 8, 2023
@tjementum tjementum linked an issue Nov 8, 2023 that may be closed by this pull request
@tjementum tjementum merged commit a1f1992 into main Nov 8, 2023
5 checks passed
@tjementum tjementum deleted the capture-stderr-deployment branch November 8, 2023 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up custom domain
1 participant