-
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
Create cleanup #5589
Create cleanup #5589
Conversation
✅ Deploy Preview for odo-docusaurus-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
c9c2344
to
b56275a
Compare
b56275a
to
acca5fb
Compare
acca5fb
to
48bdb2d
Compare
@@ -35,7 +35,7 @@ var _ = Describe("odo devfile push command tests", func() { | |||
When("creating a nodejs component", func() { | |||
output := "" | |||
BeforeEach(func() { | |||
helper.Cmd("odo", "create", "--project", commonVar.Project, cmpName, "--devfile", helper.GetExamplePath("source", "devfiles", "nodejs", "devfile-registry.yaml")).ShouldPass() | |||
helper.Cmd("odo", "init", "--name", cmpName, "--devfile-path", helper.GetExamplePath("source", "devfiles", "nodejs", "devfile-registry.yaml")).ShouldPass() |
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.
Feel free to completely remove all the problematic tests from this file (or all the file), as this file will be removed in the other PR #5570
"github.com/tidwall/gjson" | ||
|
||
"github.com/redhat-developer/odo/tests/helper" |
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.
Feel free to remove this file, as it will be removed from the other PR #5561
@@ -5,7 +5,7 @@ import ( | |||
|
|||
. "github.com/onsi/ginkgo" | |||
|
|||
//We continued iterating on bracket pair guides. Horizontal lines now outline the scope of a bracket pair. Also, vertical lines now depend on the indentation of the code that is surrounded by the bracket pair.. "github.com/onsi/gomega" | |||
// We continued iterating on bracket pair guides. Horizontal lines now outline the scope of a bracket pair. Also, vertical lines now depend on the indentation of the code that is surrounded by the bracket pair.. "github.com/onsi/gomega" |
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.
You can also remove this file
Hey @valaparthvi I'm going to close #5575 as your PR directly influences. I'll keep yours open instead as you did a much better job cleaning up the tests! |
… require it but cannot create it
Signed-off-by: Parthvi Vala <[email protected]>
Signed-off-by: Parthvi Vala <[email protected]>
10a6bb1
to
9371ebf
Compare
Kudos, SonarCloud Quality Gate passed!
|
/override ci/prow/v4.10-integration-e2e IBM cloud test passes for both K8s and OC. |
@valaparthvi: Overrode contexts on behalf of valaparthvi: 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. |
Tests pass, code looks good! /lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feloy 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 |
* Cleanup create code * Add missing integration tests from odo create to odo init * Add CreateLocalEnv to create .odo/env/env.yaml file for commands that require it but cannot create it * Remove 'odo create' usages from integration tests * Remove create reference from the Makefile * REmove create doc from v3 Signed-off-by: Parthvi Vala <[email protected]> * Remove test files * Fix CI failure Signed-off-by: Parthvi Vala <[email protected]>
What type of PR is this:
/kind code-refactoring
What does this PR do / why we need it:
This PR cleans up
odo create
and all of its references from odo.Which issue(s) this PR fixes:
Fixes #5564
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer:
You can review each commit independently, each one has a clear purpose.