Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all namespaces mode tests for eclipse-che #22792

Merged
merged 5 commits into from
Oct 20, 2021
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 @@ -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