75 lines
1.6 KiB
YAML
75 lines
1.6 KiB
YAML
{
|
|
"apiVersion": "tekton.dev/v1",
|
|
"kind": "PipelineRun",
|
|
"metadata": {
|
|
"generateName": "hwlab-g14-ci-",
|
|
"namespace": "hwlab-ci",
|
|
"labels": {
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/gitops-target": "g14",
|
|
"hwlab.pikastech.local/source-commit": "78e39f01edcf044d81316b373c4941350866feb5"
|
|
}
|
|
},
|
|
"spec": {
|
|
"pipelineRef": {
|
|
"name": "hwlab-g14-ci-image-publish"
|
|
},
|
|
"taskRunTemplate": {
|
|
"serviceAccountName": "hwlab-tekton-runner",
|
|
"podTemplate": {
|
|
"hostNetwork": true,
|
|
"dnsPolicy": "ClusterFirstWithHostNet"
|
|
}
|
|
},
|
|
"params": [
|
|
{
|
|
"name": "git-url",
|
|
"value": "git@github.com:pikasTech/HWLAB.git"
|
|
},
|
|
{
|
|
"name": "source-branch",
|
|
"value": "G14"
|
|
},
|
|
{
|
|
"name": "revision",
|
|
"value": "78e39f01edcf044d81316b373c4941350866feb5"
|
|
},
|
|
{
|
|
"name": "registry-prefix",
|
|
"value": "127.0.0.1:5000/hwlab"
|
|
},
|
|
{
|
|
"name": "base-image",
|
|
"value": "node:20-bookworm-slim"
|
|
},
|
|
{
|
|
"name": "concurrency",
|
|
"value": "4"
|
|
}
|
|
],
|
|
"workspaces": [
|
|
{
|
|
"name": "source",
|
|
"volumeClaimTemplate": {
|
|
"spec": {
|
|
"accessModes": [
|
|
"ReadWriteOnce"
|
|
],
|
|
"resources": {
|
|
"requests": {
|
|
"storage": "8Gi"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "git-ssh",
|
|
"secret": {
|
|
"secretName": "hwlab-git-ssh"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|