]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-trigger-build: Build less arm64 by default 2464/head
authorZack Cerza <zack@cerza.org>
Tue, 7 Oct 2025 20:00:44 +0000 (14:00 -0600)
committerZack Cerza <zack@cerza.org>
Tue, 7 Oct 2025 20:00:44 +0000 (14:00 -0600)
Since nothing normally uses the arm64 packages, only build for main and release
branches.

Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-trigger-build/build/Jenkinsfile

index 8a7a3caf619dafe3b54541e68cb70c09c1eac6e2..7d470081a628d20b28ff4a4c3ef2b2b1847ba1b9 100644 (file)
@@ -20,7 +20,7 @@ def gitTrailerParameterNames = [
 def defaults = [
   'CEPH_BUILD_JOB': 'ceph-dev-pipeline',
   'DISTROS': 'centos9 jammy noble windows',
-  'ARCHS': 'x86_64 arm64',
+  'ARCHS': 'x86_64',
   'FLAVOR': 'default',
 ]
 // This will later hold the initial set of parameters, before any branch-based
@@ -42,10 +42,15 @@ def params_from_branch(initialParams) {
   def singleSet = ( initialParams['CEPH_BUILD_JOB'].contains('ceph-dev-pipeline') )
   def params = [initialParams.clone()]
   switch (initialParams.BRANCH) {
+    case "main":
+      params[0]['ARCHS'] += ' arm64'
+      break
     case ~/.*reef.*/:
       params[-1]['DISTROS'] = 'centos9 jammy focal windows'
+      params[-1]['ARCHS'] += ' arm64'
       break
     case ~/.*squid.*/:
+      params[-1]['ARCHS'] += ' arm64'
       break
     case ~/.*tentacle.*/:
       if ( !singleSet ) {
@@ -54,6 +59,7 @@ def params_from_branch(initialParams) {
         params[-1]['DISTROS'] = 'centos9'
         params[-1]['FLAVOR'] = 'crimson-debug'
       } else {
+        params[0]['ARCHS'] += ' arm64'
         params[0]['FLAVOR'] += ' crimson-debug'
       }
       break