Skip to content

Commit

Permalink
Run Eclipse Che tests in disconnected env
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Oct 25, 2022
1 parent 23e2378 commit 6229417
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,26 @@ tests:
cpu: 100m
memory: 200Mi
workflow: openshift-e2e-aws-proxy
- as: che-disconnected
steps:
cluster_profile: aws
env:
TEST_SKIPS: ""
test:
- as: che-disconnected
cli: latest
commands: /bin/bash build/scripts/oc-tests/oc-test-disconnected.sh
dependencies:
- env: CI_CHE_OPERATOR_IMAGE
name: che-operator-image
env:
- name: TEST_SKIPS
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: cucushift-installer-rehearse-aws-ipi-disconnected-private
zz_generated_metadata:
branch: main
org: eclipse-che
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,82 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v11-che-behind-proxy,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/v11-che-disconnected
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci-operator.openshift.io/variant: v11
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-che-operator-main-v11-che-disconnected
rerun_command: /test v11-che-disconnected
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/che-disconnected-cluster-profile
- --target=che-disconnected
- --variant=v11
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/che-disconnected-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
secret:
secretName: cluster-secrets-aws
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v11-che-disconnected,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit 6229417

Please sign in to comment.