Skip to content

Commit e43e260

Browse files
committed
ci-operator: add kubecsr
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
1 parent d7755b8 commit e43e260

5 files changed

Lines changed: 219 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DO NOT EDIT; this file is auto-generated using tools/populate-owners.
2+
# from https://github.com/openshift/etcd/blob/ea0cf681c7f0278eff72846a6bfcd017cdfc83bf/OWNERS
3+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
4+
5+
approvers:
6+
- abhinavdahiya
7+
- crawford
8+
- csrwng
9+
- ericavonb
10+
- hexfusion
11+
- smarterclayton
12+
- wking
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
tag_specification:
2+
name: '4.0'
3+
namespace: ocp
4+
promotion:
5+
name: '4.0'
6+
namespace: ocp
7+
base_images:
8+
base:
9+
name: '4.0'
10+
namespace: ocp
11+
tag: base
12+
canonical_go_repository: github.com/coreos/kubecsr
13+
images:
14+
- dockerfile_path: Dockerfile.kube-client-agent.openshift
15+
from: base
16+
to: kube-client-agent
17+
- dockerfile_path: Dockerfile.kube-etcd-signer-server.openshift
18+
from: base
19+
to: kube-etcd-signer-server
20+
resources:
21+
'*':
22+
limits:
23+
memory: 4Gi
24+
requests:
25+
cpu: 100m
26+
memory: 200Mi
27+
build_root:
28+
image_stream_tag:
29+
cluster: https://api.ci.openshift.org
30+
name: release
31+
namespace: openshift
32+
tag: golang-1.10
33+
tests:
34+
- as: unit
35+
commands: make check
36+
container:
37+
from: src
38+
- as: e2e-aws
39+
commands: TEST_SUITE=openshift/conformance/parallel run-tests
40+
openshift_installer:
41+
cluster_profile: aws
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DO NOT EDIT; this file is auto-generated using tools/populate-owners.
2+
# from https://github.com/openshift/etcd/blob/ea0cf681c7f0278eff72846a6bfcd017cdfc83bf/OWNERS
3+
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
4+
5+
approvers:
6+
- abhinavdahiya
7+
- crawford
8+
- csrwng
9+
- ericavonb
10+
- hexfusion
11+
- smarterclayton
12+
- wking
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
postsubmits:
2+
openshift/kubecsr:
3+
- agent: kubernetes
4+
branches:
5+
- ^openshift-4\.0$
6+
context: ""
7+
decorate: true
8+
decoration_config:
9+
skip_cloning: true
10+
name: branch-ci-openshift-kubecsr-openshift-4.0-images
11+
spec:
12+
containers:
13+
- args:
14+
- --artifact-dir=$(ARTIFACTS)
15+
- --give-pr-author-access-to-namespace=true
16+
- --promote
17+
- --target=[images]
18+
command:
19+
- ci-operator
20+
env:
21+
- name: CONFIG_SPEC
22+
valueFrom:
23+
configMapKeyRef:
24+
key: openshift-kubecsr-openshift-4.0.yaml
25+
name: ci-operator-4.0-configs
26+
image: ci-operator:latest
27+
imagePullPolicy: Always
28+
name: ""
29+
resources:
30+
requests:
31+
cpu: 10m
32+
serviceAccountName: ci-operator
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
presubmits:
2+
openshift/kubecsr:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- openshift-4.0
7+
context: ci/prow/e2e-aws
8+
decorate: true
9+
decoration_config:
10+
skip_cloning: true
11+
name: pull-ci-openshift-kubecsr-openshift-4.0-e2e-aws
12+
rerun_command: /test e2e-aws
13+
spec:
14+
containers:
15+
- args:
16+
- --artifact-dir=$(ARTIFACTS)
17+
- --give-pr-author-access-to-namespace=true
18+
- --secret-dir=/usr/local/e2e-aws-cluster-profile
19+
- --target=e2e-aws
20+
- --template=/usr/local/e2e-aws
21+
command:
22+
- ci-operator
23+
env:
24+
- name: CLUSTER_TYPE
25+
value: aws
26+
- name: CONFIG_SPEC
27+
valueFrom:
28+
configMapKeyRef:
29+
key: openshift-kubecsr-openshift-4.0.yaml
30+
name: ci-operator-4.0-configs
31+
- name: JOB_NAME_SAFE
32+
value: e2e-aws
33+
- name: TEST_COMMAND
34+
value: TEST_SUITE=openshift/conformance/parallel run-tests
35+
image: ci-operator:latest
36+
imagePullPolicy: Always
37+
name: ""
38+
resources:
39+
requests:
40+
cpu: 10m
41+
volumeMounts:
42+
- mountPath: /usr/local/e2e-aws-cluster-profile
43+
name: cluster-profile
44+
- mountPath: /usr/local/e2e-aws
45+
name: job-definition
46+
subPath: cluster-launch-installer-e2e.yaml
47+
serviceAccountName: ci-operator
48+
volumes:
49+
- name: cluster-profile
50+
projected:
51+
sources:
52+
- secret:
53+
name: cluster-secrets-aws
54+
- configMap:
55+
name: prow-job-cluster-launch-installer-e2e
56+
name: job-definition
57+
trigger: '(?m)^/test (?:.*? )?e2e-aws(?: .*?)?$'
58+
- agent: kubernetes
59+
always_run: true
60+
branches:
61+
- openshift-4.0
62+
context: ci/prow/images
63+
decorate: true
64+
decoration_config:
65+
skip_cloning: true
66+
name: pull-ci-openshift-kubecsr-openshift-4.0-images
67+
rerun_command: /test images
68+
spec:
69+
containers:
70+
- args:
71+
- --artifact-dir=$(ARTIFACTS)
72+
- --give-pr-author-access-to-namespace=true
73+
- --target=[images]
74+
- --target=[release:latest]
75+
command:
76+
- ci-operator
77+
env:
78+
- name: CONFIG_SPEC
79+
valueFrom:
80+
configMapKeyRef:
81+
key: openshift-kubecsr-openshift-4.0.yaml
82+
name: ci-operator-4.0-configs
83+
image: ci-operator:latest
84+
imagePullPolicy: Always
85+
name: ""
86+
resources:
87+
requests:
88+
cpu: 10m
89+
serviceAccountName: ci-operator
90+
trigger: '(?m)^/test (?:.*? )?images(?: .*?)?$'
91+
- agent: kubernetes
92+
always_run: true
93+
branches:
94+
- openshift-4.0
95+
context: ci/prow/unit
96+
decorate: true
97+
decoration_config:
98+
skip_cloning: true
99+
name: pull-ci-openshift-kubecsr-openshift-4.0-unit
100+
rerun_command: /test unit
101+
spec:
102+
containers:
103+
- args:
104+
- --artifact-dir=$(ARTIFACTS)
105+
- --give-pr-author-access-to-namespace=true
106+
- --target=unit
107+
command:
108+
- ci-operator
109+
env:
110+
- name: CONFIG_SPEC
111+
valueFrom:
112+
configMapKeyRef:
113+
key: openshift-kubecsr-openshift-4.0.yaml
114+
name: ci-operator-4.0-configs
115+
image: ci-operator:latest
116+
imagePullPolicy: Always
117+
name: ""
118+
resources:
119+
requests:
120+
cpu: 10m
121+
serviceAccountName: ci-operator
122+
trigger: '(?m)^/test (?:.*? )?unit(?: .*?)?$'

0 commit comments

Comments
 (0)