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 new component 'che-server' #37823

Merged
merged 11 commits into from
Apr 11, 2023
Merged
9 changes: 9 additions & 0 deletions ci-operator/config/eclipse-che/che-server/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
approvers:
- dmytro-ndp
- artaleks9
- tolusha
options: {}
reviewers:
- dmytro-ndp
- artaleks9
- tolusha
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
build_root:
project_image:
dockerfile_path: .ci/openshift-ci/Dockerfile
releases:
initial:
integration:
name: "4.12"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.12"
namespace: ocp
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: gitlab-flow
steps:
cluster_profile: gcp
test:
- as: che-server-test
cli: latest
commands: /bin/bash .ci/openshift-ci/test-gitlab-flow.sh
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-gcp
- as: bitbucket-flow
steps:
cluster_profile: gcp
test:
- as: che-server-test
cli: latest
commands: /bin/bash .ci/openshift-ci/test-bitbucket-flow.sh
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-gcp
- as: github-flow
steps:
cluster_profile: gcp
test:
- as: che-server-test
cli: latest
commands: /bin/bash .ci/openshift-ci/test-github-flow.sh
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: ipi-gcp
zz_generated_metadata:
branch: main
org: eclipse-che
repo: che-server
variant: v12
9 changes: 9 additions & 0 deletions ci-operator/jobs/eclipse-che/che-server/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
approvers:
- dmytro-ndp
- artaleks9
- tolusha
options: {}
reviewers:
- dmytro-ndp
- artaleks9
- tolusha
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
presubmits:
eclipse-che/che-server:
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build04
context: ci/prow/v12-bitbucket-flow
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: gcp
ci-operator.openshift.io/cloud-cluster-profile: gcp
ci-operator.openshift.io/variant: v12
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-che-server-main-v12-bitbucket-flow
rerun_command: /test v12-bitbucket-flow
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/bitbucket-flow-cluster-profile
- --target=bitbucket-flow
- --variant=v12
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/bitbucket-flow-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( | .* )v12-bitbucket-flow,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build04
context: ci/prow/v12-github-flow
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: gcp
ci-operator.openshift.io/cloud-cluster-profile: gcp
ci-operator.openshift.io/variant: v12
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-che-server-main-v12-github-flow
rerun_command: /test v12-github-flow
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/github-flow-cluster-profile
- --target=github-flow
- --variant=v12
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/github-flow-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( | .* )v12-github-flow,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build04
context: ci/prow/v12-gitlab-flow
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: gcp
ci-operator.openshift.io/cloud-cluster-profile: gcp
ci-operator.openshift.io/variant: v12
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-eclipse-che-che-server-main-v12-gitlab-flow
rerun_command: /test v12-gitlab-flow
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/gitlab-flow-cluster-profile
- --target=gitlab-flow
- --variant=v12
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/gitlab-flow-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( | .* )v12-gitlab-flow,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
approve:
- commandHelpLink: ""
repos:
- eclipse-che/che-server
require_self_approval: false
external_plugins:
eclipse-che/che-server:
- 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
- endpoint: http://backport-verifier
events:
- issue_comment
- pull_request
name: backport-verifier
- endpoint: http://cherrypick
events:
- pull_request
- issue_comment
name: cherrypick
- endpoint: http://needs-rebase
events:
- pull_request
name: needs-rebase
lgtm:
- repos:
- eclipse-che/che-server
review_acts_as_lgtm: true
plugins:
eclipse-che/che-server:
plugins:
- 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
Loading