Merge pull request #2218 from pikasTech/fix/2212-hwlab-production-control-plane-v5
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
Pipelines as Code CI / platform-infra-gitea-nc01- Failed
Pipelines as Code CI / unidesk-host- Success

feat: 声明 HWLAB production 控制面
This commit is contained in:
Lyon
2026-07-15 22:26:34 +08:00
committed by GitHub
+45 -6
View File
@@ -853,7 +853,7 @@ targets:
source:
repository: pikasTech/HWLAB
branch: v0.3
sourceAuthority:
sourceAuthority: &nc01-v03-source-authority
mode: giteaSnapshot
resolver: gitea-mirror
giteaMirrorRepoKey: hwlab-nc01-v03
@@ -867,7 +867,7 @@ targets:
gitops:
branch: v0.3-gitops
path: deploy/gitops/node/nc01/runtime-v03
gitMirror:
gitMirror: &nc01-v03-git-mirror
namespace: devops-infra
serviceReadName: git-mirror-http
serviceWriteName: git-mirror-write
@@ -897,7 +897,7 @@ targets:
tokenSourceRef: /root/.unidesk/.env/gh_token.txt
tokenSourceKey: GH_TOKEN
tekton:
install:
install: &nc01-v03-tekton-install
enabled: true
sourceKind: url
version: pipeline-v1.12.0-triggers-v0.34.0
@@ -923,7 +923,7 @@ targets:
pipelineName: hwlab-nc01-v03-ci-image-publish
serviceAccountName: hwlab-nc01-v03-tekton-runner
pipelineRunPrefix: hwlab-nc01-v03-ci-poll
gitWorkspaceSecret:
gitWorkspaceSecret: &nc01-v03-git-workspace-secret
name: hwlab-git-ssh
namespace: hwlab-ci
sourceRefFrom: gitMirror.githubTransport
@@ -937,7 +937,7 @@ targets:
namespace: argocd
roleName: hwlab-nc01-v03-argo-observer
roleBindingName: hwlab-nc01-v03-argo-observer
toolsImage:
toolsImage: &nc01-v03-tools-image
output: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
imagePullPolicy: Always
sourceKind: dockerfile
@@ -1018,7 +1018,7 @@ targets:
projectName: hwlab-nc01
applicationName: hwlab-node-v03
applicationFile: application-v03.yaml
install:
install: &nc01-v03-argo-install
enabled: true
sourceKind: url
version: v3.4.2
@@ -1062,6 +1062,45 @@ targets:
- argocd-repo-server
statefulSets:
- argocd-application-controller
- id: nc01-production
node: NC01
lane: production
enabled: true
ciNamespace: hwlab-ci
runtimeNamespace: hwlab-production
source:
repository: pikasTech/HWLAB
branch: release
sourceAuthority: *nc01-v03-source-authority
sourceSnapshot:
stageRefPrefix: refs/unidesk/snapshots/gitea-actions/hwlab-node-runtime/{branch}
missingObjectPolicy: fail-fast
refreshPolicy: gitea-controlled-snapshot
gitops:
branch: release-gitops
path: deploy/gitops/node/nc01/runtime-production
gitMirror: *nc01-v03-git-mirror
tekton:
install: *nc01-v03-tekton-install
pipelineName: hwlab-nc01-production-ci-image-publish
serviceAccountName: hwlab-nc01-production-tekton-runner
pipelineRunPrefix: hwlab-nc01-production-ci-poll
gitWorkspaceSecret: *nc01-v03-git-workspace-secret
runtimeObserverRbac:
namespace: hwlab-production
roleName: hwlab-nc01-production-runtime-observer
roleBindingName: hwlab-nc01-production-runtime-observer
argoObserverRbac:
namespace: argocd
roleName: hwlab-nc01-production-argo-observer
roleBindingName: hwlab-nc01-production-argo-observer
toolsImage: *nc01-v03-tools-image
argo:
namespace: argocd
projectName: hwlab-nc01
applicationName: hwlab-node-production
applicationFile: application-production.yaml
install: *nc01-v03-argo-install
- id: d518-v03
node: D518
lane: v03