You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Atm, we still have tests use outdated fqdn for kyma-project.io/template-operator moduletemplate, which makes tests difficut to understand and maintain.
replace outdated moduletemplate which use kyma-project.io/template-operator
- operator_v1beta2_moduletemplate_kcp-module.yaml is used for generate moduletemplate for integeration tests, it should be replaced with moduletemplate_template_operator_v1_regular.yaml
- operator_v1beta2_moduletemplate_kcp-module-cred-label.yaml is used for testing oci-registry-cred label, update it with new ocm component descriptor (requires a push to oci registry)
- operator_v1beta2_moduletemplate_kcp-module_updated.yaml is used here, replace it with moduletemplate which is used for e2e test for update test.
- operator_v1beta2_moduletemplate_ocm.software.v3alpha1.yaml is for testing ocm schema v3alpha1, use kyma cli generate a new version with correct fqdn (requires a push to oci registry)
- push newly generated artefacts
adjust tests which use kyma-project.io/template-operator, replace it with kyma-project.io/module/template-operator, define a const fqdn name for sharing the usage among tests.
The text was updated successfully, but these errors were encountered:
ruanxin
changed the title
use consistent fqdn for moduletemplate
use consistent fqdn for moduletemplate and update outdated moduletemplate file
Aug 13, 2024
Atm, we still have tests use outdated fqdn for
kyma-project.io/template-operator
moduletemplate, which makes tests difficut to understand and maintain.e.g:
lifecycle-manager/tests/integration/controller/mandatorymodule/deletion/controller_test.go
Line 42 in 158fa52
lifecycle-manager/tests/moduletemplates/operator_v1beta2_moduletemplate_kcp-module.yaml
Line 21 in 03a80f5
AC:
kyma-project.io/template-operator
-
operator_v1beta2_moduletemplate_kcp-module.yaml
is used for generate moduletemplate for integeration tests, it should be replaced withmoduletemplate_template_operator_v1_regular.yaml
-
operator_v1beta2_moduletemplate_kcp-module-cred-label.yaml
is used for testingoci-registry-cred
label, update it with new ocm component descriptor (requires a push to oci registry)-
operator_v1beta2_moduletemplate_kcp-module_updated.yaml
is used here, replace it with moduletemplate which is used for e2e test for update test.-
operator_v1beta2_moduletemplate_ocm.software.v3alpha1.yaml
is for testing ocm schema v3alpha1, use kyma cli generate a new version with correct fqdn (requires a push to oci registry)- push newly generated artefacts
kyma-project.io/template-operator
, replace it withkyma-project.io/module/template-operator
, define a const fqdn name for sharing the usage among tests.The text was updated successfully, but these errors were encountered: