Skip to content

Commit be68cbf

Browse files
authored
Add release branch CI for telco-reference (#63998)
Adding release-4.19 branch CI. Signed-off-by: Ian Miller <[email protected]>
1 parent c4ca755 commit be68cbf

File tree

2 files changed

+82
-0
lines changed

2 files changed

+82
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
build_root:
2+
project_image:
3+
dockerfile_literal: |
4+
FROM registry.ci.openshift.org/ocp/ubi-python-311:9
5+
USER 0
6+
RUN dnf -y install git python3 python3-pip diffutils && python3 -m pip install yamllint
7+
RUN curl -L https://github.com/openshift/kube-compare/releases/download/v0.9.0/kube-compare_linux_amd64.tar.gz | tar -xz -C /usr/bin kubectl-cluster_compare
8+
use_build_cache: true
9+
resources:
10+
'*':
11+
limits:
12+
memory: 4Gi
13+
requests:
14+
cpu: 100m
15+
memory: 200Mi
16+
tests:
17+
- as: lintcheck
18+
commands: |
19+
make ci-validate
20+
container:
21+
from: src
22+
zz_generated_metadata:
23+
branch: release-4.19
24+
org: openshift-kni
25+
repo: telco-reference
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
presubmits:
2+
openshift-kni/telco-reference:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^release-4\.19$
7+
- ^release-4\.19-
8+
cluster: build05
9+
context: ci/prow/lintcheck
10+
decorate: true
11+
decoration_config:
12+
skip_cloning: true
13+
labels:
14+
ci.openshift.io/generator: prowgen
15+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
16+
name: pull-ci-openshift-kni-telco-reference-release-4.19-lintcheck
17+
rerun_command: /test lintcheck
18+
spec:
19+
containers:
20+
- args:
21+
- --gcs-upload-secret=/secrets/gcs/service-account.json
22+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
23+
- --report-credentials-file=/etc/report/credentials
24+
- --target=lintcheck
25+
command:
26+
- ci-operator
27+
image: ci-operator:latest
28+
imagePullPolicy: Always
29+
name: ""
30+
resources:
31+
requests:
32+
cpu: 10m
33+
volumeMounts:
34+
- mountPath: /secrets/gcs
35+
name: gcs-credentials
36+
readOnly: true
37+
- mountPath: /secrets/manifest-tool
38+
name: manifest-tool-local-pusher
39+
readOnly: true
40+
- mountPath: /etc/pull-secret
41+
name: pull-secret
42+
readOnly: true
43+
- mountPath: /etc/report
44+
name: result-aggregator
45+
readOnly: true
46+
serviceAccountName: ci-operator
47+
volumes:
48+
- name: manifest-tool-local-pusher
49+
secret:
50+
secretName: manifest-tool-local-pusher
51+
- name: pull-secret
52+
secret:
53+
secretName: registry-pull-credentials
54+
- name: result-aggregator
55+
secret:
56+
secretName: result-aggregator
57+
trigger: (?m)^/test( | .* )lintcheck,?($|\s.*)

0 commit comments

Comments
 (0)