-
Notifications
You must be signed in to change notification settings - Fork 243
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
Substituting variables into the devfile from the CLI #5749
Substituting variables into the devfile from the CLI #5749
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
406b957
to
631e0c8
Compare
ad6c4d8
to
18031d6
Compare
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.
Added a few comments after a quick review. Yet to review the other files.
docs/website/versioned_docs/version-3.0.0/command-reference/dev.md
Outdated
Show resolved
Hide resolved
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.
Code LGTM apart from a few nitpicks.
```shell | ||
$ odo dev --var USER=john --var-file config.vars | ||
``` | ||
|
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.
What do you think about adding a note stating that passing a KEY=VALUE for a key that does not exist in the devfile.yaml will be ignored?
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 just made the test, and finally, it is taken into account. But it depends on the implementation of the devfile library, I would prefer not to document it
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: valaparthvi 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 |
Co-authored-by: Parthvi Vala <pvala@redhat.com>
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.
Added one last comment on the code..
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
/override ci/prow/v4.10-integration-e2e IBM tests pass |
@feloy: Overrode contexts on behalf of feloy: ci/prow/v4.10-integration-e2e 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. |
…r#5749) * Define var and and-file flags * vars package * Vars for deploy * Add integration tests for dev * Update dev mock * New devfile library version * Add doc * Fix validate * Review * Apply suggestions from code review Co-authored-by: Parthvi Vala <pvala@redhat.com> * review Co-authored-by: Parthvi Vala <pvala@redhat.com>
What type of PR is this:
/kind feature
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #5489
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: