For each test specified in the configuration file, generate one presubmit running ci-operator to build this test target.
- name: pull-ci-ORG-REPO-BRANCH-TEST
branches:
- BRANCH
context: ci/prow/TEST
rerun_command: /test TEST
spec: <pod that runs `ci-operator --target=TEST`>
trigger: ((?m)^/test( all| TEST),?(\s+|$))
...
If the configuration file does have a non-empty
images
array, generate a presubmit running ci-operator to build the [images]
target.
- name: pull-ci-ORG-REPO-BRANCH-images
branches:
- BRANCH
context: ci/prow/images
rerun_command: /test images
spec: <pod that runs `ci-operator --target=[images]`>
trigger: ((?m)^/test( all| images),?(\s+|$))
...
If the existing Prow job configuration already exists, the generator will update it. The following fields will not be overwritten if they are already present:
always_run
run_if_changed
optional
max_concurrency
skip_report
If the configuration file does have a non-empty
images
array, generate a postsubmit running ci-operator to built the [images]
target. The postsubmit also uses the --promote
option of ci-operator to
promote the component images built by this postsubmit.
- name: branch-ci-ORG-REPO-BRANCH-images
spec: <pod that runs `ci-operator --target=[images] --promote>
...
If the existing Prow job configuration already exists, the generator will update it. The following fields will not be overwritten if they are already present:
max_concurrency