mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
Merge pull request #90 from jcfr/less-verbose-docker-pull-and-push
circleci-matrix: less verbose docker push and pull
This commit is contained in:
commit
0926d89d99
@ -26,7 +26,7 @@ command:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Pulling dockcross/base"
|
echo "Pulling dockcross/base"
|
||||||
time docker pull dockcross/base
|
time docker pull dockcross/base | cat
|
||||||
echo "Pulling dockcross/base - done"
|
echo "Pulling dockcross/base - done"
|
||||||
|
|
||||||
time make base.test
|
time make base.test
|
||||||
@ -48,6 +48,7 @@ command:
|
|||||||
exit_code=$?
|
exit_code=$?
|
||||||
if [[ $exit_code -eq 0 ]]; then break; elif [[ $exit_code -eq 1 ]]; then echo -n "."; else exit $exit_code;fi
|
if [[ $exit_code -eq 0 ]]; then break; elif [[ $exit_code -eq 1 ]]; then echo -n "."; else exit $exit_code;fi
|
||||||
done
|
done
|
||||||
|
echo ""
|
||||||
echo "Waiting for node0 - done"
|
echo "Waiting for node0 - done"
|
||||||
|
|
||||||
echo "Copying base image from node0"
|
echo "Copying base image from node0"
|
||||||
@ -68,7 +69,7 @@ command:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Pulling dockcross/$IMAGE"
|
echo "Pulling dockcross/$IMAGE"
|
||||||
time docker pull dockcross/$IMAGE
|
time docker pull dockcross/$IMAGE | cat
|
||||||
echo "Pulling dockcross/$IMAGE - done"
|
echo "Pulling dockcross/$IMAGE - done"
|
||||||
|
|
||||||
echo "Loading base.tar from ~/docker cache"
|
echo "Loading base.tar from ~/docker cache"
|
||||||
@ -87,12 +88,12 @@ command:
|
|||||||
echo "Docker login - done"
|
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 | cat
|
||||||
echo "Pulling dockcross/base - done"
|
echo "Pulling dockcross/base - done"
|
||||||
touch ~/BASE_PUSHED
|
touch ~/BASE_PUSHED
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Pushing dockcross/$IMAGE"
|
echo "Pushing dockcross/$IMAGE"
|
||||||
time docker push dockcross/$IMAGE
|
time docker push dockcross/$IMAGE | cat
|
||||||
echo "Pushing dockcross/$IMAGE - done"
|
echo "Pushing dockcross/$IMAGE - done"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user