ci: seed harbor-arm-build pipeline in Jenkins
This commit is contained in:
parent
8b9fc8ff1c
commit
fc858fc8df
@ -128,6 +128,46 @@ spec:
|
||||
} catch (Exception 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:
|
||||
enabled: true
|
||||
storageClass: astreae
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user