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