# Job configurations for base docker build images
# This macro factors out common configuration
-- ci_docker_common: &ci_docker_common
+- _ci_docker_common: &ci_docker_common
name: ci-docker-common
# git repo
project: ci-management
# maven settings file has docker credentials
mvn-settings: ci-management-settings
# build every Saturday
- cron: 'H H * * 6'
+ cron: "H H * * 6"
# use host network to clone from our gerrit
- docker-build-args: '--network=host'
+ docker-build-args: "--network=host"
# get tag from YAML
container-tag-method: yaml-file
# name key is overridden by project template
# Jenkins job prefix
- project-name: '{project}-{name}'
+ project-name: "{project}-{name}"
# Docker image name
- docker-name: '{name}'
+ docker-name: "{name}"
# Directory with Dockerfile
- docker-root: 'docker/{name}'
+ docker-root: "docker/{name}"
# Limit build trigger to appropriate files
gerrit_trigger_file_paths:
- compare-type: REG_EXP
- pattern: 'docker/{name}/.*'
+ pattern: "docker/{name}/.*"
# Includes verify and merge jobs
jobs:
- - '{project-name}-gerrit-docker-jobs'
+ - "{project-name}-gerrit-docker-jobs"
# Only build master branch
stream:
- master:
# Each project name is a subdirectory in ci-management/docker
# with a Dockerfile and a container-tag.yaml file
-- project:
- name: bldr-alpine3
- <<: *ci_docker_common
-
-- project:
- name: bldr-alpine3-go
- <<: *ci_docker_common
-
+# This image is deprecated, projects should move to Ubuntu 18
+# TODO remove entirely
- project:
name: bldr-ubuntu16-c-go
<<: *ci_docker_common
-
-- project:
- name: bldr-ubuntu18-c-go
- <<: *ci_docker_common