diff options
Diffstat (limited to 'ci/build_rpm/build_rpms.sh')
-rwxr-xr-x | ci/build_rpm/build_rpms.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ci/build_rpm/build_rpms.sh b/ci/build_rpm/build_rpms.sh deleted file mode 100755 index 40cae6ccf..000000000 --- a/ci/build_rpm/build_rpms.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -eux -BUILD_FOR=${BUILD_FOR:-centos} - -function build_rpm_pkg { - case $1 in - centos) - sudo docker build -t kvm_rpm . - sudo docker run -v $WORKSPACE:/opt/kvmfornfv -t kvm_rpm \ - /opt/kvmfornfv/ci/build_rpm/build_rpms_docker.sh - ;; - *) echo "Not supported system"; exit 1;; - esac -} - -for system in $BUILD_FOR -do - build_rpm_pkg $system -done |