-
Notifications
You must be signed in to change notification settings - Fork 139
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
fix: image digest check may meet race condition #1051
Conversation
imageDigest, err := releasecommon.GetDigestWithTagInQuay(releasecommon.ReleasedImagePushRepo + ":latest") | ||
Expect(err).ShouldNot(HaveOccurred(), fmt.Sprintf("failed while getting Digest for quay image %s with error: %+v", releasecommon.ReleasedImagePushRepo + ":latest", err)) | ||
Expect(imageDigest).To(Equal(containerImageDigest)) | ||
tagExist, err := releasecommon.DoesTagExistsInQuay(releasecommon.ReleasedImagePushRepo + ":" + imageDigest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you really looking for a tag? you just want to see if the digest is there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to check digest. Thanks
4d5415d
to
123cb3f
Compare
magefiles/magefile.go
Outdated
@@ -294,7 +294,7 @@ func (ci CI) TestE2E() error { | |||
} | |||
|
|||
func RunE2ETests() error { | |||
labelFilter := utils.GetEnv("E2E_TEST_SUITE_LABEL", "!upgrade-create && !upgrade-verify && !upgrade-cleanup && !release-pipelines") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's for testing and will be restored.
123cb3f
to
cea4a5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
01e1640
to
be3e7ab
Compare
7d8fb58
to
f7a14ab
Compare
/retest |
4ffdeba
to
f81b828
Compare
181d07d
to
952fcf5
Compare
7128767
to
7d499fa
Compare
7d499fa
to
61e445d
Compare
/retest |
2 similar comments
/retest |
/retest |
61e445d
to
4c92ccd
Compare
/lgtm |
Signed-off-by: Jing Qi <[email protected]>
4c92ccd
to
097f3fc
Compare
Quality Gate passedIssues Measures |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: happybhati, jinqi7, johnbieren The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Jing Qi <[email protected]>
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Issue ticket number and link
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: