Feat: switch default build-node to centos8-4c-4g
[releng/builder.git] / jjb / lf-infra-releasedockerhub.yaml
1 ---
2 - builder:
3     name: lf-odl-releasedockerhub-macro
4     builders:
5       - shell: !include-raw-escape:
6           - ./run_releasedockerhub.sh
7         ##- ../shell/run_releasedockerhub.sh "{org} {summary} {verbose} {copy}"
8
9 - job:
10     name: lf-odl-release-docker-hub
11     build-timeout: 90
12
13     project-type: freestyle
14     node: ubuntu1804-docker-4c-4g
15     disable-job: false
16     disabled: "{disable-job}"
17
18     # Runs once a day
19     triggers:
20       - timed: "@daily"
21
22     #   Define needed parameters for lf-infra-docker-login
23     parameters:
24       - string:
25           name: DOCKER_REGISTRY
26           default: "nexus3.opendaylight.org"
27       - string:
28           name: REGISTRY_PORTS
29           default: "10002"
30       - string:
31           name: DOCKERHUB_REGISTRY
32           default: "docker.io"
33
34       #   Define needed parameters for lf-odl-releasedockerhub-macro
35       - string:
36           name: RELEASEDOCKERHUB_ORG
37           default: "opendaylight"
38           description: ""
39       - string:
40           name: RELEASEDOCKERHUB_REPO
41           default: ""
42           description: "Only match repos that contains this string"
43       - string:
44           name: RELEASEDOCKERHUB_EXACT
45           default: ""
46           description: "Repo has to exactly match RELEASEDOCKERHUB_REPO "
47       - string:
48           name: RELEASEDOCKERHUB_SUMMARY
49           default: "Yes"
50           description: "Provides a brief statistic summary of what it found, and what it should do. Activate with Yes"
51       - string:
52           name: RELEASEDOCKERHUB_VERBOSE
53           default: ""
54           description: "Provides a verbose output of the operations. Activate with Yes"
55       - string:
56           name: RELEASEDOCKERHUB_COPY
57           default: "Yes"
58           description: "If a copy operation should be done from Nexus3 to docker hub. Activate with Yes"
59
60     builders:
61       - lf-infra-pre-build ## shell/python-tools-install.sh
62       - lf-infra-docker-login:
63           global-settings-file: "global-settings"
64           settings-file: "odl-releasedockerhub-authz-settings"
65       - lf-odl-releasedockerhub-macro: