Skip to content
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

Doc automation:Command Reference: odo create namespace #6703

Merged
merged 7 commits into from
Apr 10, 2023

Conversation

ritudes
Copy link
Contributor

@ritudes ritudes commented Mar 31, 2023

What type of PR is this:

/area documentation

What does this PR do / why we need it:

Which issue(s) this PR fixes:

Fixes #6675
PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@openshift-ci
Copy link

openshift-ci bot commented Mar 31, 2023

@ritudes: The label(s) kind/tests cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this:
/kind tests
/area/documentation

What does this PR do / why we need it:

Which issue(s) this PR fixes:

Fixes #6675
PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

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.

@netlify
Copy link

netlify bot commented Mar 31, 2023

Deploy Preview for odo-docusaurus-preview ready!

Name Link
🔨 Latest commit fccaea5
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/642ebfa3f96a770008a1a030
😎 Deploy Preview https://deploy-preview-6703--odo-docusaurus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@openshift-ci openshift-ci bot requested review from rm3l and rnapoles-rh March 31, 2023 10:28
@ritudes ritudes requested review from valaparthvi and removed request for rnapoles-rh March 31, 2023 10:29
@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

Windows Tests (OCP) on commit 14d4357 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

NoCluster Tests on commit 14d4357 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

OpenShift Unauthenticated Tests on commit 898426d finished with errors.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

Unit Tests on commit 14d4357 finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

Validate Tests on commit 14d4357 finished successfully.
View logs: TXT HTML

Copy link
Contributor

@valaparthvi valaparthvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Thank you for working on this :)
Apart from the changes I have suggested, there is one more change I'd like i.e. Restore the yarn.lock file

@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

OpenShift Tests on commit 14d4357 finished with errors.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Mar 31, 2023

Kubernetes Tests on commit 14d4357 finished successfully.
View logs: TXT HTML

@ritudes ritudes requested a review from valaparthvi April 6, 2023 08:45
@odo-robot
Copy link

odo-robot bot commented Apr 6, 2023

Kubernetes Docs Tests on commit c2d850f finished successfully.
View logs: TXT HTML

@valaparthvi
Copy link
Contributor

@ritudes Can you rebase your branch on top of the latest main branch? That should fix the doc test failure.

  [FAILED] registry_list_output.mdx
  Expected
      <string>:   strings.Join({
        	... // 101 identical bytes
        	"                               VERSIONS\nnodejs-react  StagingReg",
        	"istry         React is a free and open-source front-en...  2.0.2",
      + 	", 2.1.0",
        	"\nnodejs-react  DefaultDevfileRegistry  React is a free and open-",
        	"source front-en...  2.0.2\n```\n",
        }, "")
      
  to be empty
Summarizing 1 Failure:
  [FAIL] doc command reference odo init Non Interactive Mode fetching devfile from a registry when setting up the registry [It] Fetch Devfile from any registry of the list [nocluster]
  /go/odo_1/tests/documentation/command-reference/doc_command_reference_init_test.go:189

Philippe has already fixed this failure in #6710.

ritudes and others added 7 commits April 6, 2023 18:17
@valaparthvi
Copy link
Contributor

/override Kubernetes-Integration-Tests/Kubernetes-Docs-Integration-Tests

  [FAILED] user-guides/quickstart/docs-mdx/java/java_odo_dev_output.mdx
  Expected
      <string>:   (
        	"""
        	... // 10 identical lines
        	✓  Added storage m2 to component
        	âš   Pod is Pending
      - 	✓  Pod is Running
        	✓  Syncing files into the container [1s]
        	✓  Building your application in container (command: build) [1s]
        	... // 9 identical lines
        	[Ctrl+c] - Exit and delete resources from the cluster
        	[p] - Manually apply local changes to the application on the cluster
      + 	✓  Pod is Running
        	```
        	"""
        )
      
  to be empty
  In [It] at: /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:256 @ 04/06/23 13:23:11.307
------------------------------

Summarizing 1 Failure:
  [FAIL] User guides: Quickstart test Java quickstart guide [It] s

@openshift-ci
Copy link

openshift-ci bot commented Apr 10, 2023

@valaparthvi: Overrode contexts on behalf of valaparthvi: Kubernetes-Integration-Tests/Kubernetes-Docs-Integration-Tests

In response to this:

/override Kubernetes-Integration-Tests/Kubernetes-Docs-Integration-Tests

 [FAILED] user-guides/quickstart/docs-mdx/java/java_odo_dev_output.mdx
 Expected
     <string>:   (
       	"""
       	... // 10 identical lines
       	✓  Added storage m2 to component
       	âš   Pod is Pending
     - 	✓  Pod is Running
       	✓  Syncing files into the container [1s]
       	✓  Building your application in container (command: build) [1s]
       	... // 9 identical lines
       	[Ctrl+c] - Exit and delete resources from the cluster
       	[p] - Manually apply local changes to the application on the cluster
     + 	✓  Pod is Running
       	```
       	"""
       )
     
 to be empty
 In [It] at: /go/odo_1/tests/documentation/user-guides/doc_user_guides_quickstart_test.go:256 @ 04/06/23 13:23:11.307
------------------------------

Summarizing 1 Failure:
 [FAIL] User guides: Quickstart test Java quickstart guide [It] s

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.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Apr 10, 2023
@valaparthvi valaparthvi reopened this Apr 10, 2023
@ritudes ritudes closed this Apr 10, 2023
@ritudes ritudes reopened this Apr 10, 2023
@sonarcloud
Copy link

sonarcloud bot commented Apr 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@valaparthvi
Copy link
Contributor

/override windows-integration-test/Windows-test

  [FAILED] Expected
      <*url.Error | 0xc00057e720>: {
          Op: "Post",
          URL: "http://127.0.0.1:55919/api/newuser",
          Err: <*errors.errorString | 0xc00008a130>{s: "EOF"},
      }
  to be nil
  In [It] at: C:/Users/Administrator.ANSIBLE-TEST-VS/3654/tests/e2escenarios/e2e_test.go:306 @ 04/10/23 00:48:11.831

  There were additional failures detected.  To view them in detail run ginkgo -vv
------------------------------

Summarizing 1 Failure:
  [FAIL] E2E Test starting with non-empty Directory add Binding [It] should verify developer workflow of using binding as env in innerloop
  C:/Users/Administrator.ANSIBLE-TEST-VS/3654/tests/e2escenarios/e2e_test.go:306

/override OpenShift-Integration-tests/OpenShift-Integration-tests

Summarizing 1 Failure:
  [FAIL] odo dev command tests when Starting a PostgreSQL service when creating local files and dir and running odo dev - without metadata.name [AfterEach] when deleting local files and dir and waiting for sync should not list deleted dir and file in container
  /go/odo_1/tests/helper/helper_dev.go:207

Overriding the failures because they are not related to the PR.

@openshift-ci
Copy link

openshift-ci bot commented Apr 10, 2023

@valaparthvi: Overrode contexts on behalf of valaparthvi: OpenShift-Integration-tests/OpenShift-Integration-tests, windows-integration-test/Windows-test

In response to this:

/override windows-integration-test/Windows-test

 [FAILED] Expected
     <*url.Error | 0xc00057e720>: {
         Op: "Post",
         URL: "http://127.0.0.1:55919/api/newuser",
         Err: <*errors.errorString | 0xc00008a130>{s: "EOF"},
     }
 to be nil
 In [It] at: C:/Users/Administrator.ANSIBLE-TEST-VS/3654/tests/e2escenarios/e2e_test.go:306 @ 04/10/23 00:48:11.831

 There were additional failures detected.  To view them in detail run ginkgo -vv
------------------------------

Summarizing 1 Failure:
 [FAIL] E2E Test starting with non-empty Directory add Binding [It] should verify developer workflow of using binding as env in innerloop
 C:/Users/Administrator.ANSIBLE-TEST-VS/3654/tests/e2escenarios/e2e_test.go:306

/override OpenShift-Integration-tests/OpenShift-Integration-tests

Summarizing 1 Failure:
 [FAIL] odo dev command tests when Starting a PostgreSQL service when creating local files and dir and running odo dev - without metadata.name [AfterEach] when deleting local files and dir and waiting for sync should not list deleted dir and file in container
 /go/odo_1/tests/helper/helper_dev.go:207

Overriding the failures because they are not related to the PR.

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.

@openshift-merge-robot openshift-merge-robot merged commit 5ec9907 into redhat-developer:main Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate Doc output: odo create namespace command reference
3 participants