The main goal of these changes is to allow all workers in each deployment NFS write access to the factory share. This is because I want to try using os-autoinst's at-job-run-time decompression of disk images instead of openQA's at-asset-download-time decompression; it avoids some awkwardness with the asset file name, and should also actually allow us to drop the decompression code from openQA I think. I also rejigged various other things at the same time as they kinda logically go together. It's mostly cleanups and tweaks to group variables. I tried to handle more things explicitly with variables, as it's better for use of these plays outside of Fedora infra. Signed-off-by: Adam Williamson <awilliam@redhat.com>
61 lines
2.1 KiB
Text
61 lines
2.1 KiB
Text
# This setup is a bit out of the ordinary for a staging system. As the openqa
|
|
# scheduler needs up-to-date information from the wiki and koji, it doesn't
|
|
# work well as a proper staging host.
|
|
#
|
|
# We decided to keep it a pseudo-staging host that will get new versions of
|
|
# openqa first and will be a staging host for most intensive purposes but from
|
|
# a firewall rule POV, it will be a staging-friendly production host
|
|
#
|
|
# it should still be using the stg proxies and the external hostname will still
|
|
# be stg.fedoraproject.org
|
|
|
|
# this is to enable nested virt, which we need for disk image creation
|
|
virt_install_command: "{{ virt_install_command_one_nic }} --cpu=host-passthrough,+vmx"
|
|
|
|
external_hostname: openqa.stg.fedoraproject.org
|
|
|
|
openqa_dbname: openqa-stg
|
|
openqa_dbuser: openqastg
|
|
openqa_dbpassword: "{{ stg_openqa_dbpassword }}"
|
|
openqa_assetsize: 400
|
|
openqa_assetsize_ppc: 150
|
|
openqa_assetsize_aarch64: 150
|
|
|
|
openqa_key: "{{ stg_openqa_apikey }}"
|
|
openqa_secret: "{{ stg_openqa_apisecret }}"
|
|
|
|
openqa_webapi_plugins: FedoraMessaging FedoraUpdateRestart
|
|
|
|
# this is because openqa staging isn't really a staging host
|
|
# we don't want to set env_suffix to stg on it because that may
|
|
# break some other plays, but we do need the env suffix for the
|
|
# fedora-messaging bits, so let's make our own
|
|
openqa_env_suffix: .stg
|
|
openqa_env: staging
|
|
|
|
# install openQA from updates-testing - this is staging, we live
|
|
# ON THE EDGE (radical guitar riff)
|
|
openqa_repo: updates-testing
|
|
|
|
# 2020-11 git bump, dep
|
|
openqa_scratch: ["54880919", "54872388"]
|
|
|
|
wikitcms_token: "{{ private }}/files/openidc/staging/wikitcms.json"
|
|
openqa_wikitcms_hostname: stg.fedoraproject.org
|
|
openqa_resultsdb_url: http://resultsdb01.stg.iad2.fedoraproject.org/resultsdb_api/api/v2.0/
|
|
openqa_compose_arches: x86_64,aarch64,ppc64le
|
|
openqa_update_arches: ['x86_64', 'ppc64le']
|
|
|
|
# all our workers need NFS access
|
|
openqa_nfs_workers: {{ groups['openqa_lab_workers'] }}
|
|
|
|
# FIXME: disable consumers that write to wiki until auth key
|
|
# is working again:
|
|
# https://pagure.io/fedora-infrastructure/issue/8381
|
|
openqa_amqp_wiki_reporter_queue:
|
|
|
|
deployment_type: stg
|
|
freezes: false
|
|
|
|
# makes sure it sends stg not prod fedmsgs
|
|
fedmsg_env: stg
|