This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: PipelineRun | |
| metadata: | |
| generateName: java-app-example-pl- | |
| spec: | |
| pipelineRef: | |
| name: maven-pipeline | |
| serviceAccountName: pipeline | |
| params: | |
| - name: application-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: Pipeline | |
| metadata: | |
| name: maven-pipeline | |
| spec: | |
| params: | |
| - name: dependency-git-url | |
| - name: dependency-git-revision | |
| default: main | |
| - name: dependency-folder-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: Task | |
| metadata: | |
| name: update-deployment | |
| spec: | |
| params: | |
| - name: deployment | |
| description: The name of the deployment patch the image | |
| type: string | |
| - name: IMAGE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: Task | |
| metadata: | |
| name: apply-manifests | |
| spec: | |
| workspaces: | |
| - name: source | |
| params: | |
| - name: manifest_dir | |
| description: The directory in source that contains yaml manifests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: Task | |
| metadata: | |
| name: build-maven-image | |
| labels: | |
| app.kubernetes.io/version: "0.1" | |
| annotations: | |
| tekton.dev/pipelines.minVersion: "0.12.1" | |
| tekton.dev/tags: image-build | |
| spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: Task | |
| metadata: | |
| name: maven | |
| labels: | |
| app.kubernetes.io/version: "0.2" | |
| annotations: | |
| tekton.dev/pipelines.minVersion: "0.12.1" | |
| tekton.dev/tags: build-tool | |
| spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: tekton.dev/v1beta1 | |
| kind: Task | |
| metadata: | |
| name: git-clone | |
| labels: | |
| app.kubernetes.io/version: "0.1" | |
| annotations: | |
| tekton.dev/pipelines.minVersion: "0.12.1" | |
| tekton.dev/tags: git | |
| tekton.dev/displayName: "git clone" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: pipeline-pvc | |
| spec: | |
| resources: | |
| requests: | |
| storage: 5Gi | |
| volumeMode: Filesystem | |
| accessModes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: gitsecret | |
| annotations: | |
| tekton.dev/git-0: https://github.com | |
| type: kubernetes.io/basic-auth | |
| stringData: | |
| username: user@email.com | |
| password: password_token |