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

samples: replicate nginx image to private ACR #264

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

Redent0r
Copy link

@Redent0r Redent0r commented Dec 9, 2024

Merge Checklist
  • Followed patch format from upstream recommendation: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format
    • Included a single commit in a given PR - at least unless there are related commits and each makes sense as a change on its own.
  • Aware about the PR to be merged using "create a merge commit" rather than "squash and merge" (or similar)
  • The upstream/missing label (or upstream/not-needed) has been set on the PR.
Summary

mcr.microsoft.com/azurelinux/base/nginx:1 got updated again on 12/6 and caused test failures on our pipeline due to the policy annotation of images that depend on nginx getting outdated.

Replicate this image to our private test images ACR so that is stable and doesn't get unknowingly updated or deleted. We will still test mcr.microsoft.com/azurelinux/base/nginx:1 under "common_images" category (https://github.com/microsoft/kata-containers/blob/msft-main/src/tools/genpolicy/policy_samples.json#L79) and detect any future possible image breaking changes.

The result of this change will be more stable test results without loosing test coverage.

Test Methodology

https://dev.azure.com/mariner-org/mariner/_build/results?buildId=691499&view=results

mcr.microsoft.com/azurelinux/base/nginx:1 got updated again on 12/6 and caused test failures on our pipeline
due to the policy annotation of images that depend on nginx getting outdated.

Replicate this image to our private test images ACR so that is stable and doesn't get unknowingly updated or deleted.
We will still test mcr.microsoft.com/azurelinux/base/nginx:1 under "common_images" category and detect
any future possible image breaking changes.

The result of this change will be more stable test results without loosing coverage.

Signed-off-by: Saul Paredes <[email protected]>
@Redent0r Redent0r added the upstream/not-needed PRs that will not be upstreamed (e.g. internal) label Dec 9, 2024
@Redent0r Redent0r mentioned this pull request Dec 9, 2024
4 tasks
@Redent0r Redent0r marked this pull request as ready for review December 9, 2024 22:18
@Redent0r Redent0r requested review from a team as code owners December 9, 2024 22:18
@Redent0r Redent0r merged commit 1f4360c into msft-main Dec 9, 2024
110 of 203 checks passed
@Redent0r Redent0r deleted the saulparedes/move_sample branch December 9, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream/not-needed PRs that will not be upstreamed (e.g. internal)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants