From 0423a9ecbdd8c82c5e5a5fb33097d9ac86061297 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 Jul 2026 10:54:05 +0000 Subject: [PATCH] ci: add JD01 v0.2 PaC trigger --- .tekton/agentrun-jd01-v02.yaml | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .tekton/agentrun-jd01-v02.yaml diff --git a/.tekton/agentrun-jd01-v02.yaml b/.tekton/agentrun-jd01-v02.yaml new file mode 100644 index 0000000..acd8b4a --- /dev/null +++ b/.tekton/agentrun-jd01-v02.yaml @@ -0,0 +1,49 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + name: agentrun-jd01-v02-ci-{{ revision }} + namespace: agentrun-ci + annotations: + pipelinesascode.tekton.dev/on-event: "[push]" + pipelinesascode.tekton.dev/on-target-branch: "[v0.2]" + pipelinesascode.tekton.dev/max-keep-runs: "8" + labels: + app.kubernetes.io/part-of: agentrun + agentrun.pikastech.local/lane: v0.2 + agentrun.pikastech.local/node: JD01 + agentrun.pikastech.local/source-commit: "{{ revision }}" + agentrun.pikastech.local/trigger: pipelines-as-code +spec: + pipelineRef: + name: "{{ pipeline_name }}" + taskRunTemplate: + serviceAccountName: "{{ service_account }}" + podTemplate: + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet + securityContext: + fsGroup: 1000 + params: + - name: git-url + value: "{{ repo_url }}" + - name: git-read-url + value: "{{ git_read_url }}" + - name: git-write-url + value: "{{ git_write_url }}" + - name: source-branch + value: "{{ source_branch }}" + - name: gitops-branch + value: "{{ gitops_branch }}" + - name: revision + value: "{{ revision }}" + - name: source-stage-ref + value: "{{ source_snapshot_prefix }}/{{ revision }}" + workspaces: + - name: source + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: "{{ workspace_pvc_size }}"