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

retry image retagging for 300 seconds #96

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

staust
Copy link
Contributor

@staust staust commented Sep 18, 2024

Type of Change

  • Bugfix
  • Enhancement / new feature
  • Refactoring
  • Documentation

Description

Retry the image retagging for releases for atleast 5 min. This should reduce cd failures when you merge to main and immediately trigger a release like here: https://github.com/Staffbase/customer-control/actions/runs/10773567525/job/29873909087#step:4:322

Checklist

I could imagine some rare edge cases when you trigger two releases within those 5 minutes of retry where the false image gets the latest tag. I dont know if this is relevant.

  • Write tests
  • Make sure all tests pass
  • Update documentation
  • Review the Contributing Guideline and sign CLA
  • Reference relevant issue(s) and close them after merging

@staust staust requested a review from a team as a code owner September 18, 2024 09:19
@staust
Copy link
Contributor Author

staust commented Sep 18, 2024

does someone know an easy way, to really test this?

@staust staust changed the title retry image tagging for 300 seconds retry image retagging for 300 seconds Sep 18, 2024
@staust staust requested a review from cstaud September 18, 2024 09:21
@ricoberger
Copy link
Member

does someone know an easy way, to really test this?

You can use the branch in your repository with @branch-name (will only work if you are using the action directly and not the shared workflow)

@staust staust merged commit afe4a1e into main Sep 18, 2024
6 checks passed
@staust staust deleted the retry-image-retagging-for-5-min branch September 18, 2024 12:52
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants