Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions cluster/test-deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ should have:

See `data/vars.yaml` for the default settings. This depends on the `openshift/origin-gce:latest` image
which is a pre-built version of the GCE reference architecture and the openshift-ansible playbooks for the
appropriate release.
appropriate release. That image is built from https://github.com/openshift/origin-gce.

```
$ cd data
Other prerequisites:

* Docker 1.12+ installed and available
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we want to say 1.12.6 for good measure

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think it matters in this particular case - 1.12 is so old already most people would be like "wth"

* Your system time must be up to date in order for gcloud to
authenticate to GCE (run `sudo ntpd -gq` in your VM if necessary)

# launch cluster
$ INSTANCE_PREFIX=pr345 ../../bin/local.sh ansible-playbook \
-e openshift_test_repo=$( curl https://storage.googleapis.com/origin-ci-test/branch-logs/origin/master/builds/.latest )/artifacts/rpms \
playbooks/launch.yaml
```
# launch cluster using the latest RPMs
$ make WHAT=mycluster up

# after cluster is launched, admin.kubeconfig is copied locally
$ KUBECONFIG=admin.kubeconfig oc status

# teardown cluster
$ INSTANCE_PREFIX=pr345 ../../bin/local.sh ansible-playbook playbooks/terminate.yaml
$ make WHAT=mycluster down

# get a shell in the ansible environment
$ INSTANCE_PREFIX=pr345 ../../bin/local.sh
$ make WHAT=mycluster sh
```

The following ansible variables are commonly used:
Expand All @@ -38,6 +40,5 @@ The following ansible variables are commonly used:

The following environment variables can be provided

* `INSTANCE_PREFIX` is a value that should be unique across all clusters running in the project. It is provided as an env var to allow inventory to be calculated by Ansible.
* `OPENSHIFT_ANSIBLE_IMAGE` (defaults to `openshift/origin-gce:latest`) the image to deploy from

1 change: 1 addition & 0 deletions cluster/test-perf/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
admin.kubeconfig
1 change: 1 addition & 0 deletions cluster/test-perf/Makefile
3 changes: 3 additions & 0 deletions cluster/test-perf/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OpenShift performance e2e cluster

See [the e2e README](../test-deploy/README.md) for instructions.
3 changes: 3 additions & 0 deletions cluster/test-perf/data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!.gitignore
!vars.yml