Now deploy to packagecloud
@@ -219,6 +219,8 @@ jobs:
# The primary container is an instance of the first list image listed. Your build commands run in this container.
- image: circleci/ruby:2.4
working_directory: ~/st2/packages/
+ environment:
+ - DISTROS: "trusty xenial el6 el7"
steps:
- attach_workspace:
at: ~/st2/packages/
@@ -233,6 +235,9 @@ jobs:
set -x
sudo apt-get -y install parallel jq
gem install package_cloud
+ - run:
+ name: Deploy deb/rpm packages to PackageCloud
+ command: parallel -v -j0 --line-buffer .circle/packagecloud.sh deploy {} {}/build/ ::: ${DISTROS}
# Putting everything together
workflows:
