Skip to content

Commit

Permalink
Onboard devfile organization and add new e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: flacatus <flacatus@redhat.com>
  • Loading branch information
flacatus committed Jun 16, 2020
1 parent ad312e5 commit 39143e8
Show file tree
Hide file tree
Showing 6 changed files with 288 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci-operator/config/devfile/devworkspace-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
approvers:
- rhopp
- flacatus
reviewers:
- rhopp
- flacatus
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.4"
namespace: ocp
tests:
- as: openshift-web-terminal-e2e
commands: .cico/cico_openshift_e2e.sh
openshift_installer_src:
cluster_profile: aws
zz_generated_metadata:
branch: master
org: devfile
repo: devworkspace-operator
variant: v4
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.13
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.5"
namespace: ocp
tests:
- as: openshift-web-terminal-e2e
commands: .cico/cico_openshift_e2e.sh
openshift_installer_src:
cluster_profile: aws
zz_generated_metadata:
branch: master
org: devfile
repo: devworkspace-operator
variant: v5
6 changes: 6 additions & 0 deletions ci-operator/jobs/devfile/devworkspace-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
approvers:
- rhopp
- flacatus
reviewers:
- rhopp
- flacatus
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
presubmits:
devfile/devworkspace-operator:
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/v4-openshift-web-terminal-e2e
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v4
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-devfile-devworkspace-operator-master-v4-openshift-web-terminal-e2e
rerun_command: /test v4-openshift-web-terminal-e2e
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/openshift-web-terminal-e2e-cluster-profile
- --target=openshift-web-terminal-e2e
- --template=/usr/local/openshift-web-terminal-e2e
- --variant=v4
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: JOB_NAME_SAFE
value: openshift-web-terminal-e2e
- name: TEST_COMMAND
value: .cico/cico_openshift_e2e.sh
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/apici
name: apici-ci-operator-credentials
readOnly: true
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/openshift-web-terminal-e2e-cluster-profile
name: cluster-profile
- mountPath: /usr/local/openshift-web-terminal-e2e
name: job-definition
subPath: cluster-launch-installer-src.yaml
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
secret:
items:
- key: sa.ci-operator.apici.config
path: kubeconfig
secretName: apici-ci-operator-credentials
- name: boskos
secret:
items:
- key: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-src
name: job-definition
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4-openshift-web-terminal-e2e,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: api.ci
context: ci/prow/v5-openshift-web-terminal-e2e
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v5
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-devfile-devworkspace-operator-master-v5-openshift-web-terminal-e2e
rerun_command: /test v5-openshift-web-terminal-e2e
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/openshift-web-terminal-e2e-cluster-profile
- --target=openshift-web-terminal-e2e
- --template=/usr/local/openshift-web-terminal-e2e
- --variant=v5
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: JOB_NAME_SAFE
value: openshift-web-terminal-e2e
- name: TEST_COMMAND
value: .cico/cico_openshift_e2e.sh
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/apici
name: apici-ci-operator-credentials
readOnly: true
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/openshift-web-terminal-e2e-cluster-profile
name: cluster-profile
- mountPath: /usr/local/openshift-web-terminal-e2e
name: job-definition
subPath: cluster-launch-installer-src.yaml
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
secret:
items:
- key: sa.ci-operator.apici.config
path: kubeconfig
secretName: apici-ci-operator-credentials
- name: boskos
secret:
items:
- key: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-src
name: job-definition
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v5-openshift-web-terminal-e2e,?($|\s.*)
46 changes: 46 additions & 0 deletions core-services/prow/02_config/_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ approve:
- repos:
- eclipse/che-operator
require_self_approval: false
- repos:
- devfile/devworkspace-operator
require_self_approval: false
blunderbuss:
max_request_count: 2
request_count: 2
Expand Down Expand Up @@ -1566,6 +1569,20 @@ external_plugins:
- pull_request
name: needs-rebase
cri-o:
- endpoint: http://refresh
events:
- issue_comment
name: refresh
- endpoint: http://cherrypick
events:
- issue_comment
- pull_request
name: cherrypick
- endpoint: http://needs-rebase
events:
- pull_request
name: needs-rebase
devfile/devworkspace-operator:
- endpoint: http://refresh
events:
- issue_comment
Expand Down Expand Up @@ -2137,6 +2154,9 @@ lgtm:
- repos:
- eclipse/che-operator
review_acts_as_lgtm: true
- repos:
- devfile/devworkspace-operator
review_acts_as_lgtm: true
override:
allow_top_level_owners: true
owners:
Expand Down Expand Up @@ -2411,6 +2431,32 @@ plugins:
- verify-owners
- wip
- yuks
devfile/devworkspace-operator:
- assign
- blunderbuss
- bugzilla
- cat
- dog
- heart
- golint
- goose
- help
- hold
- label
- lgtm
- lifecycle
- override
- pony
- retitle
- shrug
- sigmention
- skip
- trigger
- verify-owners
- owners-label
- wip
- yuks
- approve
eclipse/che-operator:
- assign
- blunderbuss
Expand Down

0 comments on commit 39143e8

Please sign in to comment.