From ccf3f2391b0f09d7b51bf65bd8109b62aa33852d Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Wed, 3 May 2023 09:37:46 -0700 Subject: Refactor: Cleanup for pre-commit Change-Id: Iae33b5bd575ba40f4ecdceea4443aa4dc8b4a6cd Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg --- jjb/lab/lab-templates.yaml | 57 +++++++++++++++++++++++----------------------- jjb/lab/lab.yaml | 20 ++++++++-------- 2 files changed, 38 insertions(+), 39 deletions(-) (limited to 'jjb/lab') diff --git a/jjb/lab/lab-templates.yaml b/jjb/lab/lab-templates.yaml index 234d1fc86..951409ef4 100644 --- a/jjb/lab/lab-templates.yaml +++ b/jjb/lab/lab-templates.yaml @@ -1,36 +1,35 @@ --- - job-template: - name: 'lab-{job-name}' - description: '{job-desc}' - disabled: false - project-type: freestyle - build-node: ubuntu1804-builder-4c-4g + name: "lab-{job-name}" + description: "{job-desc}" + disabled: false + project-type: freestyle + build-node: ubuntu1804-builder-4c-4g - properties: - - lf-infra-properties: - project: 'integration' - build-days-to-keep: '{build-days-to-keep}' + properties: + - lf-infra-properties: + project: "integration" + build-days-to-keep: "{build-days-to-keep}" - parameters: - - string: - name: LOG_DIR_URL - description: 'URL for the log directory produced by the external job' - - string: - name: SRC_BUILD_URL - description: 'URL for the external Jenkins build triggering this build' + parameters: + - string: + name: LOG_DIR_URL + description: "URL for the log directory produced by the external job" + - string: + name: SRC_BUILD_URL + description: "URL for the external Jenkins build triggering this build" - wrappers: - - lf-infra-wrappers: - build-timeout: '{build-timeout}' - jenkins-ssh-credential: '{jenkins-ssh-credential}' + wrappers: + - lf-infra-wrappers: + build-timeout: "{build-timeout}" + jenkins-ssh-credential: "{jenkins-ssh-credential}" - builders: - - shell: - !include-raw: - - include-raw-lab-retrieve-logs.sh + builders: + - shell: !include-raw: + - include-raw-lab-retrieve-logs.sh - publishers: - - integration-robot: - unstable-if: 60.0 - pass-if: 100.0 - - lf-infra-publish + publishers: + - integration-robot: + unstable-if: 60.0 + pass-if: 100.0 + - lf-infra-publish diff --git a/jjb/lab/lab.yaml b/jjb/lab/lab.yaml index 7fbbe616f..d343f72e0 100644 --- a/jjb/lab/lab.yaml +++ b/jjb/lab/lab.yaml @@ -1,12 +1,12 @@ --- - project: - name: lab - jobs: - - 'lab-{job-name}' - job-name: - - "windriver-oom-daily": - job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Daily tenant" - - "windriver-oom-staging-daily": - job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Staging-Daily tenant" - - "tlab-oom-daily": - job-desc: "OOM-based deployment into AT&T TLAB Integration-OOM-Test tenant" + name: lab + jobs: + - "lab-{job-name}" + job-name: + - "windriver-oom-daily": + job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Daily tenant" + - "windriver-oom-staging-daily": + job-desc: "OOM-based deployment into Wind River lab Integration-OOM-Staging-Daily tenant" + - "tlab-oom-daily": + job-desc: "OOM-based deployment into AT&T TLAB Integration-OOM-Test tenant" -- cgit 1.2.3-korg