This project checks OSD releases by starting an OSD cluster and verifying operation through testing
These steps run the osde2e test suite. All commands should be run from the root of this repo.
A properly setup Go workspace using Go 1.13+ is required.
Get token to launch OSD clusters here.
# Install dependencies $ go mod tidy # Copy them to a vendor dir $ go mod vendor
$ export OCM_TOKEN=<token from step 1>
$ go test -v . -test.timeout 4h
osde2e is configured using a set of environment variables. The options available are found here.
Common ones are:
NO_DESTROY: don't delete clusters after testing
CLUSTER_ID: test an existing cluster specified by ID
Documentation on writing tests can be found here.