diff options
author | Ed Warnicke <eaw@cisco.com> | 2017-03-27 14:45:48 -0700 |
---|---|---|
committer | Ed Warnicke <eaw@cisco.com> | 2017-03-27 14:45:48 -0700 |
commit | c4b3d771f5ae7cf796e5aa7401ab3e3a8fa674ba (patch) | |
tree | c5f9aae26c7f545cd0f72b72eb327b183dfe2af8 | |
parent | 6685370f142c83ff8c9895dd0ac373644a6aab5b (diff) |
Try to push rpm/deb to package cloud in a single transaction
Change-Id: I8086e4b615757ecc0b37c0bcd4eb020eba3a4c9f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
-rw-r--r-- | jjb/vpp/include-raw-vpp-packagecloud-push.sh | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/jjb/vpp/include-raw-vpp-packagecloud-push.sh b/jjb/vpp/include-raw-vpp-packagecloud-push.sh index 74b96b382..8908d09c5 100644 --- a/jjb/vpp/include-raw-vpp-packagecloud-push.sh +++ b/jjb/vpp/include-raw-vpp-packagecloud-push.sh @@ -2,23 +2,14 @@ if [ "${OS}" == "ubuntu1404" ]; then DEBS=$(find . -type f -iname '*.deb') - for i in $DEBS - do - package_cloud push fdio/test/ubuntu/trusty/main "$i" - done + package_cloud push fdio/test/ubuntu/trusty/main ${DEBS} elif [ "${OS}" == "ubuntu1604" ]; then DEBS=$(find . -type f -iname '*.deb') - for i in $DEBS - do - package_cloud push fdio/test/ubuntu/xenial/main "$i" - done + package_cloud push fdio/test/ubuntu/xenial/main ${DEBS} elif [ "${OS}" == "centos7" ]; then # Find the files RPMS=$(find . -type f -iname '*.rpm') SRPMS=$(find . -type f -iname '*.srpm') SRCRPMS=$(find . -type f -name '*.src.rpm') - for i in $RPMS $SRPMS $SRCRPMS - do - package_cloud push fdio/test/el/7/os/x86_64/ "$i" - done + package_cloud push fdio/test/el/7/os/x86_64/ ${RPMS} ${SRPMS} ${SRCRPMS} fi
\ No newline at end of file |