Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
build_root:
image_stream_tag:
name: eco-ci-cd
namespace: telcov10n-ci
tag: eco-ci-cd
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: cnf-ran-ztp-tests
capabilities:
- intranet
cron: 0 0 31 2 *
steps:
env:
CLUSTER_NAME: kni-qe-129
HUB_OPERATORS: |
[
{"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"}},
{"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":[]}},
{"name":"advanced-cluster-management","catalog":"redhat-operators","nsname":"open-cluster-management","channel":"release-2.17","og_name":"open-cluster-management","subscription_name":"acm-operator-subscription","deploy_default_config":false,"og_spec":{"targetNamespaces":["open-cluster-management"]}},
{"name":"multicluster-engine","catalog":"redhat-operators","nsname":"multicluster-engine","channel":"stable-2.17","og_name":"multicluster-engine","subscription_name":"multicluster-engine","deploy_default_config":true,"og_spec":{}},
{"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-${VERSION_TAG}"},
{"name":"cluster-logging","catalog":"redhat-operators","nsname":"openshift-logging","channel":"stable-6.6"}
]
# METRICS_LIST: spoke_general_ocp,hub_general_ocp,sriov,sriov_fec,ptp,acm,talm,gitops,local_storage,logging
# REPORTER_LAUNCH_NAME: telco-ft-ran-oran
# REPORTER_TEMPLATE_NAME: Telco 5G RAN Regression 4_22 - Telco 5G RAN Regression
# - <build> - 4.22
# REPORTPORTAL_FILES: .reportportal_url_ORAN
SPOKE_OPERATORS: |
[
{"name":"sriov-fec","catalog":"certified-operators","nsname":"vran-acceleration-operators","channel":"stable"},
{"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"}},
{"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"},
{"name":"cluster-logging","catalog":"redhat-operators","nsname":"openshift-logging","channel":"stable-6.5","og_name":"cluster-logging","subscription_name":"cluster-logging","og_spec":{"targetNamespaces":[]}},
{"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"}}
]
VERSION: "4.22"
workflow: telcov10n-functional-cnf-ran-oran-ztp
zz_generated_metadata:
branch: main
org: openshift-kni
repo: eco-ci-cd
variant: cnf-ran-oran-4.22
Original file line number Diff line number Diff line change
Expand Up @@ -6880,6 +6880,80 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build07
cron: 0 0 31 2 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: openshift-kni
repo: eco-ci-cd
labels:
capability/intranet: intranet
ci-operator.openshift.io/variant: cnf-ran-oran-4.22
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-kni-eco-ci-cd-main-cnf-ran-oran-4.22-cnf-ran-ztp-tests
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --target=cnf-ran-ztp-tests
- --variant=cnf-ran-oran-4.22
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build07
cron: 0 12 * * 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ if [ "${CLUSTER_NAME}" = "kni-qe-106" ] || [ "${CLUSTER_NAME}" = "kni-qe-110" ];
/eco-ci-cd/inventories/ocp-deployment/host_vars/hypervisor
fi

# kni-qe-111 uses helix89 (same as kni-qe-108), ci-operator cannot mount the same secret twice.
if [ "${CLUSTER_NAME}" = "kni-qe-111" ]; then
# kni-qe-111 and kni-qe-129 use helix89 (same as kni-qe-108), ci-operator cannot mount the same secret twice.
if [ "${CLUSTER_NAME}" = "kni-qe-111" ] || [ "${CLUSTER_NAME}" = "kni-qe-129" ]; then
echo "Processing shared hypervisor inventory for ${CLUSTER_NAME} from kni-qe-108 mount"
process_inventory "${MOUNTED_HOST_INVENTORY}/kni-qe-108/hypervisor" \
/eco-ci-cd/inventories/ocp-deployment/host_vars/hypervisor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,19 @@ ref:
- namespace: test-credentials
name: telcov10n-ansible-hub-kni-qe-127
mount_path: /var/host_variables/kni-qe-127/master0
# kni-qe-129 (O-RAN hub)
- namespace: test-credentials
name: telcov10n-ansible-group-kni-qe-129-masters
mount_path: /var/group_variables/kni-qe-129/masters
- namespace: test-credentials
name: telcov10n-ansible-group-kni-qe-129-nodes
mount_path: /var/group_variables/kni-qe-129/nodes
- namespace: test-credentials
name: telcov10n-ansible-kni-qe-129-bastion
mount_path: /var/host_variables/kni-qe-129/bastion
- namespace: test-credentials
name: telcov10n-ansible-kni-qe-129-master0
mount_path: /var/host_variables/kni-qe-129/master0

documentation: |-
Deploy OCP SNO on the Hub cluster for CNF RAN
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approvers:
- ccardenosa
- eifrach
- kononovn
- mkochanowski
- rdiazcam
- rdiscala
- shaior
- timurmp
- rileyfw
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"path": "telcov10n/functional/cnf-ran/oran-ztp/telcov10n-functional-cnf-ran-oran-ztp-workflow.yaml",
"owners": {
"approvers": [
"ccardenosa",
"eifrach",
"kononovn",
"mkochanowski",
"rdiazcam",
"rdiscala",
"shaior",
"timurmp",
"rileyfw"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
workflow:
as: telcov10n-functional-cnf-ran-oran-ztp
documentation: |-
ZTP workflow for CNF RAN O-RAN testing:
1. Hub setup (kni-qe-129_hub-sno): deploy, configure, mirror operators

Same as the PTP GM ZTP workflow but without the spoke deploy and test
phases: the spoke is not deployed via ZTP and no gotests are run here.
steps:
pre:
# Hub cluster setup
- ref: telcov10n-functional-cnf-ran-hub-deploy
- ref: telcov10n-functional-cnf-ran-hub-config
- ref: telcov10n-functional-cnf-ran-mirror-spoke-operators
# post:
# - ref: telcov10n-functional-report
# - ref: telcov10n-functional-cnf-ran-send-slack-notification
# # Reports are verified on the bastion (not copied to the CI pod SHARED_DIR)
# # to avoid the 1 MB Kubernetes secret size limit.
# - ref: telcov10n-verify-junit-reports-bastion