Sha256: fb31f865a1a89574db9901cb6b54cc147aeda064c14bead7f4a238d9905a2baa
Contents?: true
Size: 741 Bytes
Versions: 21
Compression:
Stored size: 741 Bytes
Contents
#!/bin/bash -e distribution=$1 component=$2 if [ "$distribution" == "" ]; then echo Distribution is required exit 1 fi if [ "$component" == "" ]; then echo Component is required exit 1 fi if [ "$ART_USERNAME" == "" -o "$ART_PASSWORD" == "" ]; then echo Usage: summon -f ci/secrets/publish.yml ./publish.sh exit 1 fi docker build -t conjur-cli-publish -f Dockerfile.publish . for package in *.deb; do echo Publishing "$package" docker run \ --rm \ -v $PWD/tmp/deb:/src \ conjur-cli-publish \ upload \ --url https://conjurinc.artifactoryonline.com/conjurinc \ --user $ART_USERNAME \ --password $ART_PASSWORD \ --deb "$distribution"/"$component"/amd64 \ $package \ debian-local done
Version data entries
21 entries across 21 versions & 1 rubygems