⚙️ Print every command

This commit is contained in:
Christian Mäder 2018-04-10 11:13:52 +02:00
parent 6c3966415b
commit 1fb6b80f93
No known key found for this signature in database
GPG Key ID: 92FFD0A711F196BB
4 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@
# Default: undefined # Default: undefined
echo "▶️ $0 $*" echo "▶️ $0 $*"
set -x
ALL_BUILDS=("release" "prerelease" "branches" "special") ALL_BUILDS=("release" "prerelease" "branches" "special")
BUILDS=("${BUILD:-"${ALL_BUILDS[@]}"}") BUILDS=("${BUILD:-"${ALL_BUILDS[@]}"}")

View File

@ -2,6 +2,7 @@
# Builds develop, develop-* and master branches # Builds develop, develop-* and master branches
echo "▶️ $0 $*" echo "▶️ $0 $*"
set -x
ORIGINAL_GITHUB_REPO="digitalocean/netbox" ORIGINAL_GITHUB_REPO="digitalocean/netbox"
GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}" GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}"

View File

@ -2,6 +2,7 @@
# Builds the latest released version # Builds the latest released version
echo "▶️ $0 $*" echo "▶️ $0 $*"
set -x
ORIGINAL_GITHUB_REPO="digitalocean/netbox" ORIGINAL_GITHUB_REPO="digitalocean/netbox"
GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}" GITHUB_REPO="${GITHUB_REPO-$ORIGINAL_GITHUB_REPO}"

View File

@ -2,7 +2,7 @@
# Builds the Dockerfile[.variant] and injects tgz'ed Netbox code from Github # Builds the Dockerfile[.variant] and injects tgz'ed Netbox code from Github
echo "▶️ $0 $*" echo "▶️ $0 $*"
set -x
set -e set -e
if [ "${1}x" == "x" ] || [ "${1}" == "--help" ] || [ "${1}" == "-h" ]; then if [ "${1}x" == "x" ] || [ "${1}" == "--help" ] || [ "${1}" == "-h" ]; then