diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-09-02 16:18:12 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2022-09-03 16:54:11 +0200 |
commit | 6645558f61d0cf6ae9e79a17147509a0698fe97b (patch) | |
tree | bda3d2fc8471f94a7bdbed0933e2556de2bdb202 /.github | |
parent | 645c1f2aea0af84f607575d25720426cb3130db4 (diff) | |
download | tigervnc-6645558f61d0cf6ae9e79a17147509a0698fe97b.tar.gz tigervnc-6645558f61d0cf6ae9e79a17147509a0698fe97b.zip |
More verbose output for container builds
Diffstat (limited to '.github')
-rwxr-xr-x | .github/containers/bionic/build.sh | 16 | ||||
-rwxr-xr-x | .github/containers/centos7/build.sh | 12 | ||||
-rwxr-xr-x | .github/containers/centos8/build.sh | 10 | ||||
-rwxr-xr-x | .github/containers/focal/build.sh | 16 |
4 files changed, 27 insertions, 27 deletions
diff --git a/.github/containers/bionic/build.sh b/.github/containers/bionic/build.sh index ebbc50c4..243c3f95 100755 --- a/.github/containers/bionic/build.sh +++ b/.github/containers/bionic/build.sh @@ -44,14 +44,14 @@ cat ${DEBDIR}/debian/changelog >> ${CURDIR}/build/debian/changelog ## Start the build docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \ - bash -c " - tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz && - cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian && - mk-build-deps ~/build/tigervnc-${VERSION}/debian/control && - sudo dpkg --unpack ~/tigervnc-build-deps_*.deb && - sudo apt-get update && - sudo apt-get -f install -y && - cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage + bash -e -x -c " + tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz; + cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian; + mk-build-deps ~/build/tigervnc-${VERSION}/debian/control; + sudo dpkg --unpack ~/tigervnc-build-deps_*.deb; + sudo apt-get update; + sudo apt-get -f install -y; + cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage; " mkdir -p ${CURDIR}/result diff --git a/.github/containers/centos7/build.sh b/.github/containers/centos7/build.sh index 6d1f9364..883e8b65 100755 --- a/.github/containers/centos7/build.sh +++ b/.github/containers/centos7/build.sh @@ -32,12 +32,12 @@ sed -i "s/@VERSION@/${VERSION}/" ${CURDIR}/rpmbuild/SPECS/tigervnc.spec ## Start the build docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \ - bash -c " - sudo yum install -y epel-release && - sudo yum-builddep -y ~/rpmbuild/SPECS/tigervnc.spec && - sudo chown 0.0 ~/rpmbuild/SOURCES/* && - sudo chown 0.0 ~/rpmbuild/SPECS/* && - rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec + bash -e -x -c " + sudo yum install -y epel-release; + sudo yum-builddep -y ~/rpmbuild/SPECS/tigervnc.spec; + sudo chown 0.0 ~/rpmbuild/SOURCES/*; + sudo chown 0.0 ~/rpmbuild/SPECS/*; + rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec; " mkdir -p ${CURDIR}/result diff --git a/.github/containers/centos8/build.sh b/.github/containers/centos8/build.sh index cf8a82c3..1e5e0d8f 100755 --- a/.github/containers/centos8/build.sh +++ b/.github/containers/centos8/build.sh @@ -32,11 +32,11 @@ sed -i "s/@VERSION@/${VERSION}/" ${CURDIR}/rpmbuild/SPECS/tigervnc.spec ## Start the build docker run --volume ${CURDIR}/rpmbuild:/home/rpm/rpmbuild --interactive --rm tigervnc/${DOCKER} \ - bash -c " - sudo dnf builddep -y ~/rpmbuild/SPECS/tigervnc.spec && - sudo chown 0.0 ~/rpmbuild/SOURCES/* && - sudo chown 0.0 ~/rpmbuild/SPECS/* && - rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec + bash -e -x -c " + sudo dnf builddep -y ~/rpmbuild/SPECS/tigervnc.spec; + sudo chown 0.0 ~/rpmbuild/SOURCES/*; + sudo chown 0.0 ~/rpmbuild/SPECS/*; + rpmbuild -ba ~/rpmbuild/SPECS/tigervnc.spec; " mkdir -p ${CURDIR}/result diff --git a/.github/containers/focal/build.sh b/.github/containers/focal/build.sh index 3e6e5c09..9041ca25 100755 --- a/.github/containers/focal/build.sh +++ b/.github/containers/focal/build.sh @@ -44,14 +44,14 @@ cat ${DEBDIR}/debian/changelog >> ${CURDIR}/build/debian/changelog ## Start the build docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \ - bash -c " - tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz && - cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian && - mk-build-deps ~/build/tigervnc-${VERSION}/debian/control && - sudo dpkg --unpack ~/tigervnc-build-deps_*.deb && - sudo apt-get update && - sudo apt-get -f install -y && - cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage + bash -e -x -c " + tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz; + cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian; + mk-build-deps ~/build/tigervnc-${VERSION}/debian/control; + sudo dpkg --unpack ~/tigervnc-build-deps_*.deb; + sudo apt-get update; + sudo apt-get -f install -y; + cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage; " mkdir -p ${CURDIR}/result |