-
Notifications
You must be signed in to change notification settings - Fork 65
fix : execute preStart
devfile events after project-clone
initContainer
#1461
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
Conversation
Skipping CI for Draft Pull Request. |
/ok-to-test |
events: | ||
preStart: | ||
- go-mod | ||
- go-build |
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.
no N&N
…tainer Change ordering of initContainers to ensure that `project-clone` initContainer is executed before preStart initContainers Signed-off-by: Rohan Kumar <[email protected]>
0a78b49
to
9d9a082
Compare
/ok-to-test |
/retest-required |
/retest |
1 similar comment
/retest |
@rohanKanojia: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
It seems this
I see other pull requests failing for this check too #1440 |
@rohanKanojia good catch, I created a PR: #1474 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akurinnoy, dkwon17, ibuziuk, rohanKanojia The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I don't think the ci/prow/v14-che-happy-path check failing is due to this PR, it's due to eclipse-che/che#23514. IMHO it should be ok to merge this PR without the check passing. |
What does this PR do?
Change the ordering of initContainers to ensure that
project-clone
initContainer is executed before preStart initContainersWhat issues does this PR fix or reference?
#1454
Is it tested? How?
Without these changes, it should be like this:
With this PR
project-clone
initContainer is before preStart containers:You'd notice that with changes in this PR DevWorkspace would come up in
Running
state. However, on main branch it would be inCrashLoopBackOff
state due to failinginitContainers
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-path
to trigger)v8-devworkspace-operator-e2e
: DevWorkspace e2e testv8-che-happy-path
: Happy path for verification integration with Che