⚙️ Print every command
This commit is contained in:
parent
6c3966415b
commit
1fb6b80f93
|
@ -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[@]}"}")
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue