83 lines
2.9 KiB
YAML
83 lines
2.9 KiB
YAML
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]"
|
|
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch == 'v0.3' && node == 'NC01'"
|
|
pipelinesascode.tekton.dev/max-keep-runs: "8"
|
|
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"
|