diff options
Diffstat (limited to 'jjb/lf-infra-releasedockerhub.yaml')
-rw-r--r-- | jjb/lf-infra-releasedockerhub.yaml | 115 |
1 files changed, 56 insertions, 59 deletions
diff --git a/jjb/lf-infra-releasedockerhub.yaml b/jjb/lf-infra-releasedockerhub.yaml index bb2c37526..ee58beed5 100644 --- a/jjb/lf-infra-releasedockerhub.yaml +++ b/jjb/lf-infra-releasedockerhub.yaml @@ -1,68 +1,65 @@ --- - builder: - name: lf-onap-releasedockerhub-macro - builders: - - shell: !include-raw-escape: - - ../shell/run_releasedockerhub.sh - ##- ../shell/run_releasedockerhub.sh "{org} {summary} {verbose} {copy}" - + name: lf-onap-releasedockerhub-macro + builders: + - shell: !include-raw-escape: + - ../shell/run_releasedockerhub.sh - 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 day - triggers: - - timed: '@daily' + name: lf-onap-release-docker-hub + build-timeout: 90 -# 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' + project-type: freestyle + node: ubuntu1804-docker-8c-8g ## Probably don't need this much + disable-job: false + disabled: "{disable-job}" -# 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' + # Runs once a day + triggers: + - timed: "@daily" + # 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" - 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 + # 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" + # yamllint disable-line rule:line-length + 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 |