Reconfigure docker jobs to look like O-RAN
[releng/builder.git] / jjb / packaging / packaging.yaml
1 ---
2 - packaging_common:
3     &packaging_common # values apply to all packaging docker projects
4     name: packaging-common
5     # git repo
6     project: integration/packaging
7     # jenkins job name prefix
8     project-name: packaging
9     # maven settings file has docker credentials
10     mvn-settings: packaging-settings
11     # source of docker tag
12     container-tag-method: yaml-file
13     # build node
14     build-node: centos7-docker-4c-4g
15
16 - project:
17     <<: *packaging_common
18     name: packaging-docker
19     docker-name: "odl-docker"
20     docker-root: "$WORKSPACE/odl-docker"
21     docker-build-args: "--network=host"
22     pre_docker_build_script: "$WORKSPACE/odl-docker/install_docker.sh"
23     container-public-registry: nexus3.opendaylight.org:10001
24     container-push-registry: nexus3.opendaylight.org:10003
25     gerrit_trigger_file_paths:
26       - compare-type: REG_EXP
27         pattern: "odl-docker/.*"
28     jobs:
29       - "{project-name}-gerrit-docker-jobs"
30     stream:
31       - silicon:
32           branch: stable/silicon
33
34 - project:
35     <<: *packaging_common
36     name: packaging-release
37     jobs:
38       - "{project-name}-gerrit-release-jobs"
39
40 - project:
41     name: packaging-view
42     views:
43       - project-view
44     project-name: packaging