Sha256: 9a62b30dcd282c40858a4d4bd72b04601969bc39b0c5df7d30e6b9d143a0a269
Contents?: true
Size: 951 Bytes
Versions: 2
Compression:
Stored size: 951 Bytes
Contents
#!/bin/bash -e # If we're running in jenkins, there will be a conjur.identity file # with Conjur creds in it. Otherwise, assume the user's netrc has # them. if [[ -f /etc/conjur.identity ]]; then netrc=/etc/conjur.identity else netrc=$HOME/.netrc fi : ${CONJUR_APPLIANCE_URL=https://conjur-master-v2.itp.conjur.net/api} export CONJUR_APPLIANCE_URL [[ -f "$HOME/.debifyrc" ]] && rc_arg="-v $HOME/.debifyrc:/root/.debifyrc:ro" # mounting docker socket is required because subcommands launch # containers tty=$(tty -s && echo "-t" || true) docker run -i $tty --rm \ -e GLI_DEBUG -e DEBUG -e CONJUR_APPLIANCE_URL \ -e ARTIFACTORY_USER -e ARTIFACTORY_PASSWORD \ -e GIT_BRANCH -e BRANCH_NAME \ -v $PWD:$PWD -w $PWD \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ${netrc}:/root/.netrc:ro \ ${rc_arg} \ ${DEBIFY_ENTRYPOINT+--entrypoint $DEBIFY_ENTRYPOINT} \ ${DEBIFY_IMAGE-registry.tld/conjurinc/debify:@@DEBIFY_VERSION@@} "$@"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
conjur-debify-1.8.0 | distrib/docker-debify |
conjur-debify-1.7.4 | distrib/docker-debify |