ci: seed harbor-arm-build pipeline in Jenkins

This commit is contained in:
Brad Stein 2025-12-16 19:26:46 -03:00
parent 8b9fc8ff1c
commit fc858fc8df

View File

@ -128,6 +128,46 @@ spec:
} catch (Exception e) { } catch (Exception e) {
println("Failed to configure OIDC realm: ${e}") println("Failed to configure OIDC realm: ${e}")
} }
JCasC:
configScripts:
creds.yaml: |
credentials:
system:
domainCredentials:
- credentials:
- usernamePassword:
scope: GLOBAL
id: gitea-pat
username: "bstein"
password: "4693a39ee3f0ebb58e7d1795ab98add6df44ef12"
description: "Gitea PAT for harbor-arm-build"
- usernamePassword:
scope: GLOBAL
id: harbor-robot
username: "robot$infra+robotuser-pipeline"
password: "ouuvMheoTxOQtFSbWnO1OKVujORMPfO7"
description: "Harbor robot for pipeline push"
jobs.yaml: |
jobs:
- script: |
pipelineJob('harbor-arm-build') {
definition {
cpsScm {
scm {
git {
remote {
url('https://scm.bstein.dev/bstein/harbor-arm-build.git')
credentials('gitea-pat')
}
branches('*/master')
}
}
}
}
triggers {
scm('H/5 * * * *')
}
}
persistence: persistence:
enabled: true enabled: true
storageClass: astreae storageClass: astreae