jjb: lttng-ust: move unsupported branches to 'dev_' namespace
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 25 Mar 2022 18:38:47 +0000 (14:38 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 25 Mar 2022 21:23:07 +0000 (17:23 -0400)
Change-Id: Id98b9f03526eac0f61c5b63151dc61723f41711a

jobs/lttng-ust.yaml

index a9657dd2756e549d249a4019d04211e654a17d3f..e599e3103583baadcbd083eced16102e128675dc 100644 (file)
@@ -94,7 +94,7 @@
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
+                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
+                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
+                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
            - scripts/common/print.sh
            - scripts/lttng-tools/build.sh
 
-## Templates
-- job-template:
-    name: lttng-ust_{version}_{buildtype}
-    defaults: lttng-ust
-
-    <<: *lttng-ust_build_axes_defaults
-    <<: *lttng-ust_build_builders_defaults
-
-    # TODO: Scan for open tasks
+- lttng-ust_build_publishers_defaults: &lttng-ust_build_publishers_defaults
+    name: 'lttng-ust_build_publishers_defaults'
     publishers:
       - tap:
           results: 'tap/**/*.log'
           send-to:
             - recipients
 
+
+## Templates
+- job-template:
+    name: lttng-ust_{version}_{buildtype}
+    defaults: lttng-ust
+
+    <<: *lttng-ust_build_axes_defaults
+    <<: *lttng-ust_build_builders_defaults
+    <<: *lttng-ust_build_publishers_defaults
+
+
+- job-template:
+    name: '{job_prefix}lttng-ust_{version}_{buildtype}'
+    defaults: lttng-ust
+
+    <<: *lttng-ust_build_axes_defaults
+    <<: *lttng-ust_build_builders_defaults
+    <<: *lttng-ust_build_publishers_defaults
+
 - job-template:
     name: dev_gerrit_lttng-ust_{buildtype}
     defaults: lttng-ust
 ## Projects
 - project:
     name: lttng-ust
+    job_prefix: ''
     github_user: lttng
     github_name: lttng-ust
     email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
       - 'lttng-ust_{version}_scan-build':
           version: stable-2.12
 
+
+- project:
+    name: lttng-ust-dev-upstream
+    job_prefix: dev_upstream_
+    github_user: lttng
+    github_name: lttng-ust
+    email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
+    jobs:
       ## Stable 2.11 ##
-      - 'lttng-ust_{version}_{buildtype}':
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: build
           version: stable-2.11
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, dist, oot, oot-dist]
           conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
-          filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
-      - 'lttng-ust_{version}_{buildtype}':
+          liburcu_version: !!python/tuple [stable-0.11]
+          filter: '(build=="std") || (conf=="std" || conf=="agents")'
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.11
           arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
           build: !!python/tuple [std]
-          conf: !!python/tuple [std, agents]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
+          conf: !!python/tuple [agents]
+          liburcu_version: !!python/tuple [stable-0.11]
           filter: ''
-      - 'lttng-ust_{version}_{buildtype}':
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: slesbuild
           version: stable-2.11
           arch: !!python/tuple [sles12sp5]
           build: !!python/tuple [std]
           conf: !!python/tuple [agents]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
+          liburcu_version: !!python/tuple [stable-0.11]
           filter: ''
-      - 'lttng-ust_{version}_{buildtype}':
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.11
           arch: !!python/tuple [el8]
           build: !!python/tuple [std]
           conf: !!python/tuple [std]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
+          liburcu_version: !!python/tuple [stable-0.11]
           filter: ''
-      - 'lttng-ust_{version}_cppcheck':
-          version: stable-2.11
-      - 'lttng-ust_{version}_scan-build':
-          version: stable-2.11
 
       ## Stable 2.10 ##
-      - 'lttng-ust_{version}_{buildtype}':
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: build
           version: stable-2.10
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, dist, oot, oot-dist]
           conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
-          filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
-      - 'lttng-ust_{version}_{buildtype}':
+          liburcu_version: !!python/tuple [stable-0.9]
+          filter: '(build=="std") || (conf=="std" || conf=="agents")'
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.10
           arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
           build: !!python/tuple [std]
-          conf: !!python/tuple [std, agents]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
+          conf: !!python/tuple [agents]
+          liburcu_version: !!python/tuple [stable-0.9]
           filter: ''
-      - 'lttng-ust_{version}_{buildtype}':
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: slesbuild
           version: stable-2.10
           arch: !!python/tuple [sles12sp5]
           build: !!python/tuple [std]
           conf: !!python/tuple [agents]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
+          liburcu_version: !!python/tuple [stable-0.9]
           filter: ''
-      - 'lttng-ust_{version}_{buildtype}':
+      - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.10
           arch: !!python/tuple [el8]
           build: !!python/tuple [std]
           conf: !!python/tuple [std]
-          liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
+          liburcu_version: !!python/tuple [stable-0.9]
           filter: ''
 
 
 - project:
     name: gerrit-lttng-ust
+    job_prefix: ''
     github_user: lttng
     github_name: lttng-ust
     jobs:
This page took 0.02669 seconds and 4 git commands to generate.