Skip to content

OpenShift Container Storage CI test suite containerisation for OpenShift Dedicated CI

Notifications You must be signed in to change notification settings

red-hat-storage/ocsci-osd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocs-ci Containers for OpenShift Dedicated E2E Test Suite

This is a repository that builds containers for ocs-ci. The primary purpose for doing so was to be able to run ocs-ci as the addon test suite for ocs-operator via osde2e. However, it should be possible to use the containers to run the suite anywhere.

The containers are expected to run with a service account that has admin credentials.

There's a separate test harness repository which contains a skeleton golang test suite. Check that repository for details about how the addon testing is done using osde2e in general.

Three different containers are built using this repository:

Building images

OCS-Converged

  • Build the base image:
docker build -t quay.io/rhceph-dev/ocsci-osd:base-latest -f Dockerfile_base .
  • Build the addon test harness image:
docker build -t quay.io/rhceph-dev/ocsci-osd:latest -f Dockerfile_ocsci .

OCS-Consumer

  • Build the base image:
docker build -t quay.io/rhceph-dev/ocsci-osd:base-consumer-addon -f Dockerfile_base .
  • Build the addon test harness image:
docker build -t quay.io/rhceph-dev/ocsci-osd:consumer-addon -f Dockerfile_ocsci . \
--build-arg BASE_IMAGE_TAG=base-consumer-addon \
--build-arg ADDON_TEST_FILE=test-ocs-consumer.sh

About

OpenShift Container Storage CI test suite containerisation for OpenShift Dedicated CI

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •