refactor: retire git mirror runtime

This commit is contained in:
root
2026-07-21 17:18:47 +02:00
parent a572e0c322
commit fac860fca9
41 changed files with 203 additions and 4683 deletions
-83
View File
@@ -1,83 +0,0 @@
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]"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch == 'v0.3' && node == 'JD01'"
pipelinesascode.tekton.dev/max-keep-runs: "8"
pipelinesascode.tekton.dev/pipeline: "ci/pipelines/hwlab-jd01-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: 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"
+10 -3
View File
@@ -9,7 +9,7 @@ metadata:
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:01b954f394174302b5ebce2de98a24d091be1c5922fbc188ef5af72ff1bb569c
unidesk.ai/effective-config-sha256: sha256:f42181ba9c079806968bb8374967a2bc710c7a87b56030d512cc00c004be126b
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
@@ -52,16 +52,23 @@ spec:
resources:
requests:
storage: 8Gi
- name: git-ssh
- name: gitea-auth
secret:
secretName: hwlab-git-ssh
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