-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] ZTP Left shifting for the Telco QE KPI testing
This commit is a PoC by now. Signed-off-by: Carlos Cardenosa <[email protected]>
- Loading branch information
1 parent
51e766d
commit 3bee3cb
Showing
13 changed files
with
706 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...d/openshift-kni-eco-ci-cd-ztp-left-shifting-kpi__sno-virtualised-hub-ztp-4.17-latest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
base_images: | ||
base: | ||
name: "4.17" | ||
namespace: ocp | ||
tag: ansible | ||
cli: | ||
name: "4.17" | ||
namespace: ocp | ||
tag: cli | ||
build_root: | ||
project_image: | ||
dockerfile_literal: |- | ||
FROM quay.io/centos/centos:stream9 | ||
RUN \ | ||
dnf install -y git python3-pip && \ | ||
dnf clean all && \ | ||
curl -sSL -o openshift-client-linux.tar.gz https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.11.9/openshift-client-linux.tar.gz && \ | ||
tar -zxvf openshift-client-linux.tar.gz -C /usr/local/bin oc kubectl && \ | ||
rm -f openshift-client-linux.tar.gz && \ | ||
pip3 install --no-cache-dir \ | ||
"ansible==8.7.0" \ | ||
"netaddr==1.3.0" \ | ||
&& \ | ||
echo | ||
releases: | ||
latest: | ||
release: | ||
architecture: amd64 | ||
channel: candidate | ||
version: "4.17" | ||
resources: | ||
'*': | ||
limits: | ||
memory: 4Gi | ||
requests: | ||
cpu: 100m | ||
memory: 200Mi | ||
tests: | ||
- as: telcov10n-sno-virtualised-hub-ztp-f360 | ||
cluster: build05 | ||
cron: '* 1 * * *' | ||
steps: | ||
env: | ||
AUX_HOST: helix92.telcoqe.eng.rdu2.dc.redhat.com | ||
MCH_NAMESPACE: open-cluster-management | ||
OCP_HUB_VERSION: "4.17" | ||
OPERATORS: | | ||
# - local-storage-operator | ||
- lvms-operator | ||
- openshift-gitops-operator | ||
- advanced-cluster-management | ||
- topology-aware-lifecycle-manager | ||
# - multicluster-engine | ||
SHARED_HUB_CLUSTER_PROFILE: ztp-hub-preserved-prod-cluster_profile_dir | ||
test: | ||
- ref: install-operators-verify | ||
- ref: telcov10n-sno-hub-ztp-verify-hub | ||
workflow: telcov10n-sno-virtualised-hub-ztp | ||
zz_generated_metadata: | ||
branch: ztp-left-shifting-kpi | ||
org: openshift-kni | ||
repo: eco-ci-cd | ||
variant: sno-virtualised-hub-ztp-4.17-latest |
64 changes: 64 additions & 0 deletions
64
...jobs/openshift-kni/eco-ci-cd/openshift-kni-eco-ci-cd-ztp-left-shifting-kpi-periodics.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
periodics: | ||
- agent: kubernetes | ||
cluster: build05 | ||
cron: '* 1 * * *' | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
extra_refs: | ||
- base_ref: ztp-left-shifting-kpi | ||
org: openshift-kni | ||
repo: eco-ci-cd | ||
labels: | ||
ci-operator.openshift.io/cluster: build05 | ||
ci-operator.openshift.io/variant: sno-virtualised-hub-ztp-4.17-latest | ||
ci.openshift.io/generator: prowgen | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: periodic-ci-openshift-kni-eco-ci-cd-ztp-left-shifting-kpi-sno-virtualised-hub-ztp-4.17-latest-telcov10n-sno-virtualised-hub-ztp-f360 | ||
spec: | ||
containers: | ||
- args: | ||
- --gcs-upload-secret=/secrets/gcs/service-account.json | ||
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson | ||
- --report-credentials-file=/etc/report/credentials | ||
- --secret-dir=/secrets/ci-pull-credentials | ||
- --target=telcov10n-sno-virtualised-hub-ztp-f360 | ||
- --variant=sno-virtualised-hub-ztp-4.17-latest | ||
command: | ||
- ci-operator | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /secrets/ci-pull-credentials | ||
name: ci-pull-credentials | ||
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: ci-pull-credentials | ||
secret: | ||
secretName: ci-pull-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 |
1 change: 1 addition & 0 deletions
1
ci-operator/step-registry/telcov10n/sno-virtualised-hub-ztp/OWNERS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../OWNERS |
1 change: 1 addition & 0 deletions
1
ci-operator/step-registry/telcov10n/sno-virtualised-hub-ztp/deploy-hub/OWNERS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../OWNERS |
Oops, something went wrong.