ci: log make vars before build
This commit is contained in:
parent
edd395638e
commit
e8f429a40d
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -136,6 +136,21 @@ spec:
|
|||||||
|
|
||||||
export DOCKER_BUILDKIT=1
|
export DOCKER_BUILDKIT=1
|
||||||
|
|
||||||
|
echo "Sanity-checking Makefile vars..."
|
||||||
|
make -n \
|
||||||
|
VERSIONTAG="${VERSIONTAG}" \
|
||||||
|
BASEIMAGETAG="${VERSIONTAG}" \
|
||||||
|
IMAGENAMESPACE="${IMAGE_NAMESPACE}" \
|
||||||
|
BASEIMAGENAMESPACE="${IMAGE_NAMESPACE}" \
|
||||||
|
DOCKERNETWORK=host \
|
||||||
|
PULL_BASE_FROM_DOCKERHUB=false \
|
||||||
|
BUILD_BASE=true \
|
||||||
|
BUILDTRIVYADP=false \
|
||||||
|
BUILD_INSTALLER=true \
|
||||||
|
build \
|
||||||
|
| grep -E 'make -f .*/make/photon/Makefile build|IMAGENAMESPACE=|BASEIMAGENAMESPACE=|VERSIONTAG=|BASEIMAGETAG=|PULL_BASE_FROM_DOCKERHUB=' \
|
||||||
|
|| true
|
||||||
|
|
||||||
# Harbor's root Makefile hard-sets many defaults (e.g. IMAGENAMESPACE=goharbor,
|
# Harbor's root Makefile hard-sets many defaults (e.g. IMAGENAMESPACE=goharbor,
|
||||||
# PULL_BASE_FROM_DOCKERHUB=true). Environment exports are not sufficient because
|
# PULL_BASE_FROM_DOCKERHUB=true). Environment exports are not sufficient because
|
||||||
# makefile assignments override the environment. Pass overrides on the make
|
# makefile assignments override the environment. Pass overrides on the make
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user