Skip to content
Snippets Groups Projects

build the Dockerimage used in CI

Merged Bas Nijholt requested to merge docker into master
1 file
+ 28
16
Compare changes
  • Side-by-side
  • Inline
+ 28
16
image: quantumtinkerer/research # until the other image is build
image: quantumtinkerer/research # until the other image is build
test:
stages:
script:
- prebuild
- py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
- test
artifacts:
paths:
- htmlcov
authors check:
script:
- MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
- if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
allow_failure: true
check whitespace style:
script: ./check_whitespace
allow_failure: true
build docker:
build docker:
 
stage:
 
- prebuild
image:
image:
name: gcr.io/kaniko-project/executor:debug
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
entrypoint: [""]
@@ -34,3 +23,26 @@ build docker:
@@ -34,3 +23,26 @@ build docker:
- Dockerfile
- Dockerfile
- environment.yml
- environment.yml
- test-requirements.txt
- test-requirements.txt
 
 
test:
 
stage:
 
- test
 
script:
 
- py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
 
artifacts:
 
paths:
 
- htmlcov
 
 
authors check:
 
stage:
 
- test
 
script:
 
- MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
 
- if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
 
allow_failure: true
 
 
check whitespace style:
 
stage:
 
- test
 
script: ./check_whitespace
 
allow_failure: true
Loading