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

[Task]: Deploying to (dev, or staging) fails because trying to release the same image tag twice #1919

Closed
coilysiren opened this issue May 3, 2024 · 0 comments · Fixed by #2236
Assignees
Labels
project: grants.gov Grants.gov Modernization tickets

Comments

@coilysiren
Copy link
Collaborator

coilysiren commented May 3, 2024

Summary

Example here: https://github.com/HHS/simpler-grants-gov/actions/runs/8940713148/job/24559525964

The staging deploy fails above because both dev and staging try to release the same tag, eg.

tag invalid: The image tag '4b73f7e39ab05c62194ccf3d33bda9f51419495b' already exists in the 'simpler-grants-gov-api' repository and cannot be overwritten because the repository is immutable.

We should do something to avoid this build deployment failure. Either:

a. move the "release" step earlier in Github Actions so it doesn't happen twice
b. ignore failures in this step, and continue on as if they didn't fail
c. something else

Acceptance criteria

to be defined by the implementer

@coilysiren coilysiren added project: grants.gov Grants.gov Modernization tickets refinement labels May 3, 2024
@aplybeah aplybeah self-assigned this May 6, 2024
aplybeah added a commit that referenced this issue May 6, 2024
…release the same image tag twice part 1 (#1929)

## Summary
Fixes #{ISSUE}

### Time to review: __x mins__

## Changes proposed
* temporarily remove "staging" from the frontend deployment matrix to
unblock others

## Context for reviewers
> The staging deploy fails because both dev and staging try to release
the same tag

## Additional information
See #1919 for more detail
@sumiat sumiat removed the refinement label May 6, 2024
@coilysiren coilysiren assigned coilysiren and unassigned aplybeah Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project: grants.gov Grants.gov Modernization tickets
Projects
3 participants