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

Adding oci namespaces for registry mirror packages tests #8775

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pokearu
Copy link
Member

@pokearu pokearu commented Sep 16, 2024

Description of changes:
For testing curated packages with registry mirrors we need to add OCI namespaces to setup mirrors for packages.

/hold

Testing (if applicable):

./e2e.test -test.v -test.run "TestVSphereKubernetes129UbuntuAuthenticatedRegistryMirrorCuratedPackagesSimpleFlow"

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from pokearu. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 16, 2024
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.64%. Comparing base (519faa3) to head (1fb8bff).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8775      +/-   ##
==========================================
- Coverage   73.65%   73.64%   -0.01%     
==========================================
  Files         578      578              
  Lines       36610    36610              
==========================================
- Hits        26965    26963       -2     
- Misses       7919     7920       +1     
- Partials     1726     1727       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sp1999 sp1999 added this to the v0.21.0 milestone Oct 14, 2024
@@ -2519,6 +2519,11 @@ func TestVSphereKubernetes129UbuntuAuthenticatedRegistryMirrorCuratedPackagesSim
framework.WithPackageConfig(t, packageBundleURI(v1alpha1.Kube129),
EksaPackageControllerHelmChartName, EksaPackageControllerHelmURI,
EksaPackageControllerHelmVersion, EksaPackageControllerHelmValues, nil),
framework.WithRegistryMirrorOciNamespaces(constants.VSphereProviderName,
v1alpha1.OCINamespace{
Registry: "857151390494.dkr.ecr.us-west-2.amazonaws.com",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we no longer use the build account for packages. We should update it to regional beta account private ECR.

Suggested change
Registry: "857151390494.dkr.ecr.us-west-2.amazonaws.com",
Registry: "067575901363.dkr.ecr.us-west-2.amazonaws.com",

v1alpha1.OCINamespace{
Registry: "857151390494.dkr.ecr.us-west-2.amazonaws.com",
Namespace: "",
}),
)
runCuratedPackageInstallSimpleFlowRegistryMirror(test)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add the registry mirror OCI namespaces for the 1.31 tests below this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants