summaryrefslogtreecommitdiffstats
path: root/jjb/integration/integration-templates-docker.yaml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-31 06:43:45 -0700
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-01 08:40:11 +0000
commit4b168222b4d63df4a663e6b2989cd714cbc273c7 (patch)
treed603babfa06bad058dafb65c9bc9908692d8e3db /jjb/integration/integration-templates-docker.yaml
parent89b686ddabef8829be2cfcbd3581c32788d8fdd3 (diff)
Setup docker-compose-verify job template
Providing job template to perform Docker Compose based projects verification. Change-Id: Ie806fe0078d1a12c7c16b6164b4fe271f9493f70 Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'jjb/integration/integration-templates-docker.yaml')
-rw-r--r--jjb/integration/integration-templates-docker.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/jjb/integration/integration-templates-docker.yaml b/jjb/integration/integration-templates-docker.yaml
index 0bf309756..6ef2fc600 100644
--- a/jjb/integration/integration-templates-docker.yaml
+++ b/jjb/integration/integration-templates-docker.yaml
@@ -123,3 +123,46 @@
- infra-shiplogs:
maven-version: '{maven-version}'
+
+- job-template:
+ name: '{project-name}-{stream}-{subproject}-docker-compose-verify'
+ project-type: freestyle
+ description: 'This job validates Docker Compose based projects'
+ node: 'ubuntu1804-docker-8c-8g'
+ docker_root: '$WORKSPACE'
+
+ parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ stream: '{stream}'
+ branch: '{branch}'
+
+ properties:
+ - infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+ submodule-recursive: '{submodule-recursive}'
+
+ wrappers:
+ - infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ server: '{server-name}'
+ project: '{project}'
+ branch: '{branch}'
+ files: '{pattern}'
+
+ builders:
+ - inject:
+ properties-content: |
+ DOCKER_ROOT={docker_root}
+ - shell: '{script}'
+
+ publishers:
+ - lf-infra-publish