d6be46d313
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
87 lines
3.3 KiB
YAML
87 lines
3.3 KiB
YAML
apiVersion: tekton.dev/v1
|
|
kind: PipelineRun
|
|
metadata:
|
|
generateName: hwlab-nc01-v03-ci-poll-
|
|
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:fe147c2f6591cbe4fb8621d77668974d4b00a8c021b852dc4b88e1f0ad7ccf3f
|
|
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
|
|
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
|
|
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: "{{ 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: 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-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"
|