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

feat: add failed sites fetch script #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harishv7
Copy link
Contributor

A bash script to fetch all the failed sites in Amplify after a specific date-time for a specific branch

# Update the branch_name and specified_date_time to filter the failed builds from that date/time

# Disable the pager for AWS CLI output
export AWS_PAGER=""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we save the original value somewhere and do a reassignment later so there's no change to the surrounding context from this script?

# Disable the pager for AWS CLI output
export AWS_PAGER=""

branch_name="staging-lite"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we pass this as cli option so people can choose thier desired branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seaerchin no bw to do this now, preferring to merge this first for future use. Can do as enhancement if required

@harishv7 harishv7 requested a review from seaerchin August 7, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants