Use yaml anchor in preparation of developer jobs
[lttng-ci.git] / jobs / babeltrace.yaml
index 26e3b01faa4b2bc499c2adc41c0f197458ac2410..fdb6f29651c294afba29e4221bdfea85f295c1c7 100644 (file)
@@ -44,8 +44,9 @@
 
 
 ## Templates
-- job-template:
-    name: babeltrace_{version}_{buildtype}
+
+- babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
+    name: 'babeltrace_version_buildtype_anchor'
     defaults: babeltrace
 
     project-type: matrix
       - axis:
          type: user-defined
          name: conf
-         values:
-          - std
-          - static
-          - python-bindings
+         values: '{obj:conf}'
       - axis:
          type: user-defined
          name: build
 
     builders:
       - shell:
-         !include-raw-escape scripts/babeltrace/build.sh
+         !include-raw-escape: scripts/babeltrace/build.sh
 
+- job-template:
+    name: babeltrace_{version}_{buildtype}
+    <<: *babeltrace_version_buildtype_anchor
     # TODO: Scan for open tasks
     publishers:
       - tap:
 
     builders:
       - shell:
-          !include-raw-escape scripts/babeltrace/scan-build.sh
+          !include-raw-escape: scripts/babeltrace/scan-build.sh
 
     publishers:
       - html-publisher:
               password: COVERITY_SCAN_TOKEN
     builders:
       - shell:
-          !include-raw-escape scripts/common/coverity.sh
+          !include-raw-escape: scripts/common/coverity.sh
 
     publishers:
       - workspace-cleanup
            filter: 'build/**'
            target: 'deps/babeltrace'
        - shell:
-          !include-raw-escape scripts/babeltrace/pylint.sh
+          !include-raw-escape: scripts/babeltrace/pylint.sh
 
     publishers:
       - archive:
 - project:
     name: babeltrace
     version:
-      !include jobs/inc/babeltrace-versions.yaml.inc
+      !include: jobs/inc/babeltrace-versions.yaml.inc
     jobs:
       - 'babeltrace_{version}_{buildtype}':
           buildtype: build
           arch: !!python/tuple [x86-32, x86-64]
           build: !!python/tuple [std, oot, dist]
+          conf: !!python/tuple [std, static, python-bindings]
       - 'babeltrace_{version}_{buildtype}':
           buildtype: portbuild
-          arch: !!python/tuple [armhf, powerpc, ppc64el]
+          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
+          build: !!python/tuple [std]
+          conf: !!python/tuple [std, static, python-bindings]
+      - 'babeltrace_{version}_{buildtype}':
+          buildtype: solarisbuild
+          arch: !!python/tuple [solaris10, solaris11]
           build: !!python/tuple [std]
+          conf: !!python/tuple [std, static]
+          version:
+            - stable-1.3
+            - master
       - 'babeltrace_{version}_cppcheck'
       - 'babeltrace_{version}_scan-build'
       - 'babeltrace_{version}_pylint'
This page took 0.025278 seconds and 4 git commands to generate.