36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
apiVersion: tekton.dev/v1
|
|
kind: PipelineRun
|
|
metadata:
|
|
generateName: agentrun-v01-ci-
|
|
namespace: agentrun-ci
|
|
spec:
|
|
pipelineRef:
|
|
name: agentrun-v01-ci-image-publish
|
|
taskRunTemplate:
|
|
serviceAccountName: agentrun-v01-tekton-runner
|
|
podTemplate:
|
|
hostNetwork: true
|
|
dnsPolicy: ClusterFirstWithHostNet
|
|
securityContext:
|
|
fsGroup: 1000
|
|
params:
|
|
- name: revision
|
|
value: REPLACE_WITH_FULL_SOURCE_COMMIT
|
|
- name: git-read-url
|
|
value: http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/agentrun.git
|
|
- name: git-write-url
|
|
value: http://git-mirror-write.devops-infra.svc.cluster.local/pikasTech/agentrun.git
|
|
- name: tools-image
|
|
value: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
|
|
workspaces:
|
|
- name: source
|
|
volumeClaimTemplate:
|
|
spec:
|
|
accessModes: ["ReadWriteOnce"]
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
- name: git-ssh
|
|
secret:
|
|
secretName: agentrun-git-ssh
|