Skip to content

Commit 66960b8

Browse files
authored
cnf ran: added two-sno lane for ocp4.18 (#77971)
1 parent 01acd94 commit 66960b8

2 files changed

Lines changed: 145 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
build_root:
2+
image_stream_tag:
3+
name: eco-ci-cd
4+
namespace: telcov10n-ci
5+
tag: eco-ci-cd
6+
releases:
7+
latest:
8+
candidate:
9+
product: ocp
10+
stream: nightly
11+
version: "4.18"
12+
resources:
13+
'*':
14+
limits:
15+
memory: 4Gi
16+
requests:
17+
cpu: 100m
18+
memory: 200Mi
19+
tests:
20+
- as: cnf-ran-ztp-tests
21+
capabilities:
22+
- intranet
23+
cron: 0 23 31 2 *
24+
steps:
25+
env:
26+
CLUSTER_NAME: fthub-01
27+
HUB_OPERATORS: |
28+
[
29+
{"name":"local-storage-operator","catalog":"redhat-operators","nsname":"openshift-local-storage","channel":"stable","og_name":"local-operator-group","subscription_name":"local-storage-operator","deploy_default_config":false,"ns_annotations":{"workload.openshift.io/allowed":"management"}},
30+
{"name":"openshift-gitops-operator","catalog":"redhat-operators","nsname":"openshift-gitops-operator","channel":"latest","og_name":"openshift-gitops-operator","subscription_name":"openshift-gitops-operator","deploy_default_config":false,"og_spec":{"targetNamespaces":[]}},
31+
{"name":"advanced-cluster-management","catalog":"redhat-operators","nsname":"open-cluster-management","channel":"release-2.13","default_channel":"release-2.16","og_name":"open-cluster-management","subscription_name":"acm-operator-subscription","deploy_default_config":false,"og_spec":{"targetNamespaces":["open-cluster-management"]}},
32+
{"name":"multicluster-engine","catalog":"redhat-operators","nsname":"multicluster-engine","channel":"stable-2.8","default_channel":"stable-2.11","og_name":"multicluster-engine","subscription_name":"multicluster-engine","deploy_default_config":true,"og_spec":{}},
33+
{"name":"topology-aware-lifecycle-manager","catalog":"topology-aware-lifecycle-manager-fbc","og_name":"global-operators","nsname":"openshift-operators","fbc_iib_repo":"latest","channel":"stable","deploy_default_config":false,"ocp_operator_mirror_fbc_image_base":"quay.io/redhat-user-workloads/telco-5g-tenant/topology-aware-lifecycle-manager-fbc-4-18"}
34+
]
35+
RAN_METRICS_LIST: spoke_general_ocp,hub_general_ocp,sriov,sriov_fec,ptp,acm,talm,gitops,local_storage,logging
36+
REPORTER_TEMPLATE_NAME: Telco 5G RAN Regression 4_18 - Telco 5G RAN Regression
37+
- <build> - 4.18
38+
REPORTPORTAL_FILES: .reportportal_url_Two_Sno
39+
REPORTS_PORTAL_ATTRIBUTES_ENV: ci-lane:telco-ft-ran-two-sno;spoke_ocp_version:4.18
40+
SPOKE_CLUSTER: '[''worker-0'',''worker-1'']'
41+
SPOKE_OPERATORS: |
42+
[
43+
{"name":"sriov-fec","catalog":"certified-operators","nsname":"vran-acceleration-operators","channel":"stable"},
44+
{"name":"ptp-operator","catalog":"redhat-operators-ptp-art","fbc_iib_repo":"ose-ptp-rhel9-operator","nsname":"openshift-ptp","channel":"stable","ns_labels":{"workload.openshift.io/allowed":"management","name":"openshift-ptp"}},
45+
{"name":"sriov-network-operator","catalog":"redhat-operators-sriov-art","fbc_iib_repo":"ose-sriov-network-rhel9-operator","nsname":"openshift-sriov-network-operator","channel":"stable","og_name":"sriov-network-operators","subscription_name":"sriov-network-operator-subscription"},
46+
{"name":"cluster-logging","catalog":"redhat-operators","nsname":"openshift-logging","channel":"stable-6.1","default_channel":"stable-6.3","og_name":"cluster-logging","subscription_name":"cluster-logging","og_spec":{"targetNamespaces":[]}},
47+
{"name":"local-storage-operator","fbc_iib_repo":"ose-local-storage-rhel9-operator","catalog":"redhat-operators-storage-art","nsname":"openshift-local-storage","channel":"stable","og_name":"local-operator-group","subscription_name":"local-storage-operator","deploy_default_config":false,"ns_labels":{"workload.openshift.io/allowed":"management"}}
48+
]
49+
VERSION: "4.18"
50+
ZTP_GIT_BRANCH: two_sno
51+
pre:
52+
- ref: telcov10n-functional-cnf-ran-hub-deploy
53+
- ref: telcov10n-functional-cnf-ran-hub-config
54+
- ref: telcov10n-functional-cnf-ran-mirror-spoke-operators
55+
- ref: telcov10n-functional-cnf-ran-deploy-spoke-sno
56+
- ref: telcov10n-functional-cnf-ran-eco-gotests-two-sno
57+
- ref: telcov10n-functional-cnf-ran-report-compact
58+
- ref: telcov10n-functional-cnf-ran-send-slack-notification
59+
zz_generated_metadata:
60+
branch: main
61+
org: openshift-kni
62+
repo: eco-ci-cd
63+
variant: cnf-ran-two-sno-4.18

ci-operator/jobs/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-main-periodics.yaml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3822,6 +3822,88 @@ periodics:
38223822
- name: result-aggregator
38233823
secret:
38243824
secretName: result-aggregator
3825+
- agent: kubernetes
3826+
cluster: build05
3827+
cron: 0 23 31 2 *
3828+
decorate: true
3829+
decoration_config:
3830+
skip_cloning: true
3831+
extra_refs:
3832+
- base_ref: main
3833+
org: openshift-kni
3834+
repo: eco-ci-cd
3835+
labels:
3836+
capability/intranet: intranet
3837+
ci-operator.openshift.io/variant: cnf-ran-two-sno-4.18
3838+
ci.openshift.io/generator: prowgen
3839+
job-release: "4.18"
3840+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
3841+
name: periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-two-sno-4.18-cnf-ran-ztp-tests
3842+
spec:
3843+
containers:
3844+
- args:
3845+
- --gcs-upload-secret=/secrets/gcs/service-account.json
3846+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
3847+
- --lease-server-credentials-file=/etc/boskos/credentials
3848+
- --report-credentials-file=/etc/report/credentials
3849+
- --secret-dir=/secrets/ci-pull-credentials
3850+
- --target=cnf-ran-ztp-tests
3851+
- --variant=cnf-ran-two-sno-4.18
3852+
command:
3853+
- ci-operator
3854+
env:
3855+
- name: HTTP_SERVER_IP
3856+
valueFrom:
3857+
fieldRef:
3858+
fieldPath: status.podIP
3859+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
3860+
imagePullPolicy: Always
3861+
name: ""
3862+
ports:
3863+
- containerPort: 8080
3864+
name: http
3865+
resources:
3866+
requests:
3867+
cpu: 10m
3868+
volumeMounts:
3869+
- mountPath: /etc/boskos
3870+
name: boskos
3871+
readOnly: true
3872+
- mountPath: /secrets/ci-pull-credentials
3873+
name: ci-pull-credentials
3874+
readOnly: true
3875+
- mountPath: /secrets/gcs
3876+
name: gcs-credentials
3877+
readOnly: true
3878+
- mountPath: /secrets/manifest-tool
3879+
name: manifest-tool-local-pusher
3880+
readOnly: true
3881+
- mountPath: /etc/pull-secret
3882+
name: pull-secret
3883+
readOnly: true
3884+
- mountPath: /etc/report
3885+
name: result-aggregator
3886+
readOnly: true
3887+
serviceAccountName: ci-operator
3888+
volumes:
3889+
- name: boskos
3890+
secret:
3891+
items:
3892+
- key: credentials
3893+
path: credentials
3894+
secretName: boskos-credentials
3895+
- name: ci-pull-credentials
3896+
secret:
3897+
secretName: ci-pull-credentials
3898+
- name: manifest-tool-local-pusher
3899+
secret:
3900+
secretName: manifest-tool-local-pusher
3901+
- name: pull-secret
3902+
secret:
3903+
secretName: registry-pull-credentials
3904+
- name: result-aggregator
3905+
secret:
3906+
secretName: result-aggregator
38253907
- agent: kubernetes
38263908
cluster: build05
38273909
cron: 0 23 31 2 *

0 commit comments

Comments
 (0)