Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing of Serverless UI tests on Node 20 #49784

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions ci-operator/config/cardil/serverless-operator-node20/OWNERS
@@ -0,0 +1,13 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift-knative/serverless-operator root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- cardil
- mgencur
options: {}
reviewers:
- cardil
- mgencur
@@ -0,0 +1,19 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.21
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit-test
commands: make test-unit
container:
from: src
zz_generated_metadata:
branch: main
org: cardil
repo: serverless-operator-node20
@@ -0,0 +1,263 @@
base_images:
ocp_4.15_cli:
name: "4.15"
namespace: ocp
tag: cli
ocp_ubi-minimal_8:
name: ubi-minimal
namespace: ocp
tag: "8"
openshift_eventing-istio-src_knative-v1.11:
name: eventing-istio-src
namespace: openshift
tag: knative-v1.11
openshift_eventing-kafka-broker-src_knative-v1.11:
name: eventing-kafka-broker-src
namespace: openshift
tag: knative-v1.11
openshift_knative-eventing-src_knative-v1.11:
name: knative-eventing-src
namespace: openshift
tag: knative-v1.11
openshift_knative-serving-src_knative-v1.11:
name: knative-serving-src
namespace: openshift
tag: knative-v1.11
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.21-openshift-4.16
origin_4.15_operator-registry:
name: "4.15"
namespace: origin
tag: operator-registry
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
images:
- dockerfile_path: knative-operator/Dockerfile
inputs:
ocp_ubi-minimal_8:
as:
- registry.ci.openshift.org/ocp/ubi-minimal:8
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: serverless-knative-operator
- dockerfile_path: olm-catalog/serverless-operator/Dockerfile
to: serverless-bundle
- dockerfile_path: olm-catalog/serverless-operator/index/Dockerfile
inputs:
origin_4.15_operator-registry:
as:
- registry.ci.openshift.org/origin/4.15:operator-registry
to: serverless-index
- dockerfile_path: openshift-knative-operator/Dockerfile
inputs:
ocp_ubi-minimal_8:
as:
- registry.ci.openshift.org/ocp/ubi-minimal:8
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: serverless-openshift-knative-operator
- dockerfile_path: openshift/ci-operator/source-image/Dockerfile
from: src
inputs:
ocp_4.15_cli:
as:
- registry.ci.openshift.org/ocp/4.15:cli
openshift_eventing-istio-src_knative-v1.11:
as:
- registry.ci.openshift.org/openshift/eventing-istio-src:knative-v1.11
openshift_eventing-kafka-broker-src_knative-v1.11:
as:
- registry.ci.openshift.org/openshift/eventing-kafka-broker-src:knative-v1.11
openshift_knative-eventing-src_knative-v1.11:
as:
- registry.ci.openshift.org/openshift/knative-eventing-src:knative-v1.11
openshift_knative-serving-src_knative-v1.11:
as:
- registry.ci.openshift.org/openshift/knative-serving-src:knative-v1.11
to: serverless-source-image
- dockerfile_path: serving/ingress/Dockerfile
inputs:
ocp_ubi-minimal_8:
as:
- registry.ci.openshift.org/ocp/ubi-minimal:8
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: serverless-ingress
- dockerfile_path: serving/metadata-webhook/Dockerfile
inputs:
ocp_ubi-minimal_8:
as:
- registry.ci.openshift.org/ocp/ubi-minimal:8
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: serverless-metadata-webhook
releases:
latest:
release:
channel: fast
version: "4.14"
resources:
'*':
limits:
memory: 6Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: ui-e2e-aws-414
cluster_claim:
architecture: amd64
cloud: aws
owner: openshift-ci
product: ocp
timeout: 1h0m0s
version: "4.14"
optional: true
run_if_changed: test/ui
steps:
allow_best_effort_post_steps: true
allow_skip_on_success: true
post:
- as: knative-must-gather
best_effort: true
cli: latest
commands: oc adm must-gather --image=quay.io/openshift-knative/must-gather --dest-dir
"${ARTIFACT_DIR}/gather-knative"
from: serverless-source-image
optional_on_success: true
resources:
requests:
cpu: 100m
timeout: 20m0s
- as: openshift-must-gather
best_effort: true
cli: latest
commands: oc adm must-gather --dest-dir "${ARTIFACT_DIR}/gather-openshift"
from: serverless-source-image
optional_on_success: true
resources:
requests:
cpu: 100m
timeout: 20m0s
- as: openshift-gather-extra
best_effort: true
cli: latest
commands: curl -skSL https://raw.githubusercontent.com/openshift/release/master/ci-operator/step-registry/gather/extra/gather-extra-commands.sh
| /bin/bash -s
from: serverless-source-image
grace_period: 1m0s
optional_on_success: true
resources:
requests:
cpu: 300m
memory: 300Mi
timeout: 20m0s
test:
- as: test
cli: latest
commands: SKIP_MESH_AUTH_POLICY_GENERATION=true make ui-e2e
dependencies:
- env: SERVERLESS_KNATIVE_OPERATOR
name: serverless-knative-operator
- env: SERVERLESS_BUNDLE
name: serverless-bundle
- env: SERVERLESS_INDEX
name: serverless-index
- env: SERVERLESS_OPENSHIFT_KNATIVE_OPERATOR
name: serverless-openshift-knative-operator
- env: SERVERLESS_SOURCE_IMAGE
name: serverless-source-image
- env: SERVERLESS_INGRESS
name: serverless-ingress
- env: SERVERLESS_METADATA_WEBHOOK
name: serverless-metadata-webhook
from: serverless-source-image
resources:
requests:
cpu: 100m
timeout: 4h0m0s
workflow: generic-claim
- as: ui-e2e-aws-414-c
cluster_claim:
architecture: amd64
cloud: aws
owner: openshift-ci
product: ocp
timeout: 1h0m0s
version: "4.14"
cron: 0 4 * * *
steps:
allow_best_effort_post_steps: true
allow_skip_on_success: true
post:
- as: knative-must-gather
best_effort: true
cli: latest
commands: oc adm must-gather --image=quay.io/openshift-knative/must-gather --dest-dir
"${ARTIFACT_DIR}/gather-knative"
from: serverless-source-image
optional_on_success: false
resources:
requests:
cpu: 100m
timeout: 20m0s
- as: openshift-must-gather
best_effort: true
cli: latest
commands: oc adm must-gather --dest-dir "${ARTIFACT_DIR}/gather-openshift"
from: serverless-source-image
optional_on_success: false
resources:
requests:
cpu: 100m
timeout: 20m0s
- as: openshift-gather-extra
best_effort: true
cli: latest
commands: curl -skSL https://raw.githubusercontent.com/openshift/release/master/ci-operator/step-registry/gather/extra/gather-extra-commands.sh
| /bin/bash -s
from: serverless-source-image
grace_period: 1m0s
optional_on_success: false
resources:
requests:
cpu: 300m
memory: 300Mi
timeout: 20m0s
test:
- as: test
cli: latest
commands: SKIP_MESH_AUTH_POLICY_GENERATION=true make ui-e2e
dependencies:
- env: SERVERLESS_KNATIVE_OPERATOR
name: serverless-knative-operator
- env: SERVERLESS_BUNDLE
name: serverless-bundle
- env: SERVERLESS_INDEX
name: serverless-index
- env: SERVERLESS_OPENSHIFT_KNATIVE_OPERATOR
name: serverless-openshift-knative-operator
- env: SERVERLESS_SOURCE_IMAGE
name: serverless-source-image
- env: SERVERLESS_INGRESS
name: serverless-ingress
- env: SERVERLESS_METADATA_WEBHOOK
name: serverless-metadata-webhook
from: serverless-source-image
resources:
requests:
cpu: 100m
timeout: 4h0m0s
workflow: generic-claim
zz_generated_metadata:
branch: main
org: cardil
repo: serverless-operator-node20
variant: "414"
13 changes: 13 additions & 0 deletions ci-operator/jobs/cardil/serverless-operator-node20/OWNERS
@@ -0,0 +1,13 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift-knative/serverless-operator root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- cardil
- mgencur
options: {}
reviewers:
- cardil
- mgencur
@@ -0,0 +1,70 @@
periodics:
- agent: kubernetes
cluster: build03
cron: 0 4 * * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: cardil
repo: serverless-operator-node20
labels:
ci-operator.openshift.io/variant: "414"
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-cardil-serverless-operator-node20-main-414-ui-e2e-aws-414-c
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=ui-e2e-aws-414-c
- --variant=414
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/hive-hive-credentials
name: hive-hive-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: hive-hive-credentials
secret:
secretName: hive-hive-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