157 lines
5.4 KiB
YAML
157 lines
5.4 KiB
YAML
version: 1
|
|
kind: platform-infra-pipelines-as-code
|
|
|
|
metadata:
|
|
id: pac-gitea-consumers
|
|
owner: unidesk
|
|
spec: GH-1552/GH-1555/GH-1560
|
|
relatedIssues:
|
|
- 1552
|
|
- 1555
|
|
- 1557
|
|
- 1560
|
|
|
|
defaults:
|
|
targetId: JD01
|
|
consumerId: agentrun-jd01-v02
|
|
|
|
display:
|
|
timeZone: Asia/Shanghai
|
|
|
|
release:
|
|
version: v0.48.0
|
|
manifestUrl: https://github.com/tektoncd/pipelines-as-code/releases/download/v0.48.0/release.k8s.yaml
|
|
namespace: pipelines-as-code
|
|
controllerServiceName: pipelines-as-code-controller
|
|
controllerServicePort: 8080
|
|
waitTimeoutSeconds: 55
|
|
|
|
targets:
|
|
- id: JD01
|
|
route: JD01:k3s
|
|
namespace: agentrun-ci
|
|
role: active-cicd-trigger-authority
|
|
enabled: true
|
|
|
|
gitea:
|
|
configRef: config/platform-infra/gitea.yaml#sourceAuthority.repositories
|
|
internalBaseUrl: http://gitea-http.devops-infra.svc.cluster.local:3000
|
|
admin:
|
|
sourceRoot: /root/unidesk
|
|
sourceRef: .env/gitea.auth
|
|
format: line-pair
|
|
usernameLine: 1
|
|
passwordLine: 2
|
|
apiUsername: admin
|
|
webhook:
|
|
secretRoot: /root/unidesk
|
|
secretSourceRef: .env/pipelines-as-code.webhook
|
|
events:
|
|
- push
|
|
branch: params.source_branch
|
|
|
|
repositories:
|
|
- id: agentrun-jd01-v02
|
|
name: agentrun-jd01-v02
|
|
namespace: agentrun-ci
|
|
providerType: gitea
|
|
url: https://gitea.pikapython.com/mirrors/pikasTech-agentrun
|
|
cloneUrl: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-agentrun.git
|
|
owner: mirrors
|
|
repo: pikasTech-agentrun
|
|
secretName: pac-gitea-agentrun-jd01-v02
|
|
tokenKey: token
|
|
webhookSecretKey: webhook.secret
|
|
concurrencyLimit: 1
|
|
params:
|
|
git_read_url: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-agentrun.git
|
|
git_write_url: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-agentrun.git
|
|
source_branch: v0.2
|
|
gitops_branch: jd01-v0.2-gitops
|
|
# Historical prefix name retained for existing snapshot refs; active architecture is Gitea + PaC, not Gitea Actions.
|
|
source_snapshot_prefix: refs/unidesk/snapshots/gitea-actions/agentrun-v0.2
|
|
pipeline_name: agentrun-jd01-v02-ci-image-publish
|
|
pipeline_run_prefix: agentrun-jd01-v02-ci
|
|
service_account: agentrun-jd01-v02-tekton-runner
|
|
workspace_pvc_size: 2Gi
|
|
- id: sentinel-jd01-v03
|
|
name: sentinel-jd01-v03
|
|
namespace: devops-infra
|
|
providerType: gitea
|
|
url: https://gitea.pikapython.com/mirrors/pikasTech-unidesk
|
|
cloneUrl: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git
|
|
owner: mirrors
|
|
repo: pikasTech-unidesk
|
|
secretName: pac-gitea-sentinel-jd01-v03
|
|
tokenKey: token
|
|
webhookSecretKey: webhook.secret
|
|
concurrencyLimit: 1
|
|
params:
|
|
git_read_url: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-unidesk.git
|
|
source_branch: master
|
|
# Historical prefix name retained for existing snapshot refs; active architecture is Gitea + PaC, not Gitea Actions.
|
|
source_snapshot_prefix: refs/unidesk/snapshots/gitea-actions/unidesk-master
|
|
node: JD01
|
|
lane: v03
|
|
sentinel_id: jd01-web-probe-sentinel
|
|
image_repository: 127.0.0.1:5000/hwlab/web-probe-sentinel-jd01
|
|
registry_probe_base: http://127.0.0.1:5000
|
|
gitops_branch: v0.3-gitops
|
|
gitops_manifest_path: deploy/gitops/node/jd01/web-probe-sentinel/web-probe-sentinel.yaml
|
|
pipeline_name: hwlab-web-probe-sentinel-jd01-pac
|
|
pipeline_run_prefix: hwlab-web-probe-sentinel-jd01
|
|
- id: hwlab-jd01-v03
|
|
name: hwlab-jd01-v03
|
|
namespace: hwlab-ci
|
|
providerType: gitea
|
|
url: https://gitea.pikapython.com/mirrors/pikasTech-HWLAB
|
|
cloneUrl: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git
|
|
owner: mirrors
|
|
repo: pikasTech-HWLAB
|
|
secretName: pac-gitea-hwlab-jd01-v03
|
|
tokenKey: token
|
|
webhookSecretKey: webhook.secret
|
|
concurrencyLimit: 1
|
|
params:
|
|
git_read_url: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git
|
|
git_write_url: http://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git
|
|
source_branch: v0.3
|
|
gitops_branch: v0.3-gitops
|
|
# Historical prefix name retained for existing snapshot refs; active architecture is Gitea + PaC, not Gitea Actions.
|
|
source_snapshot_prefix: refs/unidesk/snapshots/gitea-actions/hwlab-node-runtime/v0.3
|
|
pipeline_name: hwlab-jd01-v03-ci-image-publish
|
|
pipeline_run_prefix: hwlab-jd01-v03-ci-poll
|
|
service_account: hwlab-jd01-v03-tekton-runner
|
|
node: JD01
|
|
lane: v03
|
|
runtime_namespace: hwlab-v03
|
|
|
|
consumers:
|
|
- id: agentrun-jd01-v02
|
|
repositoryRef: agentrun-jd01-v02
|
|
node: JD01
|
|
lane: jd01-v02
|
|
namespace: agentrun-ci
|
|
pipeline: agentrun-jd01-v02-ci-image-publish
|
|
pipelineRunPrefix: agentrun-jd01-v02-ci
|
|
argoNamespace: argocd
|
|
argoApplication: agentrun-jd01-v02
|
|
- id: sentinel-jd01-v03
|
|
repositoryRef: sentinel-jd01-v03
|
|
node: JD01
|
|
lane: v03
|
|
namespace: devops-infra
|
|
pipeline: hwlab-web-probe-sentinel-jd01-pac
|
|
pipelineRunPrefix: hwlab-web-probe-sentinel-jd01
|
|
argoNamespace: argocd
|
|
argoApplication: hwlab-web-probe-sentinel-jd01
|
|
- id: hwlab-jd01-v03
|
|
repositoryRef: hwlab-jd01-v03
|
|
node: JD01
|
|
lane: v03
|
|
namespace: hwlab-ci
|
|
pipeline: hwlab-jd01-v03-ci-image-publish
|
|
pipelineRunPrefix: hwlab-jd01-v03-ci-poll
|
|
argoNamespace: argocd
|
|
argoApplication: hwlab-node-v03
|