Skip to content

Commit

Permalink
Make Loom and KEDA tests on demand tests
Browse files Browse the repository at this point in the history
These 2 jobs don't need to run every time, devs can trigger them
when it's actually needed.

Signed-off-by: Pierangelo Di Pilato <[email protected]>
  • Loading branch information
pierDipi committed Sep 26, 2023
1 parent ddb5fb4 commit 9f1a467
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ presubmits:
type: Directory
name: cgroup
trigger: ((?m)^/test( | .* )reconciler-tests,?($|\s.*))|((?m)^/test( | .* )reconciler-tests_eventing-kafka-broker_main,?($|\s.*))
- always_run: true
- always_run: false
branches:
- ^main$
cluster: prow-build
Expand Down Expand Up @@ -823,7 +823,7 @@ presubmits:
name: cgroup
trigger: ((?m)^/test( | .* )reconciler-tests-namespaced-broker,?($|\s.*))|((?m)^/test(
| .* )reconciler-tests-namespaced-broker_eventing-kafka-broker_main,?($|\s.*))
- always_run: true
- always_run: false
branches:
- ^main$
cluster: prow-build
Expand Down Expand Up @@ -887,7 +887,7 @@ presubmits:
name: cgroup
trigger: ((?m)^/test( | .* )reconciler-tests-namespaced-broker-loom,?($|\s.*))|((?m)^/test(
| .* )reconciler-tests-namespaced-broker-loom_eventing-kafka-broker_main,?($|\s.*))
- always_run: true
- always_run: false
branches:
- ^main$
cluster: prow-build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
types: [presubmit]
command: [runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/reconciler-tests.sh"]
requirements: [docker]
modifiers: [presubmit_optional]
modifiers: [presubmit_optional, presubmit_skipped]
env:
- name: BROKER_CLASS
value: Kafka
Expand All @@ -61,17 +61,18 @@ jobs:
types: [ presubmit ]
command: [ runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/reconciler-tests.sh" ]
requirements: [ docker ]
modifiers: [presubmit_optional]
modifiers: [presubmit_optional, presubmit_skipped]
env:
- name: BROKER_CLASS
value: KafkaNamespaced
- name: USE_LOOM
value: "true"

- name: reconciler-tests-keda
types: [ presubmit ]
command: [ runner.sh, ./test/presubmit-tests.sh, --run-test, "./test/keda-reconciler-tests.sh"]
requirements: [ docker ]
modifiers: [ presubmit_optional ]
modifiers: [presubmit_optional, presubmit_skipped]
env:
- name: BROKER_CLASS
value: Kafka
Expand Down

0 comments on commit 9f1a467

Please sign in to comment.