diff --git a/roles/openqa/dispatcher/files/images.json.ppc64 b/roles/openqa/dispatcher/files/images.json.ppc64 new file mode 100644 index 0000000000..57035b607d --- /dev/null +++ b/roles/openqa/dispatcher/files/images.json.ppc64 @@ -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, + }, +] diff --git a/roles/openqa/dispatcher/tasks/main.yml b/roles/openqa/dispatcher/tasks/main.yml index b0b585d0cd..f980387547 100644 --- a/roles/openqa/dispatcher/tasks/main.yml +++ b/roles/openqa/dispatcher/tasks/main.yml @@ -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: