Files
pikasTech-unidesk/config/platform-infra/pipelines-as-code.yaml
T

77 lines
2.1 KiB
YAML

version: 1
kind: platform-infra-pipelines-as-code
metadata:
id: pac-gitea-agentrun
owner: unidesk
spec: GH-1552
relatedIssues:
- 1552
defaults:
targetId: JD01
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-poc
enabled: true
gitea:
configRef: config/platform-infra/gitea.yaml#sourceAuthority.repositories.agentrun-jd01-v02
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: v0.2
repository:
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://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git
source_branch: v0.2
gitops_branch: jd01-v0.2-gitops
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
consumer:
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