You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As user,
I want to see optimistic locking error when I try to push when my repository index is not up-to-date
So that I do not overwrite changes in repo index made by someone else at the same time.
As user,
I want to optionally to reload index and retry push when optimistic locking error occurs
So that I can push in simultaneously run automated builds.
Design concept proposal:
when loading index from repo, get GCS $revision on index.yaml
when pushing, upload index first with conditional PUT: add header x-goog-if-generation-match:$revision
on error, to optionally retry, reload fresh index and run push again
As user,
I want to see optimistic locking error when I try to push when my repository index is not up-to-date
So that I do not overwrite changes in repo index made by someone else at the same time.
As user,
I want to optionally to reload index and retry push when optimistic locking error occurs
So that I can push in simultaneously run automated builds.
Design concept proposal:
x-goog-if-generation-match:$revision
See example: https://github.com/ausov/helm-gs/blob/3d994597fbddae7029ee0e3afad6d45796615761/bin/publish.sh#L72
The text was updated successfully, but these errors were encountered: