Skip to content

Commit

Permalink
Update the kn-event jobs after Serverless 1.31 release
Browse files Browse the repository at this point in the history
  • Loading branch information
cardil committed Apr 5, 2024
1 parent b9ab7a9 commit 98ba6d1
Show file tree
Hide file tree
Showing 14 changed files with 1,050 additions and 23 deletions.
3 changes: 1 addition & 2 deletions ci-operator/config/openshift-knative/kn-plugin-event/OWNERS
Expand Up @@ -10,9 +10,8 @@ approvers:
- mgencur
- openshift-cherrypick-robot
- rhuss
- cardil
options: {}
reviewers:
- cardil
- jrangelramos
- lance
- matejvasek
@@ -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.10
namespace: knative
releases:
latest:
release:
channel: fast
version: "4.14"
resources:
'*':
limits:
memory: 4Gi
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: openshift-ci
product: ocp
timeout: 1h30m0s
version: "4.14"
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.10
org: openshift-knative
repo: kn-plugin-event
variant: "414"
@@ -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: 4Gi
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: 1h0m0s
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: 4Gi
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: 1h30m0s
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"
Expand Up @@ -58,7 +58,7 @@ tests:
./mage test
container:
from: src
- as: e2e-aws-ocp-415
- as: e2e
cluster_claim:
architecture: amd64
cloud: aws
Expand Down Expand Up @@ -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\.10$
cluster: build03
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci-operator.openshift.io/variant: "414"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-knative-kn-plugin-event-release-1.10-414-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=414
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

0 comments on commit 98ba6d1

Please sign in to comment.