|
| 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 |
0 commit comments