ci/compose: Use host repos for building rpm-ostree too
We want to use the host repos not just for downloading the packages we'll compose trees with, but also for the rpm-ostree build itself leading up to the tests. Closes: #1585 Approved by: jlebon
This commit is contained in:
parent
640c1d74c9
commit
0b14c18a7b
@ -135,7 +135,7 @@ tests:
|
||||
-v /etc/yum.repos.d:/etc/yum.repos.d.host:ro
|
||||
-v $(pwd):/srv/code -w /srv/code
|
||||
registry.fedoraproject.org/fedora:28 /bin/sh -c
|
||||
"./ci/build.sh && make install && ./tests/compose"
|
||||
"cp /etc/yum.repos.d.host/* /etc/yum.repos.d/ && ./ci/build.sh && make install && ./tests/compose"
|
||||
|
||||
artifacts:
|
||||
- test-compose-logs
|
||||
@ -169,7 +169,7 @@ tests:
|
||||
-v /etc/yum.repos.d:/etc/yum.repos.d.host:ro
|
||||
-v $(pwd):/srv/code -w /srv/code
|
||||
registry.fedoraproject.org/fedora:28 /bin/sh -c
|
||||
"./ci/build.sh && make install && adduser unpriv && setfacl -m u:unpriv:rwX . && runuser -u unpriv ./tests/ex-container"
|
||||
"cp /etc/yum.repos.d.host/* /etc/yum.repos.d/ && ./ci/build.sh && make install && adduser unpriv && setfacl -m u:unpriv:rwX . && runuser -u unpriv ./tests/ex-container"
|
||||
|
||||
artifacts:
|
||||
- ex-container-logs
|
||||
|
Loading…
Reference in New Issue
Block a user