jenkins: add exact-source Oceanus review jobs
This commit is contained in:
parent
3ffe627117
commit
f5217df6b7
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user