-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix e2e tests #292
Fix e2e tests #292
Conversation
/test-v1a5-e2e |
/test-v1a5-centos-e2e |
/test-v1a5-e2e |
e88890f
to
a24f51e
Compare
/test-v1a5-e2e |
/test-v1a5-centos-e2e |
/test-v1a5-e2e |
1 similar comment
/test-v1a5-e2e |
05586af
to
0bfec78
Compare
/test-v1a5-e2e |
0bfec78
to
a0103b9
Compare
/test-v1a5-e2e |
a0103b9
to
6d34d58
Compare
/test-v1a5-e2e |
/test-v1a5-centos-e2e |
6d34d58
to
0cd2e4d
Compare
/test-v1a5-e2e |
LGTM |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mboukhalfa, Rozzii 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 |
0cd2e4d
to
e79451b
Compare
/retitle Fix e2e tests |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about this quick fix since we know the proper fix would be to use the override layer and same provider components specially since we have other overrides in that yaml as well , like image overrides.
test/e2e/e2e_test.go
Outdated
org := "ipam-serving-cert" | ||
dst := "capm3-ipam-serving-cert" | ||
component = []byte(strings.Replace(string(component), org, dst, -1)) | ||
component = []byte(strings.Replace(string(component), "capm3-capm3", "capm3", -1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this line is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line 101 replaces ipam-serving-cert
by capm3-ipam-serving-cert
, and it also replaces capm3-ipam-serving-cert
by capm3-capm3-ipam-serving-cert
. The line 102 fixes this issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The proper fix needs time to be ready, so this quick fix can buy more time, helping other e2e test PRs to go in. We can remove it later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The line 101 replaces
ipam-serving-cert
bycapm3-ipam-serving-cert
, and it also replacescapm3-ipam-serving-cert
bycapm3-capm3-ipam-serving-cert
. The line 102 fixes this issue.
For that reason, I included the namespace also in my fix in m3-dev-env like this capm3-system/ipam-serving-cert
to capm3-system/capm3-ipam-serving-cert
see here
e79451b
to
5148c11
Compare
/approve |
/test-v1a5-e2e |
Thanks @namnx228 it looks good now, by the way @namnx228 @furkatgofurov7 can you squash the commits and make the commit message more informative ? |
This commits solves two issues: - Removing unnecessary RunAsGroup=true field to keep up a consistency with m3-dev-env templates - Adding a workaround for nameprefix issue in IPAM kustomization Co-authored-by: furkatgofurov7 <furkat.gofurov@est.tech>
5148c11
to
69e32b5
Compare
/test-v1a5-e2e |
Since prow is down right now I am going to merge this PR manually. It has passed all the required CI checks and got approve and lgtm. |
What this PR does / why we need it:
Fixes e2e tests by:
RunAsGroup=true
field to keep up a consistency with m3-dev-env templatesUpdate: co-authored by: @namnx228 (nam.xuan.nguyen@est.tech)