jjb: babeltrace: move amd64 jobs to deb12
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 15 Aug 2023 17:59:23 +0000 (13:59 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 16 Aug 2023 15:16:41 +0000 (11:16 -0400)
Change-Id: I1b62397b3fa458fbb814e17093b915ae45dfbdf7
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml
scripts/common/coverity.sh

index 7a663bafa8d927c8230ca11f6859e346191c48c3..89722c37d3027b473e4865a20c9dabdec858d803 100644 (file)
           properties-content: |
             LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
             PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
-            platform=bionic-amd64
+            platform=deb12-amd64
             conf=std
             build=std
       - shell: |
-          wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
-          tar xvf glib-2.28.6.tar.gz
+          curl -OL 'https://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz'
+          tar xf glib-2.28.6.tar.gz
           cd glib-2.28.6
+          sed -i 's/sys\/types\.h/sys\/sysmacros\.h/' gio/gdbusmessage.c # Fix build failure with recent glibc
           mkdir BUILD_RESULT
           ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
           make -j `nproc` >/dev/null 2>&1 # Hide warnings
     triggers:
       - gerrit: *babeltrace_trigger_gerrit_defaults
 
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     builders:
       - shell:
 - job-template:
     name: babeltrace_{version}_release
     defaults: babeltrace
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     triggers:
       - pollscm:
 - job-template:
     name: babeltrace_{version}_scan-build
     defaults: babeltrace
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     triggers:
       - pollscm:
 - job-template:
     name: babeltrace_{version}_coverity
     defaults: babeltrace
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     triggers:
       - pollscm:
 - job-template:
     name: babeltrace_{version}_pylint
     defaults: babeltrace
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     triggers:
       - pollscm:
 - job-template:
     name: '{job_prefix}babeltrace_{version}_glib-2.28.6'
     defaults: babeltrace
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     <<: *babeltrace_builders_glib-2-28-6
     <<: *babeltrace_publishers_defaults
           touchstone: ''
       - 'babeltrace_{version}_{cctype}':
           cctype: clangbuild
-          platforms: !!python/tuple [bionic-amd64]
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, static, prod]
-          ccs: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
+          ccs: !!python/tuple [clang-13, clang-14, clang-15]
           filter: ''
           touchstone: ''
       - 'babeltrace_{version}_release':
     ## Master ##
       - 'dev_review_babeltrace_{version}_{buildtype}':
           version: master
-          buildtype: build
-          platforms: !!python/tuple [bionic-amd64]
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, prod, min]
           filter: ''
       ## Stable 2.0 ##
       - 'dev_review_babeltrace_{version}_{buildtype}':
           version: stable-2.0
-          buildtype: build
-          platforms: !!python/tuple [bionic-amd64]
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, prod, min]
           filter: ''
       - stable-1.5-staging
     jobs:
       - '{job_prefix}babeltrace_{version}_{buildtype}':
-          buildtype: build
-          platforms: !!python/tuple [bionic-amd64]
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, python-bindings]
           filter: ''
           version:
             - master-staging
       - '{job_prefix}babeltrace_{version}_{buildtype}':
-          buildtype: build
-          platforms: !!python/tuple [bionic-amd64]
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, prod, min]
           filter: ''
index d707ad2cefe5a07f647359192a7b2f030dc30e0b..0b918bc08b21f1fe2db672802da868c374da7191 100755 (executable)
@@ -177,9 +177,8 @@ tar czf $RESULTS_ARCHIVE $RESULTS_DIR_NAME
 
 # Upload results
 echo -e "\033[33;1mUploading Coverity Scan Analysis results...\033[0m"
-set +x
 response=$(curl \
-  --silent --write-out "\n%{http_code}\n" \
+  --write-out "\n%{http_code}\n" \
   --form project="$COVERITY_SCAN_PROJECT_NAME" \
   --form token="$COVERITY_SCAN_TOKEN" \
   --form email="$COVERITY_SCAN_NOTIFICATION_EMAIL" \
@@ -187,7 +186,6 @@ response=$(curl \
   --form version="$COVERITY_SCAN_VERSION" \
   --form description="$COVERITY_SCAN_DESCRIPTION" \
   "$UPLOAD_URL")
-set -x
 status_code=$(echo "$response" | sed -n '$p')
 if [ "${status_code:0:1}" == "2" ]; then
   echo -e "\033[33;1mCoverity Scan upload successful.\033[0m"
This page took 0.026569 seconds and 4 git commands to generate.