Skip to content

Commit

Permalink
kni: nrop: kickoff 4.19 branch
Browse files Browse the repository at this point in the history
Main is now poiting to 4.19, and release-4.18 was branched so update the
configuration for main and create 4.18 relevant files.

Signed-off-by: Shereen Haj <[email protected]>
  • Loading branch information
shajmakh committed Dec 11, 2024
1 parent 67cadde commit 86cccf9
Show file tree
Hide file tree
Showing 9 changed files with 808 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ operator:
- as: tested-numaresources-operator-bundle
dockerfile_path: bundle.Dockerfile
substitutions:
- pullspec: quay.io/openshift-kni/numaresources-operator:4.18.999-snapshot
- pullspec: quay.io/openshift-kni/numaresources-operator:4.19.999-snapshot
with: pipeline:numaresources-operator
promotion:
to:
Expand All @@ -62,12 +62,12 @@ releases:
candidate:
product: ocp
stream: nightly
version: "4.18"
version: "4.19"
latest:
candidate:
product: ocp
stream: nightly
version: "4.18"
version: "4.19"
resources:
'*':
requests:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
base_images:
cli-operator-sdk:
name: cli-operator-sdk
namespace: ocp
tag: v1.31.0
hypershift-operator:
name: hypershift-operator
namespace: hypershift
tag: latest
os-min9:
name: ubi-minimal
namespace: ocp
tag: "9"
binary_build_commands: make generate fmt vet binary binary-rte binary-e2e-all binary-numacell
build-topics
build_root:
project_image:
dockerfile_path: Dockerfile.tools
images:
- dockerfile_path: Dockerfile.must-gather
from: os-min9
to: numaresources-must-gather
- dockerfile_path: Dockerfile.openshift
from: os-min9
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift-kni/numaresources-operator/bin/.
to: numaresources-operator
- dockerfile_path: bundle.Dockerfile
to: numaresources-operator-bundle
- dockerfile_path: Dockerfile.openshift.rte
from: os-min9
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift-kni/numaresources-operator/bin/.
to: resource-topology-exporter
- dockerfile_path: Dockerfile.openshift.tests
from: os-min9
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/src/github.com/openshift-kni/numaresources-operator/bin/.
to: numaresources-operator-tests
operator:
bundles:
- as: tested-numaresources-operator-bundle
dockerfile_path: bundle.Dockerfile
substitutions:
- pullspec: quay.io/openshift-kni/numaresources-operator:4.18.999-snapshot
with: pipeline:numaresources-operator
promotion:
to:
- name: numaresources-operator
namespace: ocp-kni
releases:
initial:
candidate:
product: ocp
stream: nightly
version: "4.18"
latest:
candidate:
product: ocp
stream: nightly
version: "4.18"
resources:
'*':
requests:
cpu: 150m
memory: 250Mi
tests:
- as: ci-unit
commands: make test-unit
container:
from: src
- as: ci-install-e2e
steps:
cluster_profile: aws-telco
dependencies:
OO_BUNDLE: tested-numaresources-operator-bundle
env:
BASE_DOMAIN: telco5g-ci.devcluster.openshift.com
OO_INSTALL_MODE: OwnNamespace
OO_INSTALL_NAMESPACE: numaresources-operator
USER_TAGS: |
ci-job-source prowci
ci-job-branch release-4.18
ci-job-fullname openshift-kni-ci-install-e2e-numaresources-operator-release-4.18
ci-job-type ci-install-e2e
ci-repo-name numaresources-operator
ci-org-name openshift-kni
test:
- as: e2e-install-test
cli: latest
commands: make test-install-e2e
from: src
resources:
requests:
cpu: 500m
memory: 1Gi
workflow: optional-operators-ci-operator-sdk-aws
- as: ci-e2e
steps:
cluster_profile: aws-telco
dependencies:
OO_BUNDLE: tested-numaresources-operator-bundle
env:
BASE_DOMAIN: telco5g-ci.devcluster.openshift.com
OO_INSTALL_MODE: OwnNamespace
OO_INSTALL_NAMESPACE: openshift-numaresources
USER_TAGS: |
ci-job-source prowci
ci-job-branch release-4.18
ci-job-fullname openshift-kni-ci-e2e-numaresources-operator-release-4.18
ci-job-type ci-e2e
ci-repo-name numaresources-operator
ci-org-name openshift-kni
test:
- as: e2e-test
cli: latest
commands: make test-e2e
from: src
resources:
requests:
cpu: 500m
memory: 1Gi
workflow: optional-operators-ci-operator-sdk-aws
- as: ci-must-gather-e2e
cron: 42 0 * * *
steps:
cluster_profile: aws-telco
dependencies:
OO_BUNDLE: tested-numaresources-operator-bundle
env:
BASE_DOMAIN: telco5g-ci.devcluster.openshift.com
OO_INSTALL_MODE: OwnNamespace
OO_INSTALL_NAMESPACE: openshift-numaresources
USER_TAGS: |
ci-job-source prowci
ci-job-branch release-4.18
ci-job-fullname openshift-kni-ci-must-gather-e2e-numaresources-operator-release-4.18
ci-job-type ci-must-gather-e2e
ci-repo-name numaresources-operator
ci-org-name openshift-kni
test:
- as: must-gather-e2e-test
cli: latest
commands: make test-must-gather-e2e
from: src
resources:
requests:
cpu: 500m
memory: 1Gi
workflow: optional-operators-ci-operator-sdk-aws
- as: ci-e2e-install-hypershift
steps:
cluster_profile: aws-telco
dependencies:
OO_BUNDLE: tested-numaresources-operator-bundle
env:
HYPERSHIFT_INPLACE_NODE_UPGRADE_TYPE: "true"
OO_INSTALL_MODE: OwnNamespace
OO_INSTALL_NAMESPACE: numaresources-operator
OO_INSTALL_TIMEOUT_MINUTES: "20"
USE_HOSTED_KUBECONFIG: "true"
test:
- as: e2e-install-test
cli: latest
commands: |-
export CLUSTER_NAME="$(echo -n $PROW_JOB_ID|sha256sum|cut -c-20)"
export HYPERSHIFT_MANAGEMENT_CLUSTER_KUBECONFIG="${SHARED_DIR}/management_cluster_kubeconfig"
export HYPERSHIFT_HOSTED_CONTROL_PLANE_NAMESPACE="$(${CLI_DIR}/oc get hcp -A -o=jsonpath="{.items[?(@.metadata.name==\"$CLUSTER_NAME\")].metadata.namespace}")"
export KUBECONFIG=${SHARED_DIR}/nested_kubeconfig
make test-install-e2e
from: src
resources:
requests:
cpu: 500m
memory: 1Gi
workflow: hypershift-optional-operators
- as: security
optional: true
steps:
env:
PROJECT_NAME: numaresources-operator
workflow: openshift-ci-security
zz_generated_metadata:
branch: release-4.18
org: openshift-kni
repo: numaresources-operator
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ periodics:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-telco
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-kni-numaresources-operator-main-ci-must-gather-e2e
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ postsubmits:
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
max_concurrency: 1
name: branch-ci-openshift-kni-numaresources-operator-main-images
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ presubmits:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-telco
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-ci-e2e
rerun_command: /test ci-e2e
Expand Down Expand Up @@ -89,7 +89,7 @@ presubmits:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-telco
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-ci-e2e-install-hypershift
rerun_command: /test ci-e2e-install-hypershift
Expand Down Expand Up @@ -162,7 +162,7 @@ presubmits:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-ci-index-tested-numaresources-operator-bundle
rerun_command: /test ci-index-tested-numaresources-operator-bundle
Expand Down Expand Up @@ -220,7 +220,7 @@ presubmits:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-telco
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-ci-install-e2e
rerun_command: /test ci-install-e2e
Expand Down Expand Up @@ -293,7 +293,7 @@ presubmits:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-ci-unit
rerun_command: /test ci-unit
Expand Down Expand Up @@ -349,7 +349,7 @@ presubmits:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-images
rerun_command: /test images
Expand Down Expand Up @@ -405,7 +405,7 @@ presubmits:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.18"
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-kni-numaresources-operator-main-security
optional: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
periodics:
- agent: kubernetes
cluster: build09
cron: 42 0 * * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-4.18
org: openshift-kni
repo: numaresources-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-telco
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-kni-numaresources-operator-release-4.18-ci-must-gather-e2e
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=ci-must-gather-e2e
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- 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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- 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
Loading

0 comments on commit 86cccf9

Please sign in to comment.