-
Notifications
You must be signed in to change notification settings - Fork 21
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
[e2e] Support managed cluster upgrade testing #619
base: main
Are you sure you want to change the base?
Conversation
a5d2159
to
2ef6863
Compare
2ef6863
to
56a0ce8
Compare
56a0ce8
to
39e6479
Compare
39e6479
to
05a03ce
Compare
I have not reviewed the PR yet, so the general question is: should we enable the |
@zerospiel The activities related to reworking the trigger for the e2e testing are out of the scope of this task. Here is a separate task for it: Rework providers e2e testing trigger. However, I plan to refactor the code related to the testing configuration as part of Support to provide e2e testing configuration, which is currently in progress. Ideally, we should finalize and merge the PR for Support to provide e2e testing configuration first, then rebase and merge this PR afterward. I would prefer to follow this sequence. Alternatively, this PR can be reviewed and merged now, and the configuration options can be reworked at a later stage. |
ee3a226
to
af9d480
Compare
af9d480
to
92cbea9
Compare
Closes #313. Partially contains the implementation for #641.
This PR contains the following changes that are not related to the upgrade itself but were required:
ClusterTemplateChain
as part of thehmc-templates
helm chart with all the supported cluster templates definedClusterTemplateChain
in theTemplateManagement
which allows us to test cluster templates' distribution system from the system namespace to thedefault
namespace. The default access rules are applied on kind and on the standalone clustersdefault
namespace instead of the system namespaceChanges regarding the e2e upgrade testing:
upgrade: true
parameter under the cluster configuration section. It is disabled by default.spec.template
in theManagedCluster
object, verifying that the helm objects were updated, and verifying the cluster health after itThe example of the e2e testing configuration introduced in this PR:
To pass the custom testing configuration to the e2e tests you should define the
E2E_CONFIG_B64
env var with the e2e configuration in the yaml format encoded inbase64
and runmake test-e2e
.Out of scope: