summaryrefslogtreecommitdiffstats
path: root/jjb/lab
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2023-05-03 09:37:46 -0700
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2023-05-03 09:45:47 -0700
commitccf3f2391b0f09d7b51bf65bd8109b62aa33852d (patch)
tree8fa6479b277354ad51218f22a21f011bae527f45 /jjb/lab
parentd2fd47f069f072e7c73d3b3ab05e0578bbc561fd (diff)
Refactor: Cleanup for pre-commit
Change-Id: Iae33b5bd575ba40f4ecdceea4443aa4dc8b4a6cd Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/lab')
-rw-r--r--jjb/lab/lab-templates.yaml57
-rw-r--r--jjb/lab/lab.yaml20
2 files changed, 38 insertions, 39 deletions
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"