2 # Job configurations for base docker build images
4 # This macro factors out common configuration
5 - it_dev_docker_common: &it_dev_docker_common
6 name: it-dev-docker-common
9 # maven settings file has docker credentials
10 mvn-settings: it-dev-settings
11 # build every Saturday
13 # use host network to clone from our gerrit
14 docker-build-args: '--network=host'
16 container-tag-method: yaml-file
18 project-name: 'it-dev-{img}'
21 # Directory with Dockerfile
22 docker-root: 'bldr-imgs/{img}'
23 # Limit build trigger to appropriate files;
24 gerrit_trigger_file_paths:
25 - compare-type: REG_EXP
26 pattern: 'bldr-imgs/{img}/.*'
27 # Includes verify and merge jobs
29 - '{project-name}-gerrit-docker-jobs'
30 # Only build master branch
35 # Each project name is a subdirectory in bldr-images
36 # with a Dockerfile and a container-tag.yaml file
37 # TODO: coalesce name+img after removing projects from ci-management
42 <<: *it_dev_docker_common
45 name: it-dev-alpine3-go
47 <<: *it_dev_docker_common
50 name: it-dev-ubuntu18-c-go
51 img: bldr-ubuntu18-c-go
52 <<: *it_dev_docker_common