fix: 将 production release 归并回 v0.3 单线历史

This commit is contained in:
root
2026-07-18 12:46:15 +02:00
19 changed files with 1761 additions and 121 deletions
+86
View File
@@ -0,0 +1,86 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: hwlab-nc01-production-ci-poll-
namespace: hwlab-ci
annotations:
pipelinesascode.tekton.dev/on-event: "[push]"
pipelinesascode.tekton.dev/on-target-branch: "[release]"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch == 'release' && node == 'NC01'"
pipelinesascode.tekton.dev/max-keep-runs: "8"
unidesk.ai/owning-config-ref: "config/hwlab-node-lanes.yaml#lanes.production.targets.NC01"
unidesk.ai/effective-config-sha256: sha256:f0b827a59094630ba9a78a63c39a624613f93f87e685779732ebc38bd694af39
unidesk.ai/source-artifact-renderer: hwlab-runtime-lane
unidesk.ai/source-artifact-mode: remote-pipeline-annotation
pipelinesascode.tekton.dev/pipeline: ci/pipelines/hwlab-nc01-production-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: release-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-production
hwlab.pikastech.local/source-branch: release
hwlab.pikastech.local/source-config: .tekton/hwlab-nc01-production-pac.yaml
labels:
app.kubernetes.io/name: hwlab-nc01-production-pac
app.kubernetes.io/part-of: hwlab
unidesk.ai/source-commit: "{{ revision }}"
hwlab.pikastech.local/gitops-target: production
hwlab.pikastech.local/source-commit: "{{ revision }}"
hwlab.pikastech.local/trigger: pipelines-as-code
spec:
timeouts:
pipeline: 1h0m0s
taskRunTemplate:
serviceAccountName: hwlab-nc01-production-tekton-runner
podTemplate:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
securityContext:
fsGroup: 1000
pipelineRef:
name: hwlab-nc01-production-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: release
- name: gitops-branch
value: release-gitops
- name: lane
value: production
- name: catalog-path
value: deploy/artifact-catalog.nc01-production.json
- name: image-tag-mode
value: full
- name: runtime-path
value: deploy/gitops/node/nc01/runtime-production
- 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"