ci: Extend FAH rootfs for installed tests
These at the moment aren't in a container, and may need space. In the future overlay2 will help here, we can more easily extend the rootfs. Closes: #840 Approved by: jlebon
This commit is contained in:
parent
48d2637e98
commit
af7fed94ed
|
|
@ -132,7 +132,7 @@ build:
|
||||||
tests:
|
tests:
|
||||||
- make install DESTDIR=$(pwd)/insttree
|
- make install DESTDIR=$(pwd)/insttree
|
||||||
- rsync -rl -e 'ssh -o User=root' . vmcheck:ostree/
|
- rsync -rl -e 'ssh -o User=root' . vmcheck:ostree/
|
||||||
- ssh root@vmcheck 'ostree admin unlock && rsync -rlv ./ostree/insttree/usr/ /usr/ && ./ostree/tests/installed/run.sh'
|
- ssh root@vmcheck './ostree/tests/installed/fah-prep.sh && ostree admin unlock && rsync -rlv ./ostree/insttree/usr/ /usr/ && ./ostree/tests/installed/run.sh'
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- test-suite.log
|
- test-suite.log
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -xeuo pipefail
|
||||||
|
# If we're using devmapper, expand the root
|
||||||
|
if lvm lvs atomicos/docker-pool &>/dev/null; then
|
||||||
|
systemctl stop docker
|
||||||
|
lvm lvremove -f atomicos/docker-pool
|
||||||
|
fi
|
||||||
|
lvm lvextend -r -l +100%FREE atomicos/root
|
||||||
Loading…
Reference in New Issue