Show package notes in Jenkins job
authorChristoph Berg <myon@debian.org>
Fri, 15 Nov 2024 13:15:20 +0000 (14:15 +0100)
committerChristoph Berg <myon@debian.org>
Fri, 15 Nov 2024 13:15:20 +0000 (14:15 +0100)
Note special tweaks for vip-manager 1 and 2

jenkins/pgapt-jobs.yaml

index f420ccd1b3b0489e52e42274a406153b2d6eae34..dbc38339d05e9ab6a2c7ac94f20ba509950d847e 100644 (file)
@@ -24,6 +24,7 @@
 
     wrappers:
         - timestamps
+    notes: ''
     dist-filter: 'true'
     arch-filter: 'true'
     # distribution/architecture combinations:
 - job-template: &build_pipeline
         name: '{name}'
         id: 'build-pipeline'
-        description: 'Build source and binaries for {name}, and upload them'
+        description: |
+            Build source and binaries for {name}, and upload them
+
+            {notes}
         project-type: pipeline
         parameters:
                 - string: *revision_string
         <<: *build_pipeline
         name: '{name}'
         id: 'build-pipeline-with-beta'
-        description: 'Build source and binaries for {name}, and upload them, including PostgreSQL beta'
+        description: |
+            Build source and binaries for {name}, and upload them, including PostgreSQL beta
+
+            {notes}
         dsl: |
                 pipeline {{
                     agent {{ label 'master' }}
         <<: *apt_source_template
         name: '{name}-source'
         id: 'source-git'
-        description: 'Build Debian source package of {name} from git'
+        description: |
+            Build Debian source package of {name} from git
+
+            {notes}
         parameters:
                 - string: *git_branch_template
                 - string: *revision_string
         <<: *git_source_template
         name: '{name}-source-snapshot'
         id: 'source-debian-snapshot'
-        description: 'Build Debian source package of {name} from Debian git snapshot'
+        description: |
+            Build Debian source package of {name} from Debian git snapshot
+
+            {notes}
         triggers:
                 - pollscm:
                         cron: '{snapshot-cron}'
         <<: *git_source_template
         name: '{name}-source-snapshot'
         id: 'source-upstream-snapshot'
-        description: 'Build Debian source package of {name} from Debian and upstream git snapshot'
+        description: |
+            Build Debian source package of {name} from Debian and upstream git snapshot
+
+            {notes}
         parameters:
                 - string: *git_branch_template
                 - string: *upstream_branch_template
 - job-template: &binaries_template
         name: '{name}-binaries'
         id: 'binaries'
-        description: 'Build Debian binary packages of {name}'
+        description: |
+            Build Debian binary packages of {name}
+
+            {notes}
         project-type: matrix
         execution-strategy: &binaries_execution_strategy
                 combination-filter: *filter_pattern
 - job-template: &autopkgtest_template
         name: '{name}-autopkgtest'
         id: 'autopkgtest'
-        description: 'Run autopkgtest on {name}'
+        description: |
+            Run autopkgtest on {name}
+
+            {notes}
         project-type: matrix
         properties: *properties_with_throttle
         execution-strategy:
 - project:
         name: vip-manager
         git-url: https://salsa.debian.org/postgresql/vip-manager.git
+        notes: |
+            jammy, focal: bullseye packages get copied to jammy and focal (testing works, but not building)
         jobs:
                 - git-packages
 
         name: vip-manager2
         git-url: https://salsa.debian.org/postgresql/vip-manager2.git
         git-branch: main
-        # buster, focal: golang-github-mdlayher-arp-dev build dependency not available
-        # bullseye, jammy: go.etcd.io/etcd/clientv3 missing
+        notes: |
+            bookworm: needs extra patch to build against older etcd-client version
+            buster, focal: golang-github-mdlayher-arp-dev build dependency not available
+            bullseye, jammy: go.etcd.io/etcd/clientv3 missing
         dist-filter: '!(distribution in ["buster", "bullseye", "focal", "jammy"])'
         jobs:
                 - git-packages