Skip to content
Repository of e2e test plumbing for OpenShift Dedicated
Go Shell Makefile Dockerfile
Branch: master
Clone or download
openshift-merge-robot Merge pull request #185 from jeefy/SDCICD-86
SDCICD-86: Support addon installation via config
Latest commit 2839fd3 Dec 13, 2019

README.md

osde2e

This project checks OSD releases by starting an OSD cluster and verifying operation through testing

Running

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.

  1. Get token to launch OSD clusters here.

  2. Install dependencies:

    # Install dependencies
    $ go mod tidy
    
    # Copy them to a vendor dir
    $ go mod vendor
  3. Set OCM_TOKEN environment variable:

    $ export OCM_TOKEN=<token from step 1>
  4. Run tests:

    $ go test -v . -test.timeout 4h

Configuring

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

Writing tests

Documentation on writing tests can be found here.

You can’t perform that action at this time.