ci: add jd01 pac definition
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
apiVersion: tekton.dev/v1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
generateName: hwlab-jd01-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: jd01-node-default
|
||||
hwlab.pikastech.local/gitops-branch: v0.3-gitops
|
||||
hwlab.pikastech.local/network-profile: jd01-node-ci-egress
|
||||
hwlab.pikastech.local/node: JD01
|
||||
hwlab.pikastech.local/policy: native-per-service-taskrun-image-publish
|
||||
hwlab.pikastech.local/runtime-path: deploy/gitops/node/jd01/runtime-v03
|
||||
hwlab.pikastech.local/source-branch: v0.3
|
||||
hwlab.pikastech.local/source-config: .tekton/hwlab-jd01-v03-pac.yaml
|
||||
labels:
|
||||
app.kubernetes.io/name: hwlab-jd01-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-jd01-v03-tekton-runner
|
||||
podTemplate:
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
pipelineRef:
|
||||
name: hwlab-jd01-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.jd01-v03.json
|
||||
- name: image-tag-mode
|
||||
value: full
|
||||
- name: runtime-path
|
||||
value: deploy/gitops/node/jd01/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"
|
||||
Reference in New Issue
Block a user