forked from projectatomic/container-storage-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.papr.yml
33 lines (27 loc) · 808 Bytes
/
.papr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
branches:
- master
- auto
- try
host:
distro: fedora/28/atomic
specs:
secondary-disk: 10
context: fedora/28/atomic
required: true
tests:
- mkdir -p /srv/install
- docker run --rm --privileged -v $PWD:/code -v /srv/install:/srv/install --workdir /code registry.fedoraproject.org/fedora:28 sh -c 'dnf install -y make && make install DESTDIR=/srv/install'
- systemctl stop docker
- rm -rf /var/lib/docker/*
- ostree admin unlock
- rsync -rlv /srv/install/usr/ /usr/
- rsync -rlv /srv/install/etc/ /etc/
- rm -f /etc/sysconfig/docker-storage-setup
- rm -f /etc/sysconfig/docker-storage
- if findmnt /dev/vdb; then umount /dev/vdb; fi
- wipefs -a /dev/vdb
- echo "DEVS=/dev/vdb" >> tests/css-test-config
- tests/run-tests.sh
timeout: 15m
artifacts:
- temp/logs.txt