Files
pikasTech-HWLAB/.tekton/hwlab-nc01-v03-pac.yaml
T
2026-07-21 22:01:09 +02:00

104 lines
3.9 KiB
YAML

apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: "hwlab-nc01-v03-ci-poll-{{ revision }}"
namespace: hwlab-ci
annotations:
pipelinesascode.tekton.dev/on-event: "[push]"
pipelinesascode.tekton.dev/on-target-branch: "[v0.3]"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch == 'v0.3' && node == 'NC01'"
pipelinesascode.tekton.dev/max-keep-runs: "8"
unidesk.ai/owning-config-ref: "config/hwlab-node-lanes.yaml#lanes.v03.targets.NC01"
unidesk.ai/effective-config-sha256: sha256:885e9277542653c730816208d4a0607dae143ce9b07fb68a108e9539428162b6
unidesk.ai/source-artifact-renderer: hwlab-runtime-lane
unidesk.ai/source-artifact-mode: remote-pipeline-annotation
pipelinesascode.tekton.dev/pipeline: ci/pipelines/hwlab-nc01-v03-ci-image-publish.yaml
unidesk.ai/ci-dedupe-mode: deterministic-kubernetes-name
hwlab.pikastech.local/ci-contract: tekton-native-primitive-tasks
hwlab.pikastech.local/download-profile: jd01-node-default
hwlab.pikastech.local/gitops-branch: v0.3-gitops
hwlab.pikastech.local/network-profile: jd01-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: "{{ service_account }}"
podTemplate:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
securityContext:
fsGroup: 1000
priorityClassName: unidesk-ci-batch
pipelineRef:
name: hwlab-nc01-v03-ci-image-publish
workspaces:
- name: source
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
- name: gitea-auth
secret:
secretName: pac-gitea-hwlab-nc01-v03
items:
- key: token
path: token
params:
- name: git-url
value: "{{ repo_url }}"
- name: git-read-url
value: "{{ git_read_url }}"
- name: gitops-read-url
value: "{{ gitops_read_url }}"
- name: git-write-url
value: "{{ git_write_url }}"
- name: gitops-username
value: "{{ gitops_username }}"
- name: source-branch
value: "{{ source_branch }}"
- name: gitops-branch
value: "{{ gitops_branch }}"
- name: lane
value: "{{ lane }}"
- 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: 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-tasktree-api,hwlab-tasktree-worker,hwlab-harnessrl-api,hwlab-harnessrl-worker,hwlab-workbench-api,hwlab-workbench-worker,hwlab-hwpod-api,hwlab-hwpod-worker,hwlab-hwpod-web,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"
- name: release-base-commit
value: "{{ body.before }}"
- name: release-target
value: NC01
- name: release-consumer
value: hwlab-nc01-v03
- name: reviewed-plan
value: "{{ body.head_commit.message }}"