Tag linter and docker-compose integration jobs with id 78/105678/1
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 9 Apr 2020 13:35:50 +0000 (06:35 -0700)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 9 Apr 2020 13:35:50 +0000 (06:35 -0700)
Simplify linter and docker-compose jobs assignment by
tagging them with shorthand name.

Change-Id: I9b7994c2a032b160a0356bdd2577de330c18ba56
Issue-ID: INT-1508
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
jjb/demo/demo.yaml
jjb/integration/integration-docker-compose.yaml
jjb/integration/integration-templates-docker.yaml
jjb/integration/integration-templates.yaml
jjb/integration/integration.yaml
jjb/integration/simulators/integration-dc-simulator.yaml
jjb/integration/simulators/integration-pnf-simulator.yaml
jjb/integration/simulators/integration-ran-simulator.yaml
jjb/integration/usecases/integration-usecases-bbs.yaml
jjb/integration/usecases/integration-usecases-mdons.yaml
jjb/testsuite/testsuite.yaml

index 2cec134..ea7bcaf 100644 (file)
@@ -61,7 +61,7 @@
     project-name: 'demo'
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'
index 3d1e8a2..852d5a1 100644 (file)
@@ -7,7 +7,7 @@
       - 'master':
           branch: 'master'
     jobs:
-      - '{project-name}-{stream}-{subproject}-docker-compose-verify'
+      - integration-docker-compose-verify
     subproject:
       - 'netconf-pnp-simulator':
           pattern: 'test/mocks/netconf-pnp-simulator/modules/**'
index ac383fb..e434d0a 100644 (file)
 
 - job-template:
     name: '{project-name}-{stream}-{subproject}-docker-compose-verify'
+    id: integration-docker-compose-verify
     project-type: freestyle
     description: 'This job validates Docker Compose based projects'
     node: 'ubuntu1804-docker-8c-8g'
index 7d9ffed..61d09d7 100644 (file)
@@ -54,6 +54,7 @@
     #     pattern:        List of file patterns to scan
 
     name: '{project-name}-{stream}-{subproject}-lint'
+    id: integration-linters
     project-type: freestyle
     description: 'Job intended for running linters with Tox and Coala'
     build-node: ubuntu1804-builder-4c-4g
index 6e36576..5111c4d 100644 (file)
@@ -83,7 +83,7 @@
     project-name: 'integration'
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'
index 7d807dc..5b07413 100644 (file)
@@ -14,7 +14,7 @@
     project-name: integration-simulators-dc-simulator
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'
index 664a0fa..09875f8 100644 (file)
@@ -66,7 +66,7 @@
       project-name: integration-simulators-pnf-simulator
       python-version: python3
       jobs:
-          - '{project-name}-{stream}-{subproject}-lint'
+          - integration-linters
       subproject:
           - 'yaml':
                 tox-dir: '.'
index 584d93f..895854a 100644 (file)
@@ -14,7 +14,7 @@
     project-name: integration-simulators-ran-simulator
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'
index fbf56a4..ce2743e 100644 (file)
@@ -14,7 +14,7 @@
     project-name: integration-usecases-bbs
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'
index 7f4d692..475b271 100644 (file)
@@ -14,7 +14,7 @@
     project-name: integration-usecases-mdons
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'
index 7d0eb5d..58bab20 100644 (file)
@@ -63,7 +63,7 @@
     project-name: 'testsuite'
     python-version: python3
     jobs:
-      - '{project-name}-{stream}-{subproject}-lint'
+      - integration-linters
     subproject:
       - 'yaml':
           tox-dir: '.'