Make more components conditionally run
Expand component adjusts and ability to test multiple components.
This commit is contained in:
parent
b39f2d88cd
commit
e82b8c0c33
7 changed files with 58 additions and 16 deletions
|
|
@ -39,7 +39,13 @@ adjust:
|
|||
- bind-pkcs11-utils
|
||||
environment+:
|
||||
PACKAGE: bind
|
||||
when: component == bind
|
||||
when: component is not defined or component == bind
|
||||
- recommend+:
|
||||
- bind9.16
|
||||
- bind9.16-utils
|
||||
environment+:
|
||||
PACKAGE: bind9.16
|
||||
when: component == bind9.16
|
||||
- recommend+:
|
||||
- bind9-next
|
||||
- bind9-next-utils
|
||||
|
|
|
|||
|
|
@ -40,10 +40,6 @@
|
|||
: ${PACKAGE:=bind}
|
||||
USER="user$RANDOM"
|
||||
CORES=1
|
||||
for PACKAGE in $PACKAGE bind bind97 bind9.16 bind9-next
|
||||
do
|
||||
rpm -q "$PACKAGE" && break
|
||||
done
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
|
|
|
|||
|
|
@ -22,10 +22,20 @@ adjust:
|
|||
- recommend+:
|
||||
- bind
|
||||
- bind-utils
|
||||
when: component == bind
|
||||
environment+:
|
||||
PACKAGE: bind
|
||||
when: component is not defined or component == bind
|
||||
- recommend+:
|
||||
- bind9.16
|
||||
- bind9.16-utils
|
||||
environment+:
|
||||
PACKAGE: bind9.16
|
||||
when: component == bind9.16
|
||||
- recommend+:
|
||||
- bind9-next
|
||||
- bind9-next-utils
|
||||
environment+:
|
||||
PACKAGE: bind9-next
|
||||
when: component == bind9-next
|
||||
- enabled: false
|
||||
when: distro < rhel-8
|
||||
|
|
|
|||
|
|
@ -4,14 +4,29 @@ description: |
|
|||
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1899257
|
||||
contact:
|
||||
- Petr Mensik <pemensik@redhat.com>
|
||||
component:
|
||||
- bind
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
recommend:
|
||||
- bind
|
||||
- bind-utils
|
||||
- python3
|
||||
- python3
|
||||
adjust:
|
||||
- require+:
|
||||
- bind
|
||||
- bind-utils
|
||||
environment+:
|
||||
PACKAGE: bind
|
||||
when: component is not defined or component == bind
|
||||
- require+:
|
||||
- bind9-next
|
||||
- bind9-next-utils
|
||||
environment+:
|
||||
PACKAGE: bind9-next
|
||||
when: component == bind9-next
|
||||
- require+:
|
||||
- bind9.16
|
||||
- bind9.16-utils
|
||||
environment+:
|
||||
PACKAGE: bind9.16
|
||||
when: component == bind9.16
|
||||
duration: 5m
|
||||
extra-summary: /CoreOS/bind/Sanity/json-support
|
||||
extra-task: /CoreOS/bind/Sanity/json-support
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="bind"
|
||||
: ${PACKAGE:="bind"}
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@ component:
|
|||
- bind
|
||||
test: ./runtest.sh
|
||||
framework: beakerlib
|
||||
recommend:
|
||||
- bind
|
||||
- bind-utils
|
||||
duration: 5m
|
||||
enabled: true
|
||||
tag:
|
||||
|
|
@ -20,6 +17,24 @@ adjust:
|
|||
- enabled: false
|
||||
when: distro == rhel-4, rhel-5
|
||||
continue: false
|
||||
- require+:
|
||||
- bind
|
||||
- bind-utils
|
||||
environment+:
|
||||
PACKAGE: bind
|
||||
when: component is not defined or component == bind
|
||||
- require+:
|
||||
- bind9-next
|
||||
- bind9-next-utils
|
||||
environment+:
|
||||
PACKAGE: bind9-next
|
||||
when: component == bind9-next
|
||||
- require+:
|
||||
- bind9.16
|
||||
- bind9.16-utils
|
||||
environment+:
|
||||
PACKAGE: bind9.16
|
||||
when: component == bind9.16
|
||||
extra-nitrate: TC#0500008
|
||||
extra-summary: /CoreOS/bind/Sanity/named-checkzone
|
||||
extra-task: /CoreOS/bind/Sanity/named-checkzone
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="bind"
|
||||
: ${PACKAGE:="bind"}
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue