Skip to content

Commit dab1497

Browse files
radeoreeifrach
authored andcommitted
Add volumeattributesclass.yaml support for AWS EBS CSI VolumeAttributesClass tests (openshift#72189)
1 parent 0746912 commit dab1497

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci-operator/step-registry/storage/conf/csi-aws-ebs/storage-conf-csi-aws-ebs-commands.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ if [ -d /go/src/github.com/openshift/csi-operator/ ]; then
1212
echo "Using OCP specific manifest ${SHARED_DIR}/${TEST_OCP_CSI_DRIVER_MANIFEST}:"
1313
cat ${SHARED_DIR}/${TEST_OCP_CSI_DRIVER_MANIFEST}
1414
fi
15+
echo "Copying ${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST} to ${SHARED_DIR}/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}"
16+
cp test/e2e/aws-ebs/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST} ${SHARED_DIR}/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}
17+
cat ${SHARED_DIR}/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}
1518
else
1619
echo "Using aws-ebs-csi-driver-operator repo"
1720
cd /go/src/github.com/openshift/aws-ebs-csi-driver-operator

ci-operator/step-registry/storage/conf/csi-aws-ebs/storage-conf-csi-aws-ebs-ref.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ ref:
2121
documentation: |-
2222
Enable CSI certification test for SCSI LUN overflow that creates 260 volumes + pods.
2323
default: "false"
24+
- name: TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST
25+
default: "volumeattributesclass.yaml"
26+
documentation: |-
27+
The VolumeAttributesClass manifest to create. Used by the `openshift-tests` as a
28+
manifest for openshift/csi tests. The file must be in ${SHARED_DIR}.
2429
documentation: |-
2530
The csi-aws-ebs step creates ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST} and
2631
${SHARED_DIR}/${TEST_OCP_CSI_DRIVER_MANIFEST} for AWS EBS CSI driver, which is consumed by openshift-e2e-test step to

0 commit comments

Comments
 (0)