From f5217df6b75b632e13f1cb09b2c07f1708ccf75c Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 5 Dec 2026 12:28:02 -0600 Subject: [PATCH] jenkins: add exact-source Oceanus review jobs --- services/jenkins/lesavka-oceanus-jcasc.yaml | 44 +++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/services/jenkins/lesavka-oceanus-jcasc.yaml b/services/jenkins/lesavka-oceanus-jcasc.yaml index 84a12d62..3c71b867 100644 --- a/services/jenkins/lesavka-oceanus-jcasc.yaml +++ b/services/jenkins/lesavka-oceanus-jcasc.yaml @@ -24,3 +24,47 @@ data: launcher: inbound: webSocket: true + jobs: + - script: | + def driver = 'dc38c6754f2033b38c7fc8c15c38127f011ef7c2' + folder('lesavka-oceanus-review') { + description('Isolated release jobs on Oceanus. ARM publication requires native qualification.') + } + ['compile','software-tests'].each { lane -> + pipelineJob('lesavka-oceanus-review/lesavka-' + lane) { + quietPeriod(0) + logRotator { + daysToKeep(14) + numToKeep(12) + artifactNumToKeep(4) + } + parameters { + stringParam('EXPECTED_SOURCE_REVISION', '', 'Full named product commit, available in the read-only source mirror.') + choiceParam('CI_DRIVER_REVISION', [driver], 'Reviewed Jenkins and build driver.') + if (lane == 'compile') { + choiceParam('BUILD_ARCH', ['amd64','arm64'], 'Native AMD64 or cross-compiled ARM64.') + stringParam('CI_WORKER_IMAGE', '', 'Optional target CI digest. Defaults to the reviewed image for the architecture.') + stringParam('SERVER_NATIVE_ALSA_SHA256', '', 'Reviewed optional ARM ALSA binding, supplied with the HEVC binding.') + stringParam('SERVER_NATIVE_HEVC_SHA256', '', 'Reviewed optional ARM HEVC binding, supplied with the ALSA binding.') + booleanParam('ARM_RUNTIME_AUTHORIZED', false, 'Enable a real ARM cluster check only after the release operator clears the hold.') + } + } + definition { + cpsScm { + scm { + git { + remote { + url('https://scm.bstein.dev/bstein/lesavka.git') + credentials('gitea-pat') + refspec('+' + driver + ':refs/remotes/origin/driver') + } + branches(driver) + extensions { cloneOptions { shallow(true); depth(1); noTags(true); honorRefspec(true) } } + } + } + scriptPath('docker/Jenkinsfile.' + lane) + lightweight(false) + } + } + } + }