diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2023-05-03 09:47:36 -0700 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2023-05-03 09:48:09 -0700 |
commit | 86af1067030c622c32ebfa0246482bd69ba45411 (patch) | |
tree | 71d55e8f8a99de1b3576f7abf34cfccb21e97ae7 /jjb/lf-infra-releasedockerhub.yaml | |
parent | 7adb804e2359807bff1c1dbdb96699185ef93211 (diff) |
Refactor: Cleanup for pre-commit
Change-Id: I322d72428f094f75f065d02f179a71958f36c875
Issue-ID: CIMAN-33
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/lf-infra-releasedockerhub.yaml')
-rw-r--r-- | jjb/lf-infra-releasedockerhub.yaml | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/jjb/lf-infra-releasedockerhub.yaml b/jjb/lf-infra-releasedockerhub.yaml index ee58beed5..da831e248 100644 --- a/jjb/lf-infra-releasedockerhub.yaml +++ b/jjb/lf-infra-releasedockerhub.yaml @@ -1,65 +1,65 @@ --- - builder: - name: lf-onap-releasedockerhub-macro - builders: - - shell: !include-raw-escape: - - ../shell/run_releasedockerhub.sh + name: lf-onap-releasedockerhub-macro + builders: + - shell: !include-raw-escape: + - ../shell/run_releasedockerhub.sh - job: - name: lf-onap-release-docker-hub - build-timeout: 90 + 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}" + 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" + # 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" + # 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" - # 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" + # 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 + 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 |