ci: Optimize parallel build

* style: Rename TASK to STEP
* do not pull base image after it was copied from node0 and loaded.
  It caused the current Dockerfile to be out-of-sync with the current image.
* do not pull images after loading the downloaded and up-to-date
  base.tar. It was overwriting the base.tar downloaded and loaded.
* save debian:jessie into base.tar
* use "time" command to help identify long running operation
* rename marker file from "BASE_READY" to "BASE_AVAILABLE"
* build base image only if needed.
This commit is contained in:
Jean-Christophe Fillion-Robin
2016-11-22 00:10:36 -05:00
parent b5c2221288
commit 1e4de86ca6
2 changed files with 24 additions and 21 deletions

View File

@ -21,7 +21,7 @@ test:
parallel: true
timeout: 3000
environment:
TASK: test
STEP: test
deployment:
hub:
@ -30,4 +30,4 @@ deployment:
- circleci-matrix:
parallel: true
environment:
TASK: deploy
STEP: deployment