-
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
Verify local config after component create #2457
Verify local config after component create #2457
Conversation
/test v4.1-integration-e2e-benchmark |
5556498
to
403dbf0
Compare
/retest |
403dbf0
to
bd82546
Compare
a137578
to
263e649
Compare
tests/integration/component.go
Outdated
@@ -112,6 +119,8 @@ func componentTests(args ...string) { | |||
It("should list out component in json format along with path flag", func() { | |||
var contextPath string | |||
helper.CmdShouldPass("odo", append(args, "create", "nodejs", "nodejs", "--project", project)...) | |||
cmpSetting := helper.VerifyLocalConfig(context + "/.odo/config.yaml") |
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.
Use filepath.Join() in all occurrence. For example
filepath.Join(context, ".odo", "config.yaml")
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.
Use filepath.Join() in all occurrence. For example
filepath.Join(context, ".odo", "config.yaml")
Done 👍
1a4f371
to
20dc922
Compare
20dc922
to
341362f
Compare
Signed-off-by: Priti Kumari <pkumari@redhat.com>
341362f
to
0386791
Compare
for i := 0; i < len(args); i++ { | ||
keyValue := strings.Split(args[i], ",") | ||
|
||
if Search(cmpField, keyValue[0]) { |
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.
please add some comments for the next steps from here
4a2379c
to
649f1fd
Compare
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: girishramnani 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 |
Changes looks good to me. @prietyc123 please rebase it |
7260eb4
to
113561c
Compare
/lgtm |
/kind test
What does does this PR do / why we need it:
Verifies local component config on the host.
Which issue(s) this PR fixes:
Fixes #2439
How to test changes / Special notes to the reviewer:
$ make test-cmd-cmp && make test-cmd-cmp-sub