diff --git a/.tekton/pipeline-build.yaml b/.tekton/pipeline-build.yaml index 35dc510d4..ae05b2ec6 100644 --- a/.tekton/pipeline-build.yaml +++ b/.tekton/pipeline-build.yaml @@ -195,6 +195,9 @@ spec: - name: pathInRepo value: tasks/parse-build-deploy-script/parse-build-deploy-script.yaml + workspaces: + - name: source + workspace: workspace runAfter: - clone-repository @@ -249,6 +252,9 @@ spec: - name: pathInRepo value: tasks/create-frontend-dockerfile/create-frontend-dockerfile.yaml + workspaces: + - name: source + workspace: workspace runAfter: - parse-build-deploy-script diff --git a/.tekton/pull_request.yaml b/.tekton/pull_request.yaml index ad1ba0ace..367f87556 100644 --- a/.tekton/pull_request.yaml +++ b/.tekton/pull_request.yaml @@ -48,3 +48,15 @@ spec: - name: git-auth secret: secretName: '{{ git_auth_secret }}' + + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {} diff --git a/.tekton/push.yaml b/.tekton/push.yaml index 1487a7ac6..965512173 100644 --- a/.tekton/push.yaml +++ b/.tekton/push.yaml @@ -44,3 +44,15 @@ spec: - name: git-auth secret: secretName: '{{ git_auth_secret }}' + + - name: workspace + volumeClaimTemplate: + metadata: + creationTimestamp: null + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + status: {}