rpm-ostree/tests/vmcheck/setup.yml
Colin Walters 77eb3e2b5b tests: Introduce "vmcheck"
This is infrastructure that's oriented around Vagrant, we do builds
inside the target VM (actually inside a Docker container), but then
directly `make install DESTDIR=/host/`.

The goal here is to have a convenient workflow for:

  - dev -> hand testing
  - dev -> run destructive tests

Closes: #303
Approved by: jlebon
2016-06-07 18:39:46 +00:00

19 lines
537 B
YAML

---
- hosts: all
become: yes
tasks:
- command: ostree remote add --set=gpg-verify=false centos-atomic-continuous https://ci.centos.org/artifacts/sig-atomic/rdgo/centos-continuous/ostree/repo/
args:
creates: /etc/ostree/remotes.d/centos-atomic-continuous.conf
- command: docker inspect rpm-ostree-builder
failed_when: False
changed_when: False
register: inspect
- name: build buildimg
command: make buildimg
args:
chdir: sync/tests/vmcheck
when: inspect.rc != 0