openqa/dispatcher: Install a variant images.json for stg
To get ppc64 tasks run on stg but not prod. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b2664e2a8f
commit
873c55d3fc
2 changed files with 174 additions and 0 deletions
165
roles/openqa/dispatcher/files/images.json.ppc64
Normal file
165
roles/openqa/dispatcher/files/images.json.ppc64
Normal file
|
@ -0,0 +1,165 @@
|
|||
[
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
"score": 6,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "dvd",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
"score": 10,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "i386",
|
||||
},
|
||||
"score": 6,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "dvd",
|
||||
"format": "iso",
|
||||
"arch": "i386",
|
||||
},
|
||||
"score": 10,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Everything",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
"score": 8,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Everything",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "i386",
|
||||
},
|
||||
"score": 8,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Workstation",
|
||||
"type": "live",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Workstation",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Workstation",
|
||||
"type": "live",
|
||||
"format": "iso",
|
||||
"arch": "i386",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Workstation",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "i386",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "KDE",
|
||||
"type": "live",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "KDE",
|
||||
"type": "live",
|
||||
"format": "iso",
|
||||
"arch": "i386",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Minimal",
|
||||
"type": "raw-xz",
|
||||
"format": "raw.xz",
|
||||
"arch": "armhfp",
|
||||
},
|
||||
"dkboot": True,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Atomic",
|
||||
"type": "dvd-ostree",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Workstation",
|
||||
"type": "dvd-ostree",
|
||||
"format": "iso",
|
||||
"arch": "x86_64",
|
||||
},
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "ppc64le",
|
||||
},
|
||||
"score": 6,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "dvd",
|
||||
"format": "iso",
|
||||
"arch": "ppc64le",
|
||||
},
|
||||
"score": 10,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "boot",
|
||||
"format": "iso",
|
||||
"arch": "ppc64",
|
||||
},
|
||||
"score": 6,
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"subvariant": "Server",
|
||||
"type": "dvd",
|
||||
"format": "iso",
|
||||
"arch": "ppc64",
|
||||
},
|
||||
"score": 10,
|
||||
},
|
||||
]
|
|
@ -97,6 +97,15 @@
|
|||
notify:
|
||||
- restart fedmsg-hub
|
||||
|
||||
# For now, we want ppc64 jobs generated on staging but not prod (as we
|
||||
# have ppc64 workers for stg but not prod). So we have a WANTED file
|
||||
# for staging.
|
||||
- name: Install ppc64-imbued WANTED file if this is staging
|
||||
copy: src=images.json.ppc64 dest=/etc/fedora-openqa/images.json
|
||||
when: (deployment_type is defined) and (deployment_type == 'stg')
|
||||
notify:
|
||||
- restart fedmsg-hub
|
||||
|
||||
- name: openQA client config
|
||||
template: src=client.conf.j2 dest=/etc/openqa/client.conf owner=root group=fedmsg mode=0640
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue