mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
circleci-matrix: Increase timeout associated with deployment step
This commit is contained in:
parent
029b402646
commit
68393166b9
@ -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
|
||||||
|
@ -33,5 +33,6 @@ deployment:
|
|||||||
commands:
|
commands:
|
||||||
- circleci-matrix:
|
- circleci-matrix:
|
||||||
parallel: true
|
parallel: true
|
||||||
|
timeout: 1800
|
||||||
environment:
|
environment:
|
||||||
STEP: deployment
|
STEP: deployment
|
||||||
|
Loading…
Reference in New Issue
Block a user