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

Revitalize the kn-event jobs after Serverless 1.32 release #50051

Merged
Merged
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
@@ -0,0 +1,90 @@
base_images:
base:
name: ubi-minimal
namespace: ocp
tag: "8"
binary_build_commands: |-
export HOME=/tmp
export TEST_IMAGES_DIR=/usr/bin
./mage build
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
images:
- dockerfile_path: openshift/ci-operator/images/kn-event-sender/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/kn-event-sender
to: client-plugin-event-sender
- dockerfile_path: openshift/ci-operator/test-images/eventshub/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/eventshub
to: client-plugin-event-test-eventshub
- dockerfile_path: openshift/ci-operator/test-images/wathola-forwarder/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/wathola-forwarder
to: client-plugin-event-test-wathola-forwarder
promotion:
to:
- name: release-1.11
namespace: knative
releases:
latest:
release:
channel: fast
version: "4.15"
resources:
'*':
limits:
memory: 6Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: |
export HOME=/tmp
./mage test
container:
from: src
- as: e2e
cluster_claim:
architecture: amd64
cloud: aws
owner: serverless-ci
product: ocp
timeout: 2h30m0s
version: "4.15"
steps:
test:
- as: test
commands: openshift/e2e-tests.sh
dependencies:
- env: TEST_IMAGES_EVENTSHUB
name: client-plugin-event-test-eventshub
- env: TEST_IMAGES_WATHOLA_FORWARDER
name: client-plugin-event-test-wathola-forwarder
- env: IMAGES_KN_EVENT_SENDER
name: client-plugin-event-sender
from: src
resources:
requests:
cpu: 100m
timeout: 30m0s
workflow: generic-claim
zz_generated_metadata:
branch: release-1.11
org: openshift-knative
repo: kn-plugin-event
variant: "415"
@@ -0,0 +1,90 @@
base_images:
base:
name: ubi-minimal
namespace: ocp
tag: "8"
binary_build_commands: |-
export HOME=/tmp
export TEST_IMAGES_DIR=/usr/bin
./mage build
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
images:
- dockerfile_path: openshift/ci-operator/images/kn-event-sender/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/kn-event-sender
to: client-plugin-event-sender
- dockerfile_path: openshift/ci-operator/test-images/eventshub/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/eventshub
to: client-plugin-event-test-eventshub
- dockerfile_path: openshift/ci-operator/test-images/wathola-forwarder/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/wathola-forwarder
to: client-plugin-event-test-wathola-forwarder
promotion:
to:
- name: release-1.13
namespace: knative
releases:
latest:
release:
channel: fast
version: "4.15"
resources:
'*':
limits:
memory: 6Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: |
export HOME=/tmp
./mage test
container:
from: src
- as: e2e
cluster_claim:
architecture: amd64
cloud: aws
owner: serverless-ci
product: ocp
timeout: 2h30m0s
version: "4.15"
steps:
test:
- as: test
commands: openshift/e2e-tests.sh
dependencies:
- env: TEST_IMAGES_EVENTSHUB
name: client-plugin-event-test-eventshub
- env: TEST_IMAGES_WATHOLA_FORWARDER
name: client-plugin-event-test-wathola-forwarder
- env: IMAGES_KN_EVENT_SENDER
name: client-plugin-event-sender
from: src
resources:
requests:
cpu: 100m
timeout: 30m0s
workflow: generic-claim
zz_generated_metadata:
branch: release-1.13
org: openshift-knative
repo: kn-plugin-event
variant: "415"
@@ -0,0 +1,90 @@
base_images:
base:
name: ubi-minimal
namespace: ocp
tag: "8"
binary_build_commands: |-
export HOME=/tmp
export TEST_IMAGES_DIR=/usr/bin
./mage build
build_root:
project_image:
dockerfile_path: openshift/ci-operator/build-image/Dockerfile
images:
- dockerfile_path: openshift/ci-operator/images/kn-event-sender/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/kn-event-sender
to: client-plugin-event-sender
- dockerfile_path: openshift/ci-operator/test-images/eventshub/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/eventshub
to: client-plugin-event-test-eventshub
- dockerfile_path: openshift/ci-operator/test-images/wathola-forwarder/Dockerfile
from: base
inputs:
bin:
paths:
- destination_dir: .
source_path: /usr/bin/wathola-forwarder
to: client-plugin-event-test-wathola-forwarder
promotion:
to:
- name: release-1.14
namespace: knative
releases:
latest:
release:
channel: fast
version: "4.15"
resources:
'*':
limits:
memory: 6Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: |
export HOME=/tmp
./mage test
container:
from: src
- as: e2e
cluster_claim:
architecture: amd64
cloud: aws
owner: serverless-ci
product: ocp
timeout: 2h30m0s
version: "4.15"
steps:
test:
- as: test
commands: openshift/e2e-tests.sh
dependencies:
- env: TEST_IMAGES_EVENTSHUB
name: client-plugin-event-test-eventshub
- env: TEST_IMAGES_WATHOLA_FORWARDER
name: client-plugin-event-test-wathola-forwarder
- env: IMAGES_KN_EVENT_SENDER
name: client-plugin-event-sender
from: src
resources:
requests:
cpu: 100m
timeout: 30m0s
workflow: generic-claim
zz_generated_metadata:
branch: release-1.14
org: openshift-knative
repo: kn-plugin-event
variant: "415"
Expand Up @@ -47,7 +47,7 @@ releases:
resources:
'*':
limits:
memory: 4Gi
memory: 6Gi
requests:
cpu: 100m
memory: 200Mi
Expand All @@ -58,13 +58,13 @@ tests:
./mage test
container:
from: src
- as: e2e-aws-ocp-415
- as: e2e
cluster_claim:
architecture: amd64
cloud: aws
owner: serverless-ci
product: ocp
timeout: 1h30m0s
timeout: 2h30m0s
version: "4.15"
steps:
test:
Expand All @@ -87,3 +87,4 @@ zz_generated_metadata:
branch: release-next
org: openshift-knative
repo: kn-plugin-event
variant: "415"
@@ -0,0 +1,64 @@
postsubmits:
openshift-knative/kn-plugin-event:
- agent: kubernetes
always_run: true
branches:
- ^release-1\.11$
cluster: build03
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci-operator.openshift.io/variant: "415"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-knative-kn-plugin-event-release-1.11-415-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --variant=415
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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/push-secret
name: push-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator