summaryrefslogtreecommitdiffstats
path: root/roles/openqa/server
Commit message (Collapse)AuthorAgeFilesLines
...
* openqa: install openqa-plugin-fedmsgAdam Williamson2016-03-101-2/+1
|
* openqa/server: enable fedmsg pluginAdam Williamson2016-03-101-0/+1
|
* openqa/server: allow apache to read from NFSAdam Williamson2016-03-081-0/+3
|
* openqa/check-compose: tweak package installs and sourcesAdam Williamson2016-03-081-0/+10
| | | | | we need some from updates-testing for now. also, we need openqa-httpd for the server.
* openqa/server: actually set geekotest user group to geekotestAdam Williamson2016-03-081-0/+1
|
* actually python2-fedfind as we explicitly run it under python2Adam Williamson2016-03-081-1/+1
|
* openqa/server: createhdds.py needs python3-fedfindAdam Williamson2016-03-081-0/+1
|
* openqa: test sourcing server data from NFS on stgAdam Williamson2016-03-081-0/+28
| | | | Well hey, let's hope this works!
* openqa: make openQA and FAS credentials root.fedmsg 0640Adam Williamson2016-03-071-1/+4
| | | | | | with openQA jobs being scheduled and wiki results reported (well, when we get that working again) by fedmsg-hub consumers, we have to let the fedmsg user read these files.
* openqa: enable asset downloading from fedoraproject.orgAdam Williamson2016-02-181-0/+1
|
* drop use of COPR for openQAAdam Williamson2016-02-151-20/+0
| | | | | all required packages except openqa itself are now in main repo, openqa is in infra repo.
* Update all calls to sudo to use 'become' and sudo_user to 'become_user'Kevin Fenzi2016-02-021-6/+6
|
* openqa: enable openQA-stg COPR on staging hostsAdam Williamson2016-01-151-0/+8
|
* openqa-server: never register 'changed' for this (check) stepAdam Williamson2016-01-121-0/+1
|
* Remove action: in all roles.Kevin Fenzi2016-01-061-2/+2
|
* openqa: use 'shell' not 'command' for a step that needs itAdam Williamson2016-01-041-1/+1
| | | | this step uses && and >, needs a shell.
* openqa: drop some more always_runsAdam Williamson2016-01-041-4/+2
| | | | | | | | | | | | we really shouldn't always_run these, as they actually *do* stuff. That does mean that in check mode we won't check if database init and admin user creation are necessary, but these are only ever necessary exactly one time at initial deployment which is likely to be kicked off manually anyway, so it should not be a problem. We adjust the 'when' condition for the 'wait for services to start up' action, so it will work in check mode with the 'services' variable undefined (because the step that defines it now won't be run).
* openqa: drop always_run from git actionsAdam Williamson2016-01-041-1/+0
| | | | | it causes problems (prevents updated code being installed) and is not necessary (git module supports check).
* openqa: no, seriously, fuck dnfAdam Williamson2015-12-181-1/+1
|
* openqa: fucking dnfAdam Williamson2015-12-181-2/+2
|
* openqa: run createhdds.py with py2 for nowAdam Williamson2015-12-181-2/+4
| | | | and install the additional deps.
* enable openqa disk image generationAdam Williamson2015-12-181-5/+1
| | | | the servers have nested virt enabled now, so this should be OK
* openqa_server: switch to createhdds.py, disable creation for nowAdam Williamson2015-12-171-29/+12
| | | | | | | | | | | | | | This puts in place the bits needed to use the new createhdds.py for image generation, which works much nicer with ansible than the old createhdds.sh. For now, the disk creation step is disabled, because creating some images (including the ones that get refreshed regularly) requires running VMs, and the openqa server hosts are VMs themselves and do not currently have nested virt enabled, so the creation would run extremely slow. Once we get nested virt enabled, I'll change the condition for the image creation step to what it should be. Until then I'll carry on handling image creation manually (both hosts have all the images at present anyhow).
* openqa_server: try a new approach for checking test changesAdam Williamson2015-12-151-2/+18
| | | | | | | | | | | | | | basically, dump the config from the server before loading the templates file, dump it after, and use json_diff to compare. I wanted to make the actual template loading script from openQA do some kind of check in '--clean' mode, but given how it's designed that's not really terribly practical without doing some major re-architecting, and this seems like a relatively simple alternative. With this change, the actual "Load tests" step will never show 'changed', but the subsequent 'Check if the tests changed in previous step' step will show as changed when appropriate.
* openqa_server: use guestfs direct backend for creating disksAdam Williamson2015-12-151-7/+11
| | | | this avoids the need to start and stop libvirtd.
* Add always_run to tasks where we register things we use later.Kevin Fenzi2015-12-151-0/+4
|
* Try just checking out this git content as the right user and drop the non ↵Kevin Fenzi2015-12-151-3/+2
| | | | idempotent chown after it.
* openqa: create N-2 hard disk images tooAdam Williamson2015-12-071-0/+18
|
* openqa: always fully re-load the test templatesAdam Williamson2015-12-071-4/+6
| | | | | | | | | | | I didn't do this originally because I was trying to make it only show changed when something had really changed, but it was too conservative - it wouldn't update when a test definition changed, only when one was added. Doing it manually is a bit annoying (you have to do the sed step and the ownership change) so it's better to let you just re-run the play to update the tests, even if it does mean getting the occasional spurious changed state.
* openqa-server: need libguestfs-xfsAdam Williamson2015-12-051-0/+1
| | | | | | Turns out this was the reason why desktop HDD image generation wasn't working: we need the XFS support bits for libguestfs or else it can't resize the partitions.
* openqa-server: make openqa.ini world-readableAdam Williamson2015-12-051-1/+1
| | | | | there's really no reason for this to be restricted, it doesn't contain anything sensitive.
* patch dl.fedoraproject.org in openQA test templatesAdam Williamson2015-12-031-1/+5
| | | | | | | | | | | So apparently hosts within infra can't reach dl.fp.o. This is a problem as we have that host written in as a reliable repository URL for a couple of openQA tests. infra hosts can reach dl.fp.o by the name 'dl.phx2.fedoraproject.org', but nothing outside infra can reach that hostname. So we don't just want to change it in the openQA test git repo because we want that to work for external deployments. So, let's just sed it on the fly for the infra deployment...
* openqa: set base_url in openqa.iniAdam Williamson2015-12-012-1/+2
| | | | | | | this is needed for openID auth to work properly - otherwise ipsilon thinks the request is coming from 'https://localhost' and redirect after auth fails. openQA uses this config setting for the openID base URL if it's set.
* openqa: restart httpd on apache config changeAdam Williamson2015-11-171-0/+2
|
* openqa: hdd image creation fixupsAdam Williamson2015-11-171-1/+8
| | | | | image creation needs expect, and libvirtd.service to be running, and the filename it creates was wrong.
* set up for openQA deploymentAdam Williamson2015-11-136-0/+196
This adds openQA server, worker and dispatcher roles, and applies them to the appropriate hosts. A few secret vars are required. See trac #4958 for discussion.