diff --git a/.papr.yml b/.papr.yml index 1a94f4ea..d70efff5 100644 --- a/.papr.yml +++ b/.papr.yml @@ -27,7 +27,7 @@ host: distro: fedora/29/atomic tests: - - ./ci/f29-cosa-build.sh + - ./ci/cosa-build.sh timeout: 120m diff --git a/ci/f29-cosa-build.sh b/ci/cosa-build.sh similarity index 79% rename from ci/f29-cosa-build.sh rename to ci/cosa-build.sh index 33b7096f..70f9651b 100755 --- a/ci/f29-cosa-build.sh +++ b/ci/cosa-build.sh @@ -7,10 +7,11 @@ cosaimg=quay.io/coreos-assembler/coreos-assembler:latest podman pull "${cosaimg}" # Build rpm-ostree using cosa as a buildroot, and extract the result -podman run --privileged --rm \ +podman run --security-opt label=disable --rm \ -v $(pwd):/srv/code -w /srv/code \ + --entrypoint bash --user root \ "${cosaimg}" \ - /bin/sh -c './ci/build.sh && make install DESTDIR=$(pwd)/installroot' + -c 'yum -y swap fedora-release-container fedora-release && ./ci/build.sh && make install DESTDIR=$(pwd)/installroot' codedir=$(pwd) mkdir fcos