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

Bug fix for docker validation digest mismatch in arm64 #3624

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Bug fix for docker validation digest mismatch in arm64 #3624

merged 1 commit into from
Jun 13, 2023

Conversation

jordarlu
Copy link
Contributor

Description

We are changing to use the Repo Digest in the manifest and the etag taken from the API response header for digest comparison.
Refered solution is at docker/hub-feedback#1925 (comment)

Issues Resolved

It was found in CI that the current digest validaiton fail in arm64 due to the API used to retrieve the digest and parsed has no difference between the x64/amd64 v.s arm64.
A referrence log is at https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-validation/detail/distribution-validation/2/pipeline/44/

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #3624 (768b66a) into main (7a1f94c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #3624   +/-   ##
=======================================
  Coverage   91.48%   91.48%           
=======================================
  Files         181      181           
  Lines        5380     5381    +1     
=======================================
+ Hits         4922     4923    +1     
  Misses        458      458           
Impacted Files Coverage Δ
...validation_workflow/docker/inspect_docker_image.py 100.00% <100.00%> (ø)

@jordarlu jordarlu self-assigned this Jun 13, 2023
@jordarlu jordarlu merged commit 37870b4 into opensearch-project:main Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants