-
Notifications
You must be signed in to change notification settings - Fork 770
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
Adding documentation for tests #819
Conversation
we have to do |
script/test_in_openshift/README.md
Outdated
|
||
## Introduction | ||
|
||
The functional tests for Kompose on OpenShift cluster leverages oc cluster up` to bring a single-cluster OpenShift instance. The test scripts |
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 forgot to add and extra `
it's suppose to be oc cluster up
script/test_in_openshift/README.md
Outdated
The functional tests for Kompose on OpenShift cluster leverages oc cluster up` to bring a single-cluster OpenShift instance. The test scripts | ||
are hosted under script/test_in_openshift. The directory structure is as below: | ||
|
||
script/test_in_openshift/ |
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.
put this structure within a ```
script/test_in_openshift/README.md
Outdated
- [compose-files/](/script/test_in_openshift/compose-files/) directory contains the docker compose | ||
file used by the test scripts | ||
|
||
- The scripts use [`oc cluster up`](https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md) for setting up a single-machine OpenShift cluster. It exits if oc binaries are not installed |
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.
add oc
script/test_in_openshift/README.md
Outdated
|
||
- The scripts use [`oc cluster up`](https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md) for setting up a single-machine OpenShift cluster. It exits if oc binaries are not installed | ||
|
||
- Most of the docker compose files used are the ones already available under [examples/](/examples] or [/script/test/fixtures](/script/test/fixtures). |
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.
don't add 'most of the docker compose files'
just say Docker Compose examples are available under examples/
script/test_in_openshift/README.md
Outdated
|
||
## Running OpenShift tests | ||
|
||
### Install `oc cluster up` |
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.
random spacing between oc and cluster
078fa87
to
dc3f49c
Compare
script/test_in_openshift/README.md
Outdated
|
||
## Running OpenShift tests | ||
|
||
### Install `oc cluster up` |
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.
Random spacing?
Install what though?
I think you mean Deploy oc cluster up
script/test_in_openshift/README.md
Outdated
|
||
### Install `oc cluster up` | ||
|
||
The scripts use [`oc cluster up`](https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md) for setting up a single-machine OpenShift cluster. Installing oc binary is a pre-requisite for running these tests |
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.
missing period at end of sentence.
script/test_in_openshift/README.md
Outdated
- [compose-files/](/script/test_in_openshift/compose-files/) directory contains the docker compose | ||
file used by the test scripts | ||
|
||
- The scripts use [`oc cluster up`](https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md) for setting up a single-machine OpenShift cluster. It exits if oc binaries are not installed |
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.
missing period at end of sentence.
script/test_in_openshift/README.md
Outdated
|
||
- [tests/](/script/test_in_openshift/tests) directory contains the test scripts | ||
|
||
- [compose-files/](/script/test_in_openshift/compose-files/) directory contains the docker compose |
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.
missing period at end of sentence.
script/test_in_openshift/README.md
Outdated
- [run.sh](/script/test_in_openshift/run.sh) is the master script | ||
which executes all the tests | ||
|
||
- [lib.sh](/script/test_in_openshift/lib.sh) consists of helper functions |
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.
missing period at end of sentence.
script/test_in_openshift/README.md
Outdated
└── .. | ||
``` | ||
|
||
- [run.sh](/script/test_in_openshift/run.sh) is the master script |
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.
missing period at end of sentence.
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.
fix this @ashetty1 then all good from here 👍 feel free to merge after you've added the period.
script/test_in_openshift/README.md
Outdated
## Introduction | ||
|
||
The functional tests for Kompose on OpenShift cluster leverages `oc cluster up` to bring a single-cluster OpenShift instance. The test scripts | ||
are hosted under script/test_in_openshift. The directory structure is as below: |
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.
remove random newline. Or do newline after the script/test_in_openshift
sentence.
script/test_in_openshift/README.md
Outdated
|
||
The scripts use [`oc cluster up`](https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md) for setting up a single-machine OpenShift cluster. Installing oc binary is a pre-requisite for running these tests | ||
|
||
Run `make test-openshift` to run the OpenShift tests |
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 make test-openshift
to run the OpenShift tests.
LGTM! |
As part of issue #781