From 853c5c06ab4b75790647b8525f1f8d923cd96a38 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 8 Jul 2026 21:07:13 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=20NC01=20v0.3=20PaC=20?= =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tekton/hwlab-nc01-v03-pac.yaml | 80 +++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 .tekton/hwlab-nc01-v03-pac.yaml diff --git a/.tekton/hwlab-nc01-v03-pac.yaml b/.tekton/hwlab-nc01-v03-pac.yaml new file mode 100644 index 00000000..cffb3ce4 --- /dev/null +++ b/.tekton/hwlab-nc01-v03-pac.yaml @@ -0,0 +1,80 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + generateName: hwlab-nc01-v03-ci-poll- + annotations: + pipelinesascode.tekton.dev/on-event: "[push]" + pipelinesascode.tekton.dev/on-target-branch: "[v0.3]" + hwlab.pikastech.local/ci-contract: tekton-native-primitive-tasks + hwlab.pikastech.local/download-profile: nc01-node-default + hwlab.pikastech.local/gitops-branch: v0.3-gitops + hwlab.pikastech.local/network-profile: nc01-node-ci-egress + hwlab.pikastech.local/node: NC01 + hwlab.pikastech.local/policy: native-per-service-taskrun-image-publish + hwlab.pikastech.local/runtime-path: deploy/gitops/node/nc01/runtime-v03 + hwlab.pikastech.local/source-branch: v0.3 + hwlab.pikastech.local/source-config: .tekton/hwlab-nc01-v03-pac.yaml + labels: + app.kubernetes.io/name: hwlab-nc01-v03-pac + app.kubernetes.io/part-of: hwlab + unidesk.ai/source-commit: "{{revision}}" + hwlab.pikastech.local/gitops-target: v03 + hwlab.pikastech.local/source-commit: "{{revision}}" + hwlab.pikastech.local/trigger: pipelines-as-code +spec: + timeouts: + pipeline: 1h0m0s + taskRunTemplate: + serviceAccountName: hwlab-nc01-v03-tekton-runner + podTemplate: + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet + securityContext: + fsGroup: 1000 + pipelineRef: + name: hwlab-nc01-v03-ci-image-publish + workspaces: + - name: source + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 8Gi + - name: git-ssh + secret: + secretName: hwlab-git-ssh + params: + - name: git-url + value: git@github.com:pikasTech/HWLAB.git + - name: git-read-url + value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git + - name: git-write-url + value: http://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git + - name: source-branch + value: v0.3 + - name: gitops-branch + value: v0.3-gitops + - name: lane + value: v03 + - name: catalog-path + value: deploy/artifact-catalog.nc01-v03.json + - name: image-tag-mode + value: full + - name: runtime-path + value: deploy/gitops/node/nc01/runtime-v03 + - name: source-commit + value: "{{revision}}" + - name: revision + value: "{{revision}}" + - name: registry-prefix + value: 127.0.0.1:5000/hwlab + - name: services + value: hwlab-cloud-api,hwlab-workbench-runtime,hwlab-user-billing,hwlab-project-management,hwlab-cloud-web,hwlab-gateway,hwlab-edge-proxy,hwlab-agent-skills + - name: base-image + value: 127.0.0.1:5000/hwlab/hwlab-node20-base:20-bookworm-slim + - name: build-cache-mode + value: registry + - name: runtime-ready-timeout-ms + value: "60000"