]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-*build: build container as root 1545/head
authorSage Weil <sage@redhat.com>
Wed, 1 Apr 2020 22:46:25 +0000 (17:46 -0500)
committerSage Weil <sage@redhat.com>
Wed, 1 Apr 2020 22:46:25 +0000 (17:46 -0500)
Hopefully this avoids all of the podman/docker issues like

+ make clean.all
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory
+ login_docker_hub
+ echo 'Login in the Docker Hub'
Login in the Docker Hub
+ docker login -u **** -p **** quay.io
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: could not get runtime: open /proc/13238/ns/user: no such file or directory

Signed-off-by: Sage Weil <sage@redhat.com>
ceph-dev-build/build/build_rpm
ceph-dev-new-build/build/build_rpm

index cb3792e4a2da62f1d1d7476add6fc2dfa72b7ee8..3f443b95b8e2824cd98be68043aa4d4f1bb7273b 100644 (file)
@@ -204,7 +204,7 @@ if [[ "$CI_CONTAINER" == true && $DISTRO == "centos" && $FLAVOR == "default" ]]
 
     cd $WORKSPACE/ceph-container
     # avoid failing the build if build-push fails
-    CI_CONTAINER=${CI_CONTAINER} SHA1=${SHA1} /bin/bash ./contrib/build-push-ceph-container-imgs.sh || /bin/true
+    sudo CI_CONTAINER=${CI_CONTAINER} SHA1=${SHA1} /bin/bash ./contrib/build-push-ceph-container-imgs.sh || /bin/true
     cd $WORKSPACE
 fi
 
index 0319295db295cdbc3c92558b6025daeb282cb6cf..cee88cc01495996b68bf4c71ed03246afd412f18 100644 (file)
@@ -205,7 +205,7 @@ if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && $FLAVOR == "default" ]]
 
     cd $WORKSPACE/ceph-container
     # avoid failing the build if build-push fails
-    CI_CONTAINER=${CI_CONTAINER} SHA1=${SHA1} /bin/bash ./contrib/build-push-ceph-container-imgs.sh || /bin/true
+    sudo CI_CONTAINER=${CI_CONTAINER} SHA1=${SHA1} /bin/bash ./contrib/build-push-ceph-container-imgs.sh || /bin/true
     cd $WORKSPACE
 fi