Skip to content

Commit 09a3660

Browse files
authored
Merge pull request #13511 from ahardin-rh/cluster-loader-updates
Updates to Cluster Loader 4.0 content
2 parents d8df2f9 + b594993 commit 09a3660

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

modules/installing-cluster-loader.adoc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44

55
[id='installing_cluster_loader_{context}']
66
= Installing Cluster Loader
7-
Cluster Loader is included in the `atomic-openshift-tests` package.
7+
Cluster Loader is included in the `origin-tests` container image.
88

99
.Procedure
1010

11-
. Edit the `/etc/yum.conf` file, removing `atomic-openshift-tests` from the
12-
`exclude=` line.
13-
14-
. Install the package:
11+
. To pull the `origin-tests` container image, run:
1512
+
1613
----
17-
$ yum install atomic-openshift-tests
14+
$ sudo podman pull quay.io/openshift/origin-tests:v4.0
1815
----
19-
+
20-
After installation, the test executable `extended.test` is located in
21-
`/usr/libexec/atomic-openshift/extended.test`.

modules/running-cluster-loader.adoc

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,29 @@
77

88
.Procedure
99

10-
. Set the `KUBECONFIG` variable to the location of the administrator `kubeconfig`:
11-
+
12-
----
13-
$ export KUBECONFIG=${KUBECONFIG-$HOME/.kube/config}
14-
----
15-
1610
. Execute Cluster Loader using the built-in test configuration, which deploys five
1711
template builds and waits for them to complete:
1812
+
1913
----
20-
$ cd /usr/libexec/atomic-openshift/
21-
$ ./extended.test --ginkgo.focus="Load cluster"
14+
$ sudo podman run -v ${LOCAL_KUBECONFIG}:/root/.kube/config -i
15+
quay.io/openshift/origin-tests:v4.0 /bin/bash -c 'export
16+
KUBECONFIG=/root/.kube/config && openshift-tests run-test
17+
"[Feature:Performance][Serial][Slow] Load cluster should load the cluster
18+
[Suite:openshift]"'
2219
----
2320
+
2421
Alternatively, execute Cluster Loader with a user-defined configuration by
25-
adding the flag for `--viper-config`:
22+
setting the environment variable for `VIPERCONFIG`:
2623
+
2724
----
28-
$ ./extended.test --ginkgo.focus="Load cluster" --viper-config=config/test <1>
25+
$ sudo podman run -v ${LOCAL_KUBECONFIG}:/root/.kube/config -i
26+
quay.io/openshift/origin-tests:v4.0 /bin/bash -c 'export
27+
KUBECONFIG=/root/.kube/config && export VIPERCONFIG=config/test &&
28+
openshift-tests run-test "[Feature:Performance][Serial][Slow] Load cluster
29+
should load the cluster [Suite:openshift]"'
2930
----
30-
<1> In this example, there is a subdirectory called *_config/_* with a configuration
31+
+
32+
In this example, there is a subdirectory called *_config/_* with a configuration
3133
file called *_test.yml_*. In the command line, exclude the extension of the
3234
configuration file, as the tool will automatically determine the file type and
3335
extension.

0 commit comments

Comments
 (0)