Take the ARCH param from jenkins, so that the different archs can be separate projects (and parallelise builds)

This commit is contained in:
Pagan Gazzard 2015-04-10 15:42:39 +01:00 committed by Pablo Carranza Vélez
parent 4162d63c98
commit e8b6889d46

View File

@ -6,15 +6,5 @@ VERSION=$(git describe --always --abbrev=6)
ESCAPED_BRANCH_NAME=$(echo $sourceBranch | sed 's/[^a-z0-9A-Z_.-]/-/g')
# Build the images
make SUPERVISOR_VERSION=${ESCAPED_BRANCH_NAME} DEPLOY_REGISTRY= deploy
make SUPERVISOR_VERSION=${VERSION} DEPLOY_REGISTRY= deploy
make SUPERVISOR_VERSION=${ESCAPED_BRANCH_NAME} ARCH=i386 DEPLOY_REGISTRY= deploy
make SUPERVISOR_VERSION=${VERSION} ARCH=i386 DEPLOY_REGISTRY= deploy
make SUPERVISOR_VERSION=${ESCAPED_BRANCH_NAME} ARCH=armv7hf DEPLOY_REGISTRY= deploy
make SUPERVISOR_VERSION=${VERSION} ARCH=armv7hf DEPLOY_REGISTRY= deploy
# TODO: Change to deploy
make SUPERVISOR_VERSION=${ESCAPED_BRANCH_NAME} ARCH=x86_64 DEPLOY_REGISTRY= supervisor
make SUPERVISOR_VERSION=${VERSION} ARCH=x86_64 DEPLOY_REGISTRY= supervisor
make SUPERVISOR_VERSION=${ESCAPED_BRANCH_NAME} ARCH=${ARCH} DEPLOY_REGISTRY= deploy
make SUPERVISOR_VERSION=${VERSION} ARCH=${ARCH} DEPLOY_REGISTRY= deploy