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

Version Path
conjur-cli-6.2.6 ci/publish.sh
conjur-cli-6.2.5 ci/publish.sh
conjur-cli-6.2.4 ci/publish.sh
conjur-cli-6.2.3 ci/publish.sh
conjur-cli-6.2.2 ci/publish.sh
conjur-cli-6.2.1 ci/publish.sh
conjur-cli-6.2.0 ci/publish.sh
conjur-cli-6.1.0 ci/publish.sh
conjur-cli-6.0.1 ci/publish.sh
conjur-cli-5.6.4 ci/publish.sh
conjur-cli-5.6.3 ci/publish.sh
conjur-cli-6.0.0 ci/publish.sh
conjur-cli-6.0.0.rc1 ci/publish.sh
conjur-cli-5.5.0 ci/publish.sh
conjur-cli-5.4.0 ci/publish.sh
conjur-cli-5.3.0 ci/publish.sh
conjur-cli-5.2.5 ci/publish.sh
conjur-cli-5.2.4 ci/publish.sh
conjur-cli-5.2.3 ci/publish.sh
conjur-cli-5.2.1 ci/publish.sh