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