Skip to content
Merged
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 @@ -18,6 +18,9 @@ images:
as:
- registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.9
to: csi-driver-manila-operator
- dockerfile_path: Dockerfile.test
from: src
to: manila-csi-driver-operator-test
promotion:
name: "4.9"
namespace: ocp
Expand All @@ -42,6 +45,10 @@ tests:
make test-unit JUNITFILE=${ARTIFACT_DIR}/junit_report.xml
container:
from: src
- as: e2e-openstack-csi
steps:
cluster_profile: openstack-vh-mecha
workflow: openshift-e2e-openstack-csi-manila
zz_generated_metadata:
branch: master
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,71 @@ presubmits:
secret:
secretName: registry-pull-credentials
trigger: (?m)^/test( | .* )e2e-openstack,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/e2e-openstack-csi
decorate: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-csi-driver-manila-operator-master-e2e-openstack-csi
optional: true
rerun_command: /test e2e-openstack-csi
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/usr/local/e2e-openstack-csi-cluster-profile
- --target=e2e-openstack-csi
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-openstack-csi-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-openstack-vh-mecha
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-openstack-csi,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
approvers:
- openstack-approvers
- bertinatto
- gnufied
- huffmanca
- jsafrane
- tsmetana

reviewers:
- openstack-reviewers
- bertinatto
- gnufied
- huffmanca
- jsafrane
- tsmetana
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"path": "openshift/e2e/openstack/csi/manila/openshift-e2e-openstack-csi-manila-workflow.yaml",
"owners": {
"approvers": [
"openstack-approvers",
"bertinatto",
"gnufied",
"huffmanca",
"jsafrane",
"tsmetana"
],
"reviewers": [
"openstack-reviewers",
"bertinatto",
"gnufied",
"huffmanca",
"jsafrane",
"tsmetana"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
workflow:
as: openshift-e2e-openstack-csi-manila
steps:
pre:
- chain: ipi-openstack-pre
- ref: storage-pv-save
- ref: storage-conf-csi-openstack-manila
test:
- ref: openshift-e2e-test
post:
- ref: storage-pv-check
- chain: ipi-openstack-post
env:
CONFIG_TYPE: "minimal"
BASE_DOMAIN: shiftstack.devcluster.openshift.com
TEST_CSI_DRIVER_MANIFEST: manifest-openstack-manila.yaml
TEST_SUITE: openshift/csi
documentation: |-
The Openshift E2E OpenStack `csi manila` workflow installs OpenStack Manila CSI driver and executes the `openshift/csi` end-to-end test suite on OpenStack with a default cluster configuration and a manifest to test Manila resources.
13 changes: 13 additions & 0 deletions ci-operator/step-registry/storage/conf/csi-openstack-manila/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
approvers:
- bertinatto
- gnufied
- huffmanca
- jsafrane
- tsmetana

reviewers:
- bertinatto
- gnufied
- huffmanca
- jsafrane
- tsmetana
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail

cd /go/src/github.com/openshift/csi-driver-manila-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}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"path": "storage/conf/csi-openstack-manila/storage-conf-csi-openstack-manila-ref.yaml",
"owners": {
"approvers": [
"bertinatto",
"gnufied",
"huffmanca",
"jsafrane",
"tsmetana"
],
"reviewers": [
"bertinatto",
"gnufied",
"huffmanca",
"jsafrane",
"tsmetana"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
ref:
as: storage-conf-csi-openstack-manila
# Canonical location of the CSI driver manifest
from: manila-csi-driver-operator-test
commands: storage-conf-csi-openstack-manila-commands.sh
resources:
requests:
cpu: 10m
memory: 100Mi
env:
- name: TEST_CSI_DRIVER_MANIFEST
documentation: |-
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}.
documentation: |-
The csi-openstack-manila step creates ${SHARED_DIR}/${TEST_CSI_DRIVER_MANIFEST} for
OpenStack Manila CSI driver, which is consumed by openshift-e2e-test step to
run CSI driver certification suite.