tests: rename default plan to build-gating to better eflect its current purpose
My expectation is that in the future, more tests will land in this git, and not all of them would be useful in gating time. AFAIK, CI systems do run everything they can, therefore adding `when` to control when the plan is executed - `is not defined` bit should allow anyone to run it manually, while the rest of the condition should limit its presence to gating events.
This commit is contained in:
parent
92512bd38e
commit
6564e5278d
19
tests/build-gating.fmf
Normal file
19
tests/build-gating.fmf
Normal file
@ -0,0 +1,19 @@
|
||||
summary: LLVM tests for build/PR gating
|
||||
adjust:
|
||||
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
|
||||
when: >-
|
||||
trigger is defined
|
||||
and trigger != commit
|
||||
and trigger != build
|
||||
enabled: false
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
- name: packages
|
||||
how: install
|
||||
package: llvm
|
||||
provision:
|
||||
hardware:
|
||||
memory: ">= 4 GiB"
|
@ -1,12 +0,0 @@
|
||||
summary: All available LLVM tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
- name: packages
|
||||
how: install
|
||||
package: llvm
|
||||
provision:
|
||||
hardware:
|
||||
memory: ">= 4 GiB"
|
Loading…
Reference in New Issue
Block a user