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 @@ -37,6 +37,8 @@ images:
- dockerfile_path: Dockerfile.mustgather
from: ocp_4.14_cli
to: secrets-store-csi-mustgather
- dockerfile_path: Dockerfile.coverage
to: secrets-store-csi-driver-operator-coverage
operator:
bundles:
- as: secrets-store-csi-driver-operator-bundle
Expand Down Expand Up @@ -171,6 +173,53 @@ tests:
OO_PACKAGE: secrets-store-csi-driver-operator
OO_TARGET_NAMESPACES: '!all'
workflow: openshift-e2e-gcp-csi-secrets-store
- always_run: false
as: operator-e2e-coverage
steps:
cluster_profile: openshift-org-azure
dependencies:
OO_INDEX: ci-index-secrets-store-csi-driver-operator-bundle
SECRETS_STORE_E2E_PROVIDER_IMAGE: secrets-store-csi-driver-e2eprovider
env:
OO_CHANNEL: stable
OO_INSTALL_NAMESPACE: openshift-cluster-csi-drivers
OO_PACKAGE: secrets-store-csi-driver-operator
OO_TARGET_NAMESPACES: '!all'
post:
- as: collect-coverage
best_effort: true
cli: latest
commands: hack/e2e-coverage.sh collect
credentials:
- mount_path: /var/run/secrets/codecov
name: sscsi-driver-operator-codecov-token
namespace: test-credentials
from: src
resources:
requests:
cpu: 100m
timeout: 15m0s
- chain: gather
test:
- as: setup-coverage
cli: latest
commands: hack/e2e-coverage.sh setup
dependencies:
- env: COVERAGE_IMAGE
name: secrets-store-csi-driver-operator-coverage
from: src
resources:
requests:
cpu: 100m
- as: test-e2e
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 50m
memory: 100Mi
workflow: openshift-e2e-azure-csi-secrets-store
- always_run: false
as: operator-e2e-azure-rhcos10-fips
optional: true
Expand Down Expand Up @@ -222,6 +271,53 @@ tests:
cpu: 50m
memory: 100Mi
workflow: openshift-e2e-azure-csi-secrets-store
- as: publish-e2e-coverage
postsubmit: true
steps:
cluster_profile: openshift-org-azure
dependencies:
OO_INDEX: ci-index-secrets-store-csi-driver-operator-bundle
SECRETS_STORE_E2E_PROVIDER_IMAGE: secrets-store-csi-driver-e2eprovider
env:
OO_CHANNEL: stable
OO_INSTALL_NAMESPACE: openshift-cluster-csi-drivers
OO_PACKAGE: secrets-store-csi-driver-operator
OO_TARGET_NAMESPACES: '!all'
post:
- as: collect-coverage
best_effort: true
cli: latest
commands: hack/e2e-coverage.sh collect
credentials:
- mount_path: /var/run/secrets/codecov
name: sscsi-driver-operator-codecov-token
namespace: test-credentials
from: src
resources:
requests:
cpu: 100m
timeout: 15m0s
- chain: gather
test:
- as: setup-coverage
cli: latest
commands: hack/e2e-coverage.sh setup
dependencies:
- env: COVERAGE_IMAGE
name: secrets-store-csi-driver-operator-coverage
from: src
resources:
requests:
cpu: 100m
- as: test-e2e
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 50m
memory: 100Mi
workflow: openshift-e2e-azure-csi-secrets-store
- as: verify-deps
steps:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ postsubmits:
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile.coverage
- Dockerfile.mustgather
- Dockerfile.openshift
labels:
Expand Down Expand Up @@ -63,3 +64,85 @@ postsubmits:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build01
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile.coverage
- Dockerfile.mustgather
- Dockerfile.openshift
labels:
ci-operator.openshift.io/cloud: azure4
ci-operator.openshift.io/cloud-cluster-profile: openshift-org-azure
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-secrets-store-csi-driver-operator-main-publish-e2e-coverage
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=/secrets/ci-pull-credentials
- --target=publish-e2e-coverage
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
Loading