Changeset 2386


Ignore:
Timestamp:
Mar 18, 2019, 8:04:06 PM (3 months ago)
Author:
bruno
Message:

Print a warning if docker image doesn't exists for mkctn

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 0.15.1/contrib/mkctn

    r2374 r2386  
    3131if [ _"$DISTRO" != _"mageia" ]; then
    3232    docker pull ${ORIGREPO}:$DISTROVER
     33    if [ $? -ne 0 ]; then
     34        echo "WARNING: No image found in Docker Hub"
     35        echo "Sleeping 5 seconds ..."
     36        echo " "
     37        echo " "
     38        sleep 5
     39    fi
    3340fi
    3441pb -p pb -T docker --stop-on-error -m $M newve -i ${ORIGREPO}:$DISTROVER && \
     
    4047pb -p $PBPRJ -T docker --stop-on-error -m $M build2ve
    4148docker image prune -f
    42 
  • 0.15.1/rpmbootstrap/etc/.pbrc.yml

    r2385 r2386  
    5555#velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64
    5656velist:
    57   default: centos-6-x86_64,centos-7-x86_64,debian-7-x86_64,debian-8-x86_64,debian-9-x86_64,ubuntu-14.04-x86_64,ubuntu-16.04-x86_64,ubuntu-17.10-x86_64,ubuntu-18.04-x86_64,ubuntu-18.10-x86_64,mageia-3-x86_64,mageia-4-x86_64,mageia-5-x86_64,mageia-6-x86_64,fedora-22-x86_64,fedora-23-x86_64,fedora-24-x86_64,fedora-25-x86_64,fedora-26-x86_64,fedora-27-x86_64,fedora-28-x86_64,fedora-29-x86_64,opensuse-42.1-x86_64,opensuse-42.2-x86_64,opensuse-42.3-x86_64,opensuse-13.2-x86_64,opensuse-13.2-x86_64,opensuse-15.0-x86_64,opensuse-15.1-x86_64,gentoo-nover-x86_64,alpine-nover-x86_64
     57  default: centos-6-x86_64,centos-7-x86_64,debian-7-x86_64,debian-8-x86_64,debian-9-x86_64,ubuntu-14.04-x86_64,ubuntu-16.04-x86_64,ubuntu-17.10-x86_64,ubuntu-18.04-x86_64,ubuntu-18.10-x86_64,mageia-3-x86_64,mageia-4-x86_64,mageia-5-x86_64,mageia-6-x86_64,fedora-22-x86_64,fedora-23-x86_64,fedora-24-x86_64,fedora-25-x86_64,fedora-26-x86_64,fedora-27-x86_64,fedora-28-x86_64,fedora-29-x86_64,opensuse-42.1-x86_64,opensuse-42.2-x86_64,opensuse-42.3-x86_64,opensuse-13.2-x86_64,opensuse-15.0-x86_64,opensuse-15.1-x86_64,gentoo-nover-x86_64,alpine-nover-x86_64
  • devel/contrib/mkctn

    r2374 r2386  
    3131if [ _"$DISTRO" != _"mageia" ]; then
    3232    docker pull ${ORIGREPO}:$DISTROVER
     33    if [ $? -ne 0 ]; then
     34        echo "WARNING: No image found in Docker Hub"
     35        echo "Sleeping 5 seconds ..."
     36        echo " "
     37        echo " "
     38        sleep 5
     39    fi
    3340fi
    3441pb -p pb -T docker --stop-on-error -m $M newve -i ${ORIGREPO}:$DISTROVER && \
     
    4047pb -p $PBPRJ -T docker --stop-on-error -m $M build2ve
    4148docker image prune -f
    42 
  • devel/rpmbootstrap/etc/.pbrc.yml

    r2384 r2386  
    5555#velist default = centos-4-i386,centos-5-i386,centos-4-x86_64,centos-5-x86_64
    5656velist:
    57   default: centos-6-x86_64,centos-7-x86_64,debian-7-x86_64,debian-8-x86_64,debian-9-x86_64,ubuntu-14.04-x86_64,ubuntu-16.04-x86_64,ubuntu-17.10-x86_64,ubuntu-18.04-x86_64,ubuntu-18.10-x86_64,mageia-3-x86_64,mageia-4-x86_64,mageia-5-x86_64,mageia-6-x86_64,fedora-22-x86_64,fedora-23-x86_64,fedora-24-x86_64,fedora-25-x86_64,fedora-26-x86_64,fedora-27-x86_64,fedora-28-x86_64,fedora-29-x86_64,opensuse-42.1-x86_64,opensuse-42.2-x86_64,opensuse-42.3-x86_64,opensuse-13.2-x86_64,opensuse-13.2-x86_64,opensuse-15.0-x86_64,opensuse-15.1-x86_64,gentoo-nover-x86_64,alpine-nover-x86_64
     57  default: centos-6-x86_64,centos-7-x86_64,debian-7-x86_64,debian-8-x86_64,debian-9-x86_64,ubuntu-14.04-x86_64,ubuntu-16.04-x86_64,ubuntu-17.10-x86_64,ubuntu-18.04-x86_64,ubuntu-18.10-x86_64,mageia-3-x86_64,mageia-4-x86_64,mageia-5-x86_64,mageia-6-x86_64,fedora-22-x86_64,fedora-23-x86_64,fedora-24-x86_64,fedora-25-x86_64,fedora-26-x86_64,fedora-27-x86_64,fedora-28-x86_64,fedora-29-x86_64,opensuse-42.1-x86_64,opensuse-42.2-x86_64,opensuse-42.3-x86_64,opensuse-13.2-x86_64,opensuse-15.0-x86_64,opensuse-15.1-x86_64,gentoo-nover-x86_64,alpine-nover-x86_64
Note: See TracChangeset for help on using the changeset viewer.