public k8s config for my alrest cluster
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: set up common pipeline for applying tekton pipelines

Signed-off-by: Xe Iaso <me@xeiaso.net>

+63
+3
pipelines/apply-pipeline/kustomization.yaml
··· 1 + namespace: ci 2 + resources: 3 + - ./pipeline.yaml
+59
pipelines/apply-pipeline/pipeline.yaml
··· 1 + apiVersion: tekton.dev/v1beta1 2 + kind: Pipeline 3 + metadata: 4 + name: apply-pipeline 5 + namespace: ci 6 + spec: 7 + description: | 8 + Apply tekton pipeline in repo 9 + params: 10 + - name: repo-url 11 + type: string 12 + description: "Git repo to clone" 13 + - name: "branch" 14 + type: string 15 + description: "Git branch to operate against" 16 + - name: "commit" 17 + type: string 18 + description: "Git revision to check out" 19 + - name: "actor" 20 + type: string 21 + description: "Tangled actor" 22 + workspaces: 23 + - name: repo 24 + description: | 25 + Cloned repo files. 26 + tasks: 27 + - name: fix-permissions 28 + taskRef: 29 + name: fix-permissions 30 + workspaces: 31 + - name: dir 32 + workspace: repo 33 + - name: clone-repo 34 + runAfter: ["fix-permissions"] 35 + taskRef: 36 + name: git-clone 37 + workspaces: 38 + - name: output 39 + workspace: repo 40 + params: 41 + - name: url 42 + value: $(params.repo-url) 43 + - name: revision 44 + value: $(params.commit) 45 + - name: kubectl-apply 46 + runAfter: ["clone-repo"] 47 + workspaces: 48 + - name: repo 49 + workspace: repo 50 + taskSpec: 51 + workspaces: 52 + - name: repo 53 + steps: 54 + - name: do-apply 55 + image: cgr.dev/chainguard/kubectl:latest 56 + args: 57 + - apply 58 + - -k 59 + - $(workspaces.repo.path)/repo/.tekton
+1
pipelines/kustomization.yaml
··· 1 1 namespace: ci 2 2 resources: 3 3 - ./alrest-ci-autoapply 4 + - ./apply-pipeline 4 5 - ./tack