blob: da831e248d15556b29d0646d79c843ad48306218 [file] [log] [blame]
Bengt Thuree8957be52019-10-30 17:12:26 +11001---
2- builder:
Andrew Grimberg86af1062023-05-03 09:47:36 -07003 name: lf-onap-releasedockerhub-macro
4 builders:
5 - shell: !include-raw-escape:
6 - ../shell/run_releasedockerhub.sh
Bengt Thuree8957be52019-10-30 17:12:26 +11007
8- job:
Andrew Grimberg86af1062023-05-03 09:47:36 -07009 name: lf-onap-release-docker-hub
10 build-timeout: 90
Bengt Thuree8957be52019-10-30 17:12:26 +110011
Andrew Grimberg86af1062023-05-03 09:47:36 -070012 project-type: freestyle
13 node: ubuntu1804-docker-8c-8g ## Probably don't need this much
14 disable-job: false
15 disabled: "{disable-job}"
Bengt Thuree8957be52019-10-30 17:12:26 +110016
Andrew Grimberg86af1062023-05-03 09:47:36 -070017 # Runs once a day
18 triggers:
19 - timed: "@daily"
Bengt Thuree8957be52019-10-30 17:12:26 +110020
Andrew Grimberg86af1062023-05-03 09:47:36 -070021 # Define needed parameters for lf-infra-docker-login
22 parameters:
23 - string:
24 name: DOCKER_REGISTRY
25 default: "nexus3.onap.org"
26 - string:
27 name: REGISTRY_PORTS
28 default: "10002"
29 - string:
30 name: DOCKERHUB_REGISTRY
31 default: "docker.io"
Bengt Thuree8957be52019-10-30 17:12:26 +110032
Andrew Grimberg86af1062023-05-03 09:47:36 -070033 # Define needed parameters for lf-onap-releasedockerhub-macro
34 - string:
35 name: RELEASEDOCKERHUB_ORG
36 default: "onap"
37 description: ""
38 - string:
39 name: RELEASEDOCKERHUB_REPO
40 default: ""
41 description: "Only match repos that contains this string"
42 - string:
43 name: RELEASEDOCKERHUB_EXACT
44 default: ""
45 description: "Repo has to exactly match RELEASEDOCKERHUB_REPO "
46 - string:
47 name: RELEASEDOCKERHUB_SUMMARY
48 default: "Yes"
49 # yamllint disable-line rule:line-length
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"
Bengt Thuree8957be52019-10-30 17:12:26 +110059
Andrew Grimberg86af1062023-05-03 09:47:36 -070060 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: "onap-releasedockerhub-authz-settings"
65 - lf-onap-releasedockerhub-macro