-
Notifications
You must be signed in to change notification settings - Fork 244
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
[Hotfix][v2] Always ignore command
and args
defined in Devfile container components
#5640
Conversation
…ents This is a hotfix for [1], until a proper fix is implemented, which would consist in keeping using supervisord as pid1, and executing the command with args "on the side" as a separate process. [1] redhat-developer#5620
@rm3l: The label(s) In response to this:
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/test-infra repository. |
SonarCloud Quality Gate failed.
|
command
and args
defined in Devfile container components
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kadel 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 |
What type of PR is this:
/kind bug
/kind hotfix
What does this PR do / why we need it:
This backports the hotfix done in #5639 to
v2
.I am manually creating a separate PR because the test cases are different for
v2
andmain
branches, so I cannot rely on openshift-bot to cherry-pick commits and create a new PR automatically.This adapts the tests by using
odo push
instead ofodo dev
.Before this fix, running
odo push
would not succeed if the Devfile defines a container component withcommand
orargs
.Which issue(s) this PR fixes:
Fixes #5620
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: