Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ tests:
env:
TEST_SCENARIOS: \[CSI-Driver\]|\[GKE-PD-CSI\]
workflow: openshift-e2e-gcp-csi-extended
- always_run: false
as: e2e-gcp-csi-volumeattributesclass
- as: e2e-gcp-csi-volumeattributesclass
optional: true
steps:
cluster_profile: gcp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ tests:
env:
TEST_SCENARIOS: \[CSI-Driver\]|\[GKE-PD-CSI\]
workflow: openshift-e2e-gcp-csi-extended
- always_run: false
as: e2e-gcp-csi-volumeattributesclass
- as: e2e-gcp-csi-volumeattributesclass
optional: true
steps:
cluster_profile: gcp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-gcp-csi-n4,?($|\s.*)
- agent: kubernetes
always_run: false
always_run: true
branches:
- ^master$
- ^master-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-gcp-csi-n4,?($|\s.*)
- agent: kubernetes
always_run: false
always_run: true
branches:
- ^release-4\.21$
- ^release-4\.21-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ cd /go/src/github.com/openshift/gcp-pd-csi-driver-operator
if [ "${COMPUTE_DISK_TYPE}" == "hyperdisk-balanced" ]; then
# Using hyperdisk-balanced worker
cp test/e2e/hyperdisk-manifest.yaml ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST}
# VolumeAttributesClass tests should only run on cluster with hyperdisk-balanced worker
if [ -f "test/e2e/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}" ]; then
echo "Copying ${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST} from openshift/gcp-pd-csi-driver-operator to ${SHARED_DIR}/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}"
cp test/e2e/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST} ${SHARED_DIR}/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}
cat ${SHARED_DIR}/${TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST}
fi
else
cp test/e2e/manifest.yaml ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST}
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ ref:
default: "pd-balanced"
documentation: |-
It defines the osDisk type for GCP compute nodes.
- name: TEST_VOLUME_ATTRIBUTES_CLASS_MANIFEST
default: "volumeattributesclass.yaml"
documentation: |-
The VolumeAttributesClass manifest to create. Used by the `openshift-tests` as a
manifest for openshift/csi tests. The file must be in ${SHARED_DIR}.
documentation: |-
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
Expand Down