jenkins: isolate review compilers and define exact-source benchmark jobs
This commit is contained in:
parent
1913e74ef7
commit
22fa9a8ffc
@ -37,3 +37,7 @@ configMapGenerator:
|
|||||||
- theme.groovy=scripts/theme.groovy
|
- theme.groovy=scripts/theme.groovy
|
||||||
options:
|
options:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
|
|
||||||
|
# Mount the additive review config without rolling the active controller.
|
||||||
|
patches:
|
||||||
|
- path: lesavka-review-jcasc.yaml
|
||||||
|
|||||||
69
services/jenkins/lesavka-review-jcasc.yaml
Normal file
69
services/jenkins/lesavka-review-jcasc.yaml
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
# services/jenkins/lesavka-review-jcasc.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: jenkins-jcasc
|
||||||
|
namespace: jenkins
|
||||||
|
data:
|
||||||
|
lesavka-review.yaml: |
|
||||||
|
jenkins:
|
||||||
|
clouds:
|
||||||
|
- kubernetes:
|
||||||
|
name: lesavka-compiler
|
||||||
|
containerCapStr: "2"
|
||||||
|
connectTimeout: "20"
|
||||||
|
readTimeout: "90"
|
||||||
|
jenkinsUrl: "http://jenkins.jenkins.svc.cluster.local:8080"
|
||||||
|
jenkinsTunnel: "jenkins.jenkins.svc.cluster.local:50000"
|
||||||
|
maxRequestsPerHostStr: "8"
|
||||||
|
retentionTimeout: "5"
|
||||||
|
waitForPodSec: "110"
|
||||||
|
namespace: jenkins
|
||||||
|
serverUrl: "https://kubernetes.default"
|
||||||
|
credentialsId: ""
|
||||||
|
podLabels:
|
||||||
|
- key: jenkins/lesavka-agent
|
||||||
|
value: "true"
|
||||||
|
jobs:
|
||||||
|
- script: |
|
||||||
|
['pair', 'arm64', 'amd64'].each { lane ->
|
||||||
|
def pair = lane == 'pair'
|
||||||
|
pipelineJob("lesavka-compile-review-${lane}") {
|
||||||
|
description('Isolated 1.4.19 pipeline review. Exact-source native build evidence only.')
|
||||||
|
quietPeriod(0)
|
||||||
|
logRotator {
|
||||||
|
daysToKeep(14)
|
||||||
|
numToKeep(12)
|
||||||
|
artifactNumToKeep(4)
|
||||||
|
}
|
||||||
|
parameters {
|
||||||
|
stringParam('EXPECTED_SOURCE_REVISION', '', 'Reviewed full commit on the pipeline review branch.')
|
||||||
|
if (pair) {
|
||||||
|
stringParam('ARM64_CI_WORKER_IMAGE', '', 'ARM64 worker image at its reviewed digest.')
|
||||||
|
stringParam('AMD64_CI_WORKER_IMAGE', '', 'AMD64 worker image at its reviewed digest.')
|
||||||
|
} else {
|
||||||
|
choiceParam('BUILD_ARCH', [lane], 'Native build architecture.')
|
||||||
|
stringParam('CI_WORKER_IMAGE', '', 'Architecture-specific worker digest.')
|
||||||
|
stringParam('SUBMITTED_MS', '', 'Submission timestamp from the paired coordinator.')
|
||||||
|
}
|
||||||
|
stringParam('SERVER_NATIVE_ALSA_SHA256', '', 'Optional ARM ALSA binding.')
|
||||||
|
stringParam('SERVER_NATIVE_HEVC_SHA256', '', 'Optional ARM HEVC binding.')
|
||||||
|
choiceParam('COMPILER_CACHE', ['persistent', 'off'], 'Compiler cache comparison mode.')
|
||||||
|
}
|
||||||
|
definition {
|
||||||
|
cpsScm {
|
||||||
|
scm {
|
||||||
|
git {
|
||||||
|
remote {
|
||||||
|
url('https://scm.bstein.dev/bstein/lesavka.git')
|
||||||
|
credentials('gitea-pat')
|
||||||
|
}
|
||||||
|
branches('$EXPECTED_SOURCE_REVISION')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
lightweight(false)
|
||||||
|
scriptPath(pair ? 'docker/Jenkinsfile.compile-pair' : 'docker/Jenkinsfile.compile')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user