Skip to content

Commit

Permalink
Merge pull request #22792 from AndrienkoAleksandr/all_ns
Browse files Browse the repository at this point in the history
Add all namespaces mode tests for eclipse-che
  • Loading branch information
openshift-merge-robot authored Oct 20, 2021
2 parents f81cb4b + 79f0991 commit 92b6b61
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ operator:
bundles:
- context_dir: bundle/next/eclipse-che-preview-openshift
dockerfile_path: bundle.Dockerfile
- context_dir: bundle/next-all-namespaces/eclipse-che-preview-openshift
dockerfile_path: bundle.Dockerfile
releases:
initial:
integration:
Expand Down Expand Up @@ -116,6 +118,36 @@ tests:
cpu: 100m
memory: 200Mi
workflow: openshift-e2e-aws-proxy
- as: e2e-all-namespaces-deployment
steps:
cluster_profile: gcp
env:
OO_CHANNEL: next-all-namespaces
OO_INSTALL_NAMESPACE: eclipse-che
OO_PACKAGE: eclipse-che-preview-openshift
OO_TARGET_NAMESPACES: '!all'
test:
- as: single-host-deployment
cli: latest
commands: |
echo -e "[INFO] Test script content:"
cat .ci/oci-single-host.sh
/bin/bash .ci/oci-single-host.sh
dependencies:
- env: CI_CHE_OPERATOR_IMAGE
name: che-operator-image
env:
- name: OO_CHANNEL
- name: OO_INSTALL_NAMESPACE
- name: OO_PACKAGE
- name: OO_TARGET_NAMESPACES
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: optional-operators-ci-gcp
zz_generated_metadata:
branch: main
org: eclipse-che
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,84 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v8-ci-index,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build02
context: ci/prow/v8-e2e-all-namespaces-deployment
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: v8
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-che-operator-main-v8-e2e-all-namespaces-deployment
rerun_command: /test v8-e2e-all-namespaces-deployment
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
- --secret-dir=/usr/local/e2e-all-namespaces-deployment-cluster-profile
- --target=e2e-all-namespaces-deployment
- --variant=v8
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/e2e-all-namespaces-deployment-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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-gcp
- configMap:
name: cluster-profile-gcp
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v8-e2e-all-namespaces-deployment,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit 92b6b61

Please sign in to comment.