Skip to content

Commit 7d85a50

Browse files
committed
Adding pulp-operator
1 parent 0907b92 commit 7d85a50

File tree

7 files changed

+305
-0
lines changed

7 files changed

+305
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea/*
2+
.vscode/
23
jenkins/library/.idea/*
34
*.iml
45
*_generated.yml
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
approvers:
2+
- fao89
3+
options: {}
4+
reviewers:
5+
- fao89
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
build_root:
2+
project_image:
3+
dockerfile_path: .ci/prow/Dockerfile.ci-operator
4+
releases:
5+
latest:
6+
candidate:
7+
architecture: amd64
8+
product: ocp
9+
relative: 1
10+
stream: nightly
11+
version: "4.10"
12+
resources:
13+
'*':
14+
requests:
15+
cpu: 1000m
16+
memory: 4Gi
17+
tests:
18+
- as: deploy-pulp-on-openshift
19+
steps:
20+
allow_skip_on_success: true
21+
cluster_profile: azure4
22+
test:
23+
- as: deploy-pulp
24+
commands: |
25+
mkdir -p "${HOME}"
26+
.ci/prow/openshift-test.sh
27+
credentials:
28+
- mount_path: /var/run/cred
29+
name: secrets-for-testing
30+
namespace: test-credentials
31+
env:
32+
- default: /tmp/home
33+
name: HOME
34+
from: src
35+
resources:
36+
requests:
37+
cpu: 1000m
38+
memory: 4Gi
39+
workflow: ipi-azure
40+
- as: deploy-galaxy-on-openshift
41+
steps:
42+
allow_skip_on_success: true
43+
cluster_profile: azure4
44+
test:
45+
- as: deploy-galaxy
46+
commands: |
47+
mkdir -p "${HOME}"
48+
CI_TEST=galaxy API_ROOT="/api/galaxy/pulp/" .ci/prow/openshift-test.sh
49+
credentials:
50+
- mount_path: /var/run/cred
51+
name: secrets-for-testing
52+
namespace: test-credentials
53+
env:
54+
- default: /tmp/home
55+
name: HOME
56+
from: src
57+
resources:
58+
requests:
59+
cpu: 1000m
60+
memory: 4Gi
61+
workflow: ipi-azure
62+
zz_generated_metadata:
63+
branch: main
64+
org: pulp
65+
repo: pulp-operator
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
approvers:
2+
- fao89
3+
options: {}
4+
reviewers:
5+
- fao89
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
presubmits:
2+
pulp/pulp-operator:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^main$
7+
- ^main-
8+
cluster: build01
9+
context: ci/prow/deploy-galaxy-on-openshift
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
labels:
14+
ci-operator.openshift.io/cloud: azure4
15+
ci-operator.openshift.io/cloud-cluster-profile: azure4
16+
ci.openshift.io/generator: prowgen
17+
job-release: "4.10"
18+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
19+
name: pull-ci-pulp-pulp-operator-main-deploy-galaxy-on-openshift
20+
rerun_command: /test deploy-galaxy-on-openshift
21+
spec:
22+
containers:
23+
- args:
24+
- --gcs-upload-secret=/secrets/gcs/service-account.json
25+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
26+
- --lease-server-credentials-file=/etc/boskos/credentials
27+
- --report-credentials-file=/etc/report/credentials
28+
- --secret-dir=/secrets/ci-pull-credentials
29+
- --secret-dir=/usr/local/deploy-galaxy-on-openshift-cluster-profile
30+
- --target=deploy-galaxy-on-openshift
31+
command:
32+
- ci-operator
33+
image: ci-operator:latest
34+
imagePullPolicy: Always
35+
name: ""
36+
resources:
37+
requests:
38+
cpu: 10m
39+
volumeMounts:
40+
- mountPath: /etc/boskos
41+
name: boskos
42+
readOnly: true
43+
- mountPath: /secrets/ci-pull-credentials
44+
name: ci-pull-credentials
45+
readOnly: true
46+
- mountPath: /usr/local/deploy-galaxy-on-openshift-cluster-profile
47+
name: cluster-profile
48+
- mountPath: /secrets/gcs
49+
name: gcs-credentials
50+
readOnly: true
51+
- mountPath: /etc/pull-secret
52+
name: pull-secret
53+
readOnly: true
54+
- mountPath: /etc/report
55+
name: result-aggregator
56+
readOnly: true
57+
serviceAccountName: ci-operator
58+
volumes:
59+
- name: boskos
60+
secret:
61+
items:
62+
- key: credentials
63+
path: credentials
64+
secretName: boskos-credentials
65+
- name: ci-pull-credentials
66+
secret:
67+
secretName: ci-pull-credentials
68+
- name: cluster-profile
69+
secret:
70+
secretName: cluster-secrets-azure4
71+
- name: pull-secret
72+
secret:
73+
secretName: registry-pull-credentials
74+
- name: result-aggregator
75+
secret:
76+
secretName: result-aggregator
77+
trigger: (?m)^/test( | .* )deploy-galaxy-on-openshift,?($|\s.*)
78+
- agent: kubernetes
79+
always_run: true
80+
branches:
81+
- ^main$
82+
- ^main-
83+
cluster: build01
84+
context: ci/prow/deploy-pulp-on-openshift
85+
decorate: true
86+
decoration_config:
87+
skip_cloning: true
88+
labels:
89+
ci-operator.openshift.io/cloud: azure4
90+
ci-operator.openshift.io/cloud-cluster-profile: azure4
91+
ci.openshift.io/generator: prowgen
92+
job-release: "4.10"
93+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
94+
name: pull-ci-pulp-pulp-operator-main-deploy-pulp-on-openshift
95+
rerun_command: /test deploy-pulp-on-openshift
96+
spec:
97+
containers:
98+
- args:
99+
- --gcs-upload-secret=/secrets/gcs/service-account.json
100+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
101+
- --lease-server-credentials-file=/etc/boskos/credentials
102+
- --report-credentials-file=/etc/report/credentials
103+
- --secret-dir=/secrets/ci-pull-credentials
104+
- --secret-dir=/usr/local/deploy-pulp-on-openshift-cluster-profile
105+
- --target=deploy-pulp-on-openshift
106+
command:
107+
- ci-operator
108+
image: ci-operator:latest
109+
imagePullPolicy: Always
110+
name: ""
111+
resources:
112+
requests:
113+
cpu: 10m
114+
volumeMounts:
115+
- mountPath: /etc/boskos
116+
name: boskos
117+
readOnly: true
118+
- mountPath: /secrets/ci-pull-credentials
119+
name: ci-pull-credentials
120+
readOnly: true
121+
- mountPath: /usr/local/deploy-pulp-on-openshift-cluster-profile
122+
name: cluster-profile
123+
- mountPath: /secrets/gcs
124+
name: gcs-credentials
125+
readOnly: true
126+
- mountPath: /etc/pull-secret
127+
name: pull-secret
128+
readOnly: true
129+
- mountPath: /etc/report
130+
name: result-aggregator
131+
readOnly: true
132+
serviceAccountName: ci-operator
133+
volumes:
134+
- name: boskos
135+
secret:
136+
items:
137+
- key: credentials
138+
path: credentials
139+
secretName: boskos-credentials
140+
- name: ci-pull-credentials
141+
secret:
142+
secretName: ci-pull-credentials
143+
- name: cluster-profile
144+
secret:
145+
secretName: cluster-secrets-azure4
146+
- name: pull-secret
147+
secret:
148+
secretName: registry-pull-credentials
149+
- name: result-aggregator
150+
secret:
151+
secretName: result-aggregator
152+
trigger: (?m)^/test( | .* )deploy-pulp-on-openshift,?($|\s.*)
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
approve:
2+
- commandHelpLink: ""
3+
repos:
4+
- pulp/pulp-operator
5+
require_self_approval: false
6+
external_plugins:
7+
pulp/pulp-operator:
8+
- endpoint: http://refresh
9+
events:
10+
- issue_comment
11+
name: refresh
12+
- endpoint: http://cherrypick
13+
events:
14+
- issue_comment
15+
- pull_request
16+
name: cherrypick
17+
- endpoint: http://needs-rebase
18+
events:
19+
- issue_comment
20+
- pull_request
21+
name: needs-rebase
22+
- endpoint: http://backport-verifier
23+
events:
24+
- issue_comment
25+
- pull_request
26+
name: backport-verifier
27+
- endpoint: http://payload-testing-prow-plugin
28+
events:
29+
- issue_comment
30+
name: payload-testing-prow-plugin
31+
lgtm:
32+
- repos:
33+
- pulp/pulp-operator
34+
review_acts_as_lgtm: true
35+
plugins:
36+
pulp/pulp-operator:
37+
plugins:
38+
- assign
39+
- blunderbuss
40+
- bugzilla
41+
- cat
42+
- dog
43+
- heart
44+
- golint
45+
- goose
46+
- help
47+
- hold
48+
- jira
49+
- label
50+
- lgtm
51+
- lifecycle
52+
- override
53+
- pony
54+
- retitle
55+
- shrug
56+
- sigmention
57+
- skip
58+
- trigger
59+
- verify-owners
60+
- owners-label
61+
- wip
62+
- yuks
63+
- approve
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
tide:
2+
queries:
3+
- labels:
4+
- approved
5+
- lgtm
6+
missingLabels:
7+
- backports/unvalidated-commits
8+
- bugzilla/invalid-bug
9+
- do-not-merge/hold
10+
- do-not-merge/invalid-owners-file
11+
- do-not-merge/work-in-progress
12+
- needs-rebase
13+
repos:
14+
- pulp/pulp-operator

0 commit comments

Comments
 (0)