Skip to content

Commit c308984

Browse files
committed
TALM update for 4.22 branching
1 parent 588b285 commit c308984

5 files changed

Lines changed: 620 additions & 7 deletions

File tree

ci-operator/config/openshift-kni/cluster-group-upgrades-operator/openshift-kni-cluster-group-upgrades-operator-main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ operator:
2929
with: pipeline:cluster-group-upgrades-operator
3030
promotion:
3131
to:
32-
- name: "4.22"
32+
- name: "5.0"
3333
namespace: ocp-kni
3434
releases:
3535
initial:
3636
integration:
37-
name: "4.22"
37+
name: "5.0"
3838
namespace: ocp
3939
reference_policy: Local
4040
latest:
4141
integration:
4242
include_built_images: true
43-
name: "4.22"
43+
name: "5.0"
4444
namespace: ocp
4545
reference_policy: Local
4646
resources:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
base_images:
2+
base:
3+
name: ubi-minimal
4+
namespace: ocp
5+
tag: "9"
6+
build_root:
7+
from_repository: true
8+
images:
9+
items:
10+
- build_args:
11+
- name: COVER
12+
value: "true"
13+
dockerfile_path: Dockerfile
14+
from: base
15+
to: cluster-group-upgrades-operator
16+
- dockerfile_path: Dockerfile.precache
17+
from: base
18+
to: cluster-group-upgrades-operator-precache
19+
- dockerfile_path: Dockerfile.recovery
20+
from: base
21+
to: cluster-group-upgrades-operator-recovery
22+
- dockerfile_path: bundle.Dockerfile
23+
to: cluster-group-upgrades-operator-bundle
24+
operator:
25+
bundles:
26+
- dockerfile_path: bundle.Dockerfile
27+
substitutions:
28+
- pullspec: quay.io/openshift-kni/cluster-group-upgrades-operator:.*
29+
with: pipeline:cluster-group-upgrades-operator
30+
promotion:
31+
to:
32+
- name: "4.22"
33+
namespace: ocp-kni
34+
releases:
35+
initial:
36+
integration:
37+
name: "4.22"
38+
namespace: ocp
39+
reference_policy: Local
40+
latest:
41+
integration:
42+
include_built_images: true
43+
name: "4.22"
44+
namespace: ocp
45+
reference_policy: Local
46+
resources:
47+
'*':
48+
limits:
49+
memory: 4Gi
50+
requests:
51+
cpu: 100m
52+
memory: 200Mi
53+
tests:
54+
- as: ci-job
55+
commands: |
56+
unset VERSION
57+
export XDG_CACHE_HOME=/tmp/.cache
58+
export XDG_CONFIG_HOME=/tmp/.config
59+
export XDG_DATA_HOME=/tmp/.local/share
60+
make ci-job
61+
make coveralls-download
62+
export COVERALLS_REPO_TOKEN=$(cat /etc/coveralls/TOKEN)
63+
./bin/coveralls report --job-flag "unit-tests" --build-number=$(git rev-parse HEAD) coverage.out
64+
container:
65+
from: src
66+
secrets:
67+
- mount_path: /etc/coveralls
68+
name: cluster-group-upgrades-operator-coverall
69+
skip_if_only_changed: ^(?:.*/)?(?:\.gitignore|\.tekton/.*|\.konflux/.*|.*\.md|OWNERS|OWNERS_ALIASES|LICENSE)$
70+
- as: integration
71+
skip_if_only_changed: ^(?:.*/)?(?:\.gitignore|\.tekton/.*|\.konflux/.*|.*\.md|OWNERS|OWNERS_ALIASES|LICENSE)$
72+
steps:
73+
cluster_profile: aws-telco
74+
env:
75+
BASE_DOMAIN: telco5g-ci.devcluster.openshift.com
76+
OO_CHANNEL: alpha
77+
OO_INSTALL_NAMESPACE: openshift-cluster-group-upgrades
78+
OO_PACKAGE: cluster-group-upgrades-operator
79+
OO_TARGET_NAMESPACES: '!all'
80+
USER_TAGS: |
81+
ci-job-source prowci
82+
ci-job-branch main
83+
ci-job-fullname openshift-kni-cluster-group-upgrades-operator-main
84+
ci-job-type optional-operators-ci-aws
85+
ci-repo-name cluster-group-upgrades-operator
86+
ci-org-name openshift-kni
87+
pre:
88+
- chain: ipi-aws-pre
89+
- as: pre
90+
cli: latest
91+
commands: |
92+
KUBECONFIG="${SHARED_DIR}/kubeconfig"
93+
export KUBECONFIG
94+
cp $(echo "${KUBECONFIG}") /go/src/github.com/openshift-kni/cluster-group-upgrades-operator/kubeconfig
95+
make non-kind-deps-update
96+
make install-acm-crds
97+
from: src
98+
resources:
99+
requests:
100+
cpu: 100m
101+
memory: 200Mi
102+
- ref: optional-operators-subscribe
103+
test:
104+
- as: integration
105+
cli: latest
106+
commands: |
107+
KUBECONFIG="${SHARED_DIR}/kubeconfig"
108+
export KUBECONFIG
109+
cp $(echo "${KUBECONFIG}") /go/src/github.com/openshift-kni/cluster-group-upgrades-operator/kubeconfig
110+
./hack/add-sidecar-csv.sh
111+
sleep 60
112+
make complete-kuttl-test
113+
./hack/extract-coverage.sh
114+
sed -i 's/\/workspace/\./g' ./runtime-coverage/coverage.out
115+
make coveralls-download
116+
export COVERALLS_REPO_TOKEN=$(cat /etc/coveralls/TOKEN)
117+
./bin/coveralls report --job-flag "integration-tests" --build-number=$(git rev-parse HEAD) ./runtime-coverage/coverage.out
118+
credentials:
119+
- mount_path: /etc/coveralls
120+
name: cluster-group-upgrades-operator-coverall
121+
namespace: test-credentials
122+
from: src
123+
resources:
124+
requests:
125+
cpu: 100m
126+
memory: 200Mi
127+
workflow: optional-operators-ci-aws
128+
- as: tekton-linting
129+
commands: |
130+
unset VERSION
131+
export XDG_CACHE_HOME=/tmp/.cache
132+
export XDG_CONFIG_HOME=/tmp/.config
133+
export XDG_DATA_HOME=/tmp/.local/share
134+
make yamllint
135+
container:
136+
from: src
137+
optional: true
138+
run_if_changed: ^(?:.*/)?(?:\.tekton/.*|\.konflux/.*)$
139+
- as: security
140+
optional: true
141+
steps:
142+
env:
143+
PROJECT_NAME: cluster-group-upgrades-operator
144+
SNYK_CODE_ADDITIONAL_ARGS: --severity-threshold=high
145+
workflow: openshift-ci-security
146+
zz_generated_metadata:
147+
branch: release-4.22
148+
org: openshift-kni
149+
repo: cluster-group-upgrades-operator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
postsubmits:
2+
openshift-kni/cluster-group-upgrades-operator:
3+
- agent: kubernetes
4+
always_run: true
5+
branches:
6+
- ^release-4\.22$
7+
cluster: build01
8+
decorate: true
9+
labels:
10+
ci-operator.openshift.io/is-promotion: "true"
11+
ci.openshift.io/generator: prowgen
12+
max_concurrency: 1
13+
name: branch-ci-openshift-kni-cluster-group-upgrades-operator-release-4.22-images
14+
spec:
15+
containers:
16+
- args:
17+
- --gcs-upload-secret=/secrets/gcs/service-account.json
18+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
19+
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
20+
- --promote
21+
- --report-credentials-file=/etc/report/credentials
22+
- --target=[images]
23+
command:
24+
- ci-operator
25+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
26+
imagePullPolicy: Always
27+
name: ""
28+
resources:
29+
requests:
30+
cpu: 10m
31+
volumeMounts:
32+
- mountPath: /secrets/gcs
33+
name: gcs-credentials
34+
readOnly: true
35+
- mountPath: /secrets/manifest-tool
36+
name: manifest-tool-local-pusher
37+
readOnly: true
38+
- mountPath: /etc/pull-secret
39+
name: pull-secret
40+
readOnly: true
41+
- mountPath: /etc/push-secret
42+
name: push-secret
43+
readOnly: true
44+
- mountPath: /etc/report
45+
name: result-aggregator
46+
readOnly: true
47+
serviceAccountName: ci-operator
48+
volumes:
49+
- name: manifest-tool-local-pusher
50+
secret:
51+
secretName: manifest-tool-local-pusher
52+
- name: pull-secret
53+
secret:
54+
secretName: registry-pull-credentials
55+
- name: push-secret
56+
secret:
57+
secretName: registry-push-credentials-ci-central
58+
- name: result-aggregator
59+
secret:
60+
secretName: result-aggregator

0 commit comments

Comments
 (0)