From 9b3acfb66b48b8da1b608c1c77a4b7eaea14158c Mon Sep 17 00:00:00 2001 From: JasonPowr Date: Wed, 30 Oct 2024 10:18:13 +0000 Subject: [PATCH] fix-prefetch-dep --- .tekton/createctconfig-pull-request.yaml | 11 +++++++++++ .tekton/createctconfig-push.yaml | 11 +++++++++++ .tekton/ctlog-managectroots-pull-request.yaml | 11 +++++++++++ .tekton/ctlog-managectroots-push.yaml | 11 +++++++++++ .tekton/fulcio-createcerts-pull-request.yaml | 11 +++++++++++ .tekton/fulcio-createcerts-push.yaml | 11 +++++++++++ .tekton/trillian-createdb-pull-request.yaml | 11 +++++++++++ .tekton/trillian-createdb-push.yaml | 11 +++++++++++ .tekton/trillian-createtree-pull-request.yaml | 11 +++++++++++ .tekton/trillian-createtree-push.yaml | 11 +++++++++++ .tekton/tuf-server-pull-request.yaml | 11 +++++++++++ .tekton/tuf-server-push.yaml | 11 +++++++++++ 12 files changed, 132 insertions(+) diff --git a/.tekton/createctconfig-pull-request.yaml b/.tekton/createctconfig-pull-request.yaml index b5303c5b6..a191addec 100644 --- a/.tekton/createctconfig-pull-request.yaml +++ b/.tekton/createctconfig-pull-request.yaml @@ -35,6 +35,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/createctconfig-push.yaml b/.tekton/createctconfig-push.yaml index 12e0ea84a..96e6cb104 100644 --- a/.tekton/createctconfig-push.yaml +++ b/.tekton/createctconfig-push.yaml @@ -32,6 +32,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/ctlog-managectroots-pull-request.yaml b/.tekton/ctlog-managectroots-pull-request.yaml index fc18f3a30..9fba01964 100644 --- a/.tekton/ctlog-managectroots-pull-request.yaml +++ b/.tekton/ctlog-managectroots-pull-request.yaml @@ -35,6 +35,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/ctlog-managectroots-push.yaml b/.tekton/ctlog-managectroots-push.yaml index ee0270eec..388f959b1 100644 --- a/.tekton/ctlog-managectroots-push.yaml +++ b/.tekton/ctlog-managectroots-push.yaml @@ -32,6 +32,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/fulcio-createcerts-pull-request.yaml b/.tekton/fulcio-createcerts-pull-request.yaml index 2d2791c3e..14dcf597e 100644 --- a/.tekton/fulcio-createcerts-pull-request.yaml +++ b/.tekton/fulcio-createcerts-pull-request.yaml @@ -35,6 +35,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/fulcio-createcerts-push.yaml b/.tekton/fulcio-createcerts-push.yaml index 9fb5eb059..5bf077099 100644 --- a/.tekton/fulcio-createcerts-push.yaml +++ b/.tekton/fulcio-createcerts-push.yaml @@ -32,6 +32,17 @@ spec: value: '{{revision}}' - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/trillian-createdb-pull-request.yaml b/.tekton/trillian-createdb-pull-request.yaml index d74c73200..83c85e222 100644 --- a/.tekton/trillian-createdb-pull-request.yaml +++ b/.tekton/trillian-createdb-pull-request.yaml @@ -35,6 +35,17 @@ spec: value: "true" - name: prefetch-input value: '{"path": ".", "type": "gomod"}' + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/trillian-createdb-push.yaml b/.tekton/trillian-createdb-push.yaml index 068bd2beb..7299bb51c 100644 --- a/.tekton/trillian-createdb-push.yaml +++ b/.tekton/trillian-createdb-push.yaml @@ -32,6 +32,17 @@ spec: value: "true" - name: prefetch-input value: '{"path": ".", "type": "gomod"}' + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/trillian-createtree-pull-request.yaml b/.tekton/trillian-createtree-pull-request.yaml index 93c12e0ab..2a961a328 100644 --- a/.tekton/trillian-createtree-pull-request.yaml +++ b/.tekton/trillian-createtree-pull-request.yaml @@ -35,6 +35,17 @@ spec: value: "true" - name: prefetch-input value: '{"path": ".", "type": "gomod"}' + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/trillian-createtree-push.yaml b/.tekton/trillian-createtree-push.yaml index 720b71727..5ee89161a 100644 --- a/.tekton/trillian-createtree-push.yaml +++ b/.tekton/trillian-createtree-push.yaml @@ -32,6 +32,17 @@ spec: value: "true" - name: prefetch-input value: '{"path": ".", "type": "gomod"}' + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/tuf-server-pull-request.yaml b/.tekton/tuf-server-pull-request.yaml index 7d50aa600..0e131b75a 100644 --- a/.tekton/tuf-server-pull-request.yaml +++ b/.tekton/tuf-server-pull-request.yaml @@ -35,6 +35,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/tuf-server-push.yaml b/.tekton/tuf-server-push.yaml index fe7402ca0..6992ef3ec 100644 --- a/.tekton/tuf-server-push.yaml +++ b/.tekton/tuf-server-push.yaml @@ -33,6 +33,17 @@ spec: value: "true" - name: build-source-image value: "true" + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineSpec: finally: - name: show-sbom