jjb: lttng-tools: refactor dev jobs
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 28 Mar 2022 18:33:36 +0000 (14:33 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 28 Mar 2022 18:34:18 +0000 (14:34 -0400)
Merge the 'dev_upstream_' and 'dev_jgalar_' job definitions.

Change-Id: I08b972919b41d3addd9d9190e72f9d2f1b0c7b84
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/lttng-tools.yaml

index 952054d89d2ab5f3fdcb3813665d1f5baa5fdbc0..8c15e7d00dc0e3522a839d7e86d8e5e0c856de8a 100644 (file)
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std'
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std'
+                project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std'
+                project: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std'
+                project: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=debug-rcu,build=std'
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=debug-rcu,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=debug-rcu,build=std'
+                project: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=debug-rcu,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           on-evaluation-failure: run
           steps:
             - copyartifact:
-                project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=tls_fallback,build=std'
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=tls_fallback,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
+                project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
-                project: '{job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=tls_fallback,build=std'
+                project: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=tls_fallback,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
       - inject:
           properties-file: gerrit_custom_dependencies.properties
       - copyartifact:
-              project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
+              project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
               which-build: last-successful
               stable: false
               filter: 'build/**'
                 regex: (std|agents)
           steps:
             - copyartifact:
-                project: lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
+                project: '{ust_job_prefix}lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
           condition-command: 'test -z "$GERRIT_DEP_USERSPACE_RCU"'
           steps:
             - copyartifact:
-                project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
+                project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std'
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
     name: 'lttng-tools_build_builders_win'
     builders:
       - copyartifact:
-          project: liburcu_${{liburcu_version}}_winbuild/arch=${{arch}},conf=std,build=std
+          project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_winbuild/arch=${{arch}},conf=std,build=std'
           which-build: last-successful
           stable: false
           filter: 'build/**'
       - pollscm:
           cron: "@hourly"
       - reverse:
-            jobs: '{job_prefix}lttng-ust_{version}_{buildtype}'
+            jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}'
             result: 'success'
 
+- job-template:
+    name: 'dev_{user}_lttng-tools_{version}_{buildtype}'
+    defaults: lttng-tools
+
+    <<: *lttng-tools_build_axes_defaults
+    <<: *lttng-tools_build_builders_defaults
+    <<: *lttng-tools_build_publishers_defaults
+
 - job-template:
     name: lttng-tools_{version}_long_regression
     defaults: lttng-tools
       - pollscm:
           cron: "@hourly"
       - reverse:
-            jobs: '{job_prefix}lttng-ust_{version}_{buildtype}'
+            jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}'
             result: 'success'
 
 - job-template:
       - pollscm:
           cron: "@hourly"
       - reverse:
-            jobs: '{job_prefix}lttng-ust_{version}_build'
+            jobs: '{ust_job_prefix}lttng-ust_{version}_build'
             result: 'success'
 
 - job-template:
     <<: *lttng-tools_build_builders_win
     <<: *lttng-tools_build_publishers_win
 
-- job-template:
-    name: 'dev_{user}_lttng-tools_{version}_{buildtype}'
-    defaults: lttng-tools
-
-    <<: *lttng-tools_build_axes_defaults
-    <<: *lttng-tools_build_builders_defaults
-    <<: *lttng-tools_build_publishers_defaults
-
 - job-template:
     name: dev_gerrit_lttng-tools_{buildtype}
     defaults: lttng-tools
 - project:
     name: lttng-tools
     job_prefix: ''
+    ust_job_prefix: ''
+    urcu_job_prefix: ''
+    bt_job_prefix: ''
     github_user: lttng
     email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
     version:
 - project:
     name: dev_upstream_lttng-tools
     job_prefix: 'dev_upstream_'
+    ust_job_prefix: 'dev_upstream_'
+    urcu_job_prefix: 'dev_upstream_'
+    bt_job_prefix: 'dev_upstream_'
     github_user: lttng
     email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
     jobs:
 - project:
     name: dev_jgalar_lttng-tools
     job_prefix: 'dev_jgalar_'
+    ust_job_prefix: ''
+    urcu_job_prefix: ''
+    bt_job_prefix: ''
     user: jgalar
     github_user: jgalar
     email_to: 'jgalar@efficios.com'
     jobs:
+      # Master
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: build
           version: master-staging
           testtype: !!python/tuple [base]
           filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.13-staging
-          ustversion: stable-2.13
-          arch: !!python/tuple [amd64]
-          build: !!python/tuple [std, oot, dist]
+          buildtype: portbuild
+          version: master-staging
+          ustversion: master
+          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
+          build: !!python/tuple [std]
           conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.12]
-          babelversion: !!python/tuple [stable-2.0, master]
+          urcuversion: !!python/tuple [master]
+          babelversion: !!python/tuple [stable-1.5, master]
           testtype: !!python/tuple [base]
           filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.12-staging
-          ustversion: stable-2.12
-          arch: !!python/tuple [amd64]
-          build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.12]
-          babelversion: !!python/tuple [stable-2.0, master]
+          buildtype: macosbuild
+          version: master-staging
+          ustversion: master
+          arch: !!python/tuple [macos-amd64, macos-arm64]
+          build: !!python/tuple [std]
+          conf: !!python/tuple [relayd-only]
+          urcuversion: !!python/tuple [master]
+          babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
           filter: ''
+
+      # stable-2.13
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: build
-          version: stable-2.11-staging
-          ustversion: stable-2.11
+          version: stable-2.13-staging
+          ustversion: stable-2.13
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, oot, dist]
           conf: !!python/tuple [std, no-ust, agents]
           urcuversion: !!python/tuple [stable-0.12]
-          babelversion: !!python/tuple [stable-1.5, master]
-          testtype: !!python/tuple [base]
-          filter: ''
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.10-staging
-          ustversion: stable-2.10
-          arch: !!python/tuple [amd64]
-          build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.5]
+          babelversion: !!python/tuple [stable-2.0, master]
           testtype: !!python/tuple [base]
           filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
-          version: master-staging
-          ustversion: master
+          version: stable-2.13-staging
+          ustversion: stable-2.13
           arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
           build: !!python/tuple [std]
           conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [master]
-          babelversion: !!python/tuple [stable-1.5, master]
+          urcuversion: !!python/tuple [stable-0.12]
+          babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
           filter: ''
+
+      # stable-2.12
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.13-staging
-          ustversion: stable-2.13
-          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
-          build: !!python/tuple [std]
+          buildtype: build
+          version: stable-2.12-staging
+          ustversion: stable-2.12
+          arch: !!python/tuple [amd64]
+          build: !!python/tuple [std, oot, dist]
           conf: !!python/tuple [std, no-ust, agents]
           urcuversion: !!python/tuple [stable-0.12]
-          babelversion: !!python/tuple [stable-2.0]
+          babelversion: !!python/tuple [stable-2.0, master]
           testtype: !!python/tuple [base]
           filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
           filter: ''
+
+- project:
+    name: dev_jgalar_lttng-tools-upstream
+    job_prefix: 'dev_jgalar_'
+    ust_job_prefix: 'dev_upstream_'
+    urcu_job_prefix: 'dev_upstream_'
+    bt_job_prefix: 'dev_upstream_'
+    user: jgalar
+    github_user: jgalar
+    email_to: 'jgalar@efficios.com'
+    jobs:
+      # stable-2.11
+      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
+          buildtype: build
+          version: stable-2.11-staging
+          ustversion: stable-2.11
+          arch: !!python/tuple [amd64]
+          build: !!python/tuple [std, oot, dist]
+          conf: !!python/tuple [std, no-ust, agents]
+          urcuversion: !!python/tuple [stable-0.11]
+          babelversion: !!python/tuple [stable-1.5]
+          testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.11-staging
           arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
           build: !!python/tuple [std]
           conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.12]
+          urcuversion: !!python/tuple [stable-0.11]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
           filter: ''
+
+      # stable-2.10
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
+          buildtype: build
           version: stable-2.10-staging
           ustversion: stable-2.10
-          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
-          build: !!python/tuple [std]
+          arch: !!python/tuple [amd64]
+          build: !!python/tuple [std, oot, dist]
           conf: !!python/tuple [std, no-ust, agents]
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
           filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: macosbuild
-          version: master-staging
-          ustversion: master
-          arch: !!python/tuple [macos-amd64, macos-arm64]
+          buildtype: portbuild
+          version: stable-2.10-staging
+          ustversion: stable-2.10
+          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
           build: !!python/tuple [std]
-          conf: !!python/tuple [relayd-only]
-          urcuversion: !!python/tuple [master]
-          babelversion: !!python/tuple [stable-2.0]
+          conf: !!python/tuple [std, no-ust, agents]
+          urcuversion: !!python/tuple [stable-0.9]
+          babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
           filter: ''
 
 - project:
     name: gerrit-lttng-tools
     job_prefix: ''
+    ust_job_prefix: ''
+    urcu_job_prefix: ''
+    bt_job_prefix: ''
     github_user: lttng
     jobs:
       - 'dev_gerrit_lttng-tools_{buildtype}':
This page took 0.031105 seconds and 4 git commands to generate.