You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-tests/README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ Certain properties like weblogicDomainStoragePath, image, externalOperatorCert a
166
166
167
167
# How does it work
168
168
169
-
When the tests are run manually with mvn command on hosted Linux, WebLogic image and server jre images are pulled from a local repository wlsldi-v2.docker.oraclecorp.com. Operator image is built with the git branch from where the mvn command is executed.
169
+
When the tests are run manually with mvn command on hosted Linux, WebLogic image store/oracle/weblogic:12.2.1.3 is pulled from docker hub or uses local image if one exists. Server jre images are pulled from a local repository wlsldi-v2.docker.oraclecorp.com. Operator image is built with the git branch from where the mvn command is executed.
170
170
All the tests that start with IT*.java are run. The test builds the operator, runs a series of tests and archives the results into tar.gz files upon completion.
171
171
172
172
Integration test classes:
@@ -194,6 +194,12 @@ Secret - to create secret
194
194
195
195
Command to run the tests:
196
196
```
197
+
export DOCKER_USERNAME=<docker_username>
198
+
export DOCKER_PASSWORD=<docker_password>
199
+
export DOCKER_EMAIL=<docker_email>
200
+
or
201
+
make sure the weblogic image i.e. store/oracle/weblogic:12.2.1.3 already exists locally
202
+
197
203
mvn clean verify -P java-integration-tests 2>&1 | tee log.txt
198
204
```
199
205
@@ -207,7 +213,7 @@ The tests accepts optional env var overrides:
207
213
| INGRESSPERDOMAIN | The defult value is true. If you want to test creating LB by kubectl yaml for multiple domains, set it to false. |
208
214
| WERCKER | Set to true if invoking from Wercker, set to false or "" if running stand-alone or from Jenkins. Default is "". |
209
215
| JENKINS | Set to true if invoking from Jenkins, set to false or "" if running stand-alone or from Wercker. Default is "". |
210
-
|NODEPORT_HOST| DNS name of a Kubernetes worker node. Default is the local host's hostname. |
216
+
|K8S_NODEPORT_HOST| DNS name of a Kubernetes worker node. Default is the local host's hostname. |
211
217
| BRANCH_NAME | Git branch name. Default is determined by calling 'git branch'. |
212
218
| LEASE_ID | Set to a unique value to (A) periodically renew a lease on the k8s cluster that indicates that no other test run should attempt to use the cluster, and (B) delete this lease when the test completes. |
0 commit comments