Skip to content

Commit

Permalink
Reduce duplication in scenario-definitions with anchors+aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Jul 31, 2023
1 parent c4a320f commit 205604c
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions scenario-definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,38 @@ machines:
QEMURAM: "2048"
WORKER_CLASS: qemu_x86_64

.common: &common
product: openqa-*-dev-x86_64
machine: 64bit-2G

.common_settings: &common_settings
MODE: install
INSTALL_ONLY: "1"

job_templates:
openqa_from_git:
product: openqa-*-dev-x86_64
machine: 64bit-2G
<<: *common
settings:
MODE: install
INSTALL_ONLY: "1"
<<: *common_settings
OPENQA_FROM_GIT: "1"
openqa_from_containers:
product: openqa-*-dev-x86_64
machine: 64bit-2G
<<: *common
settings:
MODE: install
INSTALL_ONLY: "1"
<<: *common_settings
OPENQA_FROM_GIT: "1"
OPENQA_CONTAINERS: "1"
LOAD_PYTHON_TEST_MODULES: "0"
openqa_from_bootstrap:
product: openqa-*-dev-x86_64
machine: 64bit-2G
<<: *common
settings:
MODE: install
INSTALL_ONLY: "1"
<<: *common_settings
OPENQA_FROM_BOOTSTRAP: "1"
openqa_install:
product: openqa-*-dev-x86_64
machine: 64bit-2G
<<: *common
settings:
MODE: install
INSTALL_ONLY: "1"
<<: *common_settings
openqa_install_nginx:
product: openqa-*-dev-x86_64
machine: 64bit-2G
<<: *common
settings:
MODE: install
INSTALL_ONLY: "1"
<<: *common_settings
OPENQA_WEB_PROXY: 'nginx'

0 comments on commit 205604c

Please sign in to comment.