mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
1e4de86ca6
* 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.
34 lines
824 B
YAML
34 lines
824 B
YAML
machine:
|
|
# XXX: btrfs circleCI fix, see: https://github.com/docker/docker/issues/9939 and https://github.com/Sabayon/docker-stage3-base-amd64/commit/8c1bf737113a278dd2f
|
|
pre:
|
|
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.0-circleci'
|
|
- sudo chmod 0755 /usr/bin/docker
|
|
services:
|
|
- docker
|
|
|
|
dependencies:
|
|
cache_directories:
|
|
- "~/docker"
|
|
|
|
override:
|
|
- docker info
|
|
- curl -fsSL https://git.io/v2Ifs -o ~/bin/circleci-matrix
|
|
- chmod +x ~/bin/circleci-matrix
|
|
|
|
test:
|
|
override:
|
|
- circleci-matrix:
|
|
parallel: true
|
|
timeout: 3000
|
|
environment:
|
|
STEP: test
|
|
|
|
deployment:
|
|
hub:
|
|
branch: master
|
|
commands:
|
|
- circleci-matrix:
|
|
parallel: true
|
|
environment:
|
|
STEP: deployment
|