69 lines
1.6 KiB
YAML
69 lines
1.6 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: tekton-pipelines
|
|
resources:
|
|
- namespace/namespace.yaml
|
|
- serviceaccount/service-account.yaml
|
|
- serviceaccount/rbac.yaml
|
|
- configmap/configmap-phpcsfixer.yaml
|
|
|
|
- resources/
|
|
|
|
# Tasks
|
|
- https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.9/git-clone.yaml
|
|
- https://api.hub.tekton.dev/v1/resource/tekton/task/kaniko/0.6/raw
|
|
- task/common/giteacomment.yaml
|
|
- task/common/imageformater.yaml
|
|
- task/common/cleanup.yaml
|
|
- task/common/crane.yaml
|
|
- task/common/trivy.yaml
|
|
- task/symfonyapp/phpcsfixer.yaml
|
|
- task/symfonyapp/phpsecuritycheck.yaml
|
|
- task/symfonyapp/phpstan.yaml
|
|
- task/symfonyapp/phpunittest.yaml
|
|
- task/symfonyapp/phpfunctionaltest.yaml
|
|
|
|
# Pipelines
|
|
- pipeline/imagebuild.yaml
|
|
- pipeline/symfonycheck.yaml
|
|
|
|
# Triggers
|
|
- trigger/msebuild-binding.yaml
|
|
- trigger/msebuild-template.yaml
|
|
- trigger/imagebuild-binding.yaml
|
|
- trigger/imagebuild-template.yaml
|
|
- trigger/symfonycheck-binding.yaml
|
|
- trigger/symfonycheck-template.yaml
|
|
|
|
# Events
|
|
- event/mseproject.yaml
|
|
|
|
|
|
# # Ingress
|
|
# - ingress/dashboard.yaml
|
|
|
|
generatorOptions:
|
|
disableNameSuffixHash: true
|
|
secretGenerator:
|
|
- name: regcred
|
|
type: kubernetes.io/dockerconfigjson
|
|
files:
|
|
- secret/dockerconfig/.dockerconfigjson
|
|
|
|
- name: basic-auth
|
|
type: kubernetes.io/basic-auth
|
|
options:
|
|
annotations:
|
|
tekton.dev/git-0: https://forge.cadoles.com
|
|
envs:
|
|
- secret/gitea/basicauth
|
|
|
|
- name: gitea-access-token
|
|
files:
|
|
- secret/gitea/access_token
|
|
|
|
- name: git-credentials
|
|
files:
|
|
- secret/ssh/id_ed25519
|
|
- secret/ssh/known_hosts
|