Step: storage-conf-csi-gcp-pd

The csi-gcp-pd step creates ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST} for GCP PD CSI driver, which is consumed by openshift-e2e-test step to run CSI driver certification suite.

Container image used for this step: gcp-pd-csi-driver-operator-test

gcp-pd-csi-driver-operator-test resolves to an image built or imported by the ci-operator configuration (documentation).

Environment

In addition to the default environment, the step exposes the following:

Variable Name Type Variable Content
TEST_CSI_DRIVER_MANIFEST Parameter[?] The CSI driver manifest to create. Used by the `openshift-tests` as a manifest for openshift/csi tests. The file must be in ${SHARED_DIR}.

Source Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

cd /go/src/github.com/openshift/gcp-pd-csi-driver-operator
cp test/e2e/manifest.yaml ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST}

# For debugging
echo "Using ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST}:"
cat ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST}

Properties

Property Value Description
Resource requests (cpu) 10m Used in .resources.requests of the pod running this step.
Resource requests (memory) 100Mi Used in .resources.requests of the pod running this step.

GitHub Link:

https://github.com/openshift/release/blob/master/ci-operator/step-registry/storage/conf/csi-gcp-pd/storage-conf-csi-gcp-pd-ref.yaml

Owners:

Approvers:

Reviewers:

Source code for this page located on GitHub