circleci-matrix: Increase timeout associated with deployment step

This commit is contained in:
Jean-Christophe Fillion-Robin 2016-11-26 12:50:33 -05:00
parent 029b402646
commit 68393166b9
No known key found for this signature in database
GPG Key ID: 15C1A2812F958BD3
2 changed files with 3 additions and 1 deletions

View File

@ -79,10 +79,11 @@ command:
echo "Saving dockcross/$IMAGE into ~/docker cache" echo "Saving dockcross/$IMAGE into ~/docker cache"
mkdir -p ~/docker; time docker save dockcross/$IMAGE > ~/docker/$IMAGE.tar mkdir -p ~/docker; time docker save dockcross/$IMAGE > ~/docker/$IMAGE.tar
echo "Saving dockcross/$IMAGE into ~/docker cache - done" echo "Saving dockcross/$IMAGE into ~/docker cache - done"
fi fi
if [[ $STEP == "deployment" ]]; then if [[ $STEP == "deployment" ]]; then
echo "Docker login"
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
echo "Docker login - done"
if [[ $CIRCLE_NODE_INDEX == 0 ]] && [[ ! -f ~/BASE_PUSHED ]]; then if [[ $CIRCLE_NODE_INDEX == 0 ]] && [[ ! -f ~/BASE_PUSHED ]]; then
echo "Pushing dockcross/base" echo "Pushing dockcross/base"
time docker push dockcross/base time docker push dockcross/base

View File

@ -33,5 +33,6 @@ deployment:
commands: commands:
- circleci-matrix: - circleci-matrix:
parallel: true parallel: true
timeout: 1800
environment: environment:
STEP: deployment STEP: deployment