diff --git a/.tekton/doc-build.yaml b/.tekton/doc-build.yaml index add7ac7..a1847cb 100644 --- a/.tekton/doc-build.yaml +++ b/.tekton/doc-build.yaml @@ -10,8 +10,7 @@ metadata: ( event == "push" && ( source_branch.matches("^(main|master|release-.*)$") || - target_branch.matches("^(main|master|release-.*)$") || - target_branch.startsWith("refs/tags/") + target_branch.matches("^(main|master|release-.*)$") ) ) spec: @@ -57,10 +56,10 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Gi + storage: 1Gi - name: cache persistentVolumeClaim: - claimName: build-cache + claimName: doc-build-cache subPath: yarn_cache # This secret will be replaced by the pac controller diff --git a/.tekton/doc-pr-build.yaml b/.tekton/doc-pr-build.yaml index 263c8ec..49ff48a 100644 --- a/.tekton/doc-pr-build.yaml +++ b/.tekton/doc-pr-build.yaml @@ -55,10 +55,10 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Gi + storage: 1Gi - name: cache persistentVolumeClaim: - claimName: build-cache + claimName: doc-build-cache subPath: yarn_cache # This secret will be replaced by the pac controller