Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
docker build test (#388)
Browse files Browse the repository at this point in the history
* added a new job to test bulding the docker, for now it is daisy-chained to the end

* this is just a TEST

* test

* test

* remove old image

* debug

* debug

* test

* debug

* enabled all the jobs

* quick fix

* removing non-tagged iamges

Co-authored-by: maxkazmsft <maxkaz@microsoft.com>
  • Loading branch information
fazamani and maxkazmsft authored Jul 2, 2020
1 parent 553d064 commit 9f7774c
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion tests/cicd/main_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:

- job: checkerboard_patch
dependsOn: cv_lib_unit_tests_job
timeoutInMinutes: 60
timeoutInMinutes: 15
displayName: Checkerboard patch local
pool:
name: deepseismicagentpool
Expand Down Expand Up @@ -359,3 +359,24 @@ jobs:
pytest -s tests/cicd/src/notebook_integration_tests.py \
--nbname examples/interpretation/segyconverter/02_segy_convert_sample.ipynb \
--cwd examples/interpretation/segyconverter
###################################################################################################
# Stage 5: Docker tests
###################################################################################################
- job: docker_build_test
dependsOn: segyconverter_notebooks
timeoutInMinutes: 30
displayName: Docker build test
pool:
name: deepseismicagentpool
steps:
- bash: |
set -e
echo "build docker"
cd docker
pwd
docker images | grep "seismic-deeplearning" | awk '{print $1 ":" $2}' | xargs docker rmi || echo "pass if no seismic-deeplearning image is found"
docker images | grep "<none>" | awk '{print $1 ":" $2}' | xargs docker rmi || echo "pass if no non-tagged images is found"
docker build -t seismic-deeplearning .

0 comments on commit 9f7774c

Please sign in to comment.