From b8bcb5558a77871ff774cd6d6b9294cfe8f30f6a Mon Sep 17 00:00:00 2001 From: joshuasimon-taulia Date: Wed, 16 Mar 2022 19:13:31 -0700 Subject: [PATCH] fix: lower excessive resource consumption with tekton 28.0.0+ https://github.com/tektoncd/pipeline/pull/4472 --- tasks/apps/pullrequest.yaml | 10 ++++++---- tasks/apps/release.yaml | 10 ++++++---- tasks/csharp/pullrequest.yaml | 10 ++++++---- tasks/csharp/release.yaml | 10 ++++++---- tasks/custom-jenkins/pullrequest.yaml | 10 ++++++---- tasks/custom-jenkins/release.yaml | 10 ++++++---- tasks/docker-helm/pullrequest.yaml | 10 ++++++---- tasks/docker-helm/release.yaml | 10 ++++++---- tasks/docker/pullrequest.yaml | 10 ++++++---- tasks/docker/release.yaml | 10 ++++++---- tasks/flutter/pullrequest.yaml | 10 ++++++---- tasks/go-cli/pullrequest.yaml | 10 ++++++---- tasks/go-cli/release.yaml | 10 ++++++---- tasks/go-mongodb/pullrequest.yaml | 10 ++++++---- tasks/go-mongodb/release.yaml | 10 ++++++---- tasks/go-plugin-multiarch/pullrequest.yaml | 10 ++++++---- tasks/go-plugin/pullrequest.yaml | 10 ++++++---- tasks/go/pullrequest.yaml | 10 ++++++---- tasks/go/release.yaml | 10 ++++++---- tasks/gradle/pullrequest.yaml | 10 ++++++---- tasks/gradle/release.yaml | 10 ++++++---- tasks/helm/pullrequest.yaml | 10 ++++++---- tasks/helm/release.yaml | 10 ++++++---- tasks/javascript-ui-nginx/pullrequest.yaml | 10 ++++++---- tasks/lookml/pullrequest.yaml | 12 +++++++----- tasks/lookml/release.yaml | 10 ++++++---- tasks/php/pullrequest.yaml | 10 ++++++---- tasks/php/release.yaml | 10 ++++++---- tasks/python/pullrequest.yaml | 10 ++++++---- tasks/python/release.yaml | 10 ++++++---- tasks/ruby/pullrequest.yaml | 10 ++++++---- tasks/ruby/release.yaml | 10 ++++++---- tasks/rust/pullrequest.yaml | 10 ++++++---- tasks/rust/release.yaml | 10 ++++++---- tasks/terraform/pullrequest.yaml | 10 ++++++---- tasks/terraform/release.yaml | 10 ++++++---- 36 files changed, 217 insertions(+), 145 deletions(-) diff --git a/tasks/apps/pullrequest.yaml b/tasks/apps/pullrequest.yaml index 3c0f0b282c..a80150dd95 100644 --- a/tasks/apps/pullrequest.yaml +++ b/tasks/apps/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/apps/release.yaml b/tasks/apps/release.yaml index 9c110d1e91..f69611c8f5 100644 --- a/tasks/apps/release.yaml +++ b/tasks/apps/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -38,7 +36,11 @@ spec: name: tekton-git image: ghcr.io/jenkins-x/jx-release-version:2.5.1 name: next-version - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx-release-version --tag > VERSION diff --git a/tasks/csharp/pullrequest.yaml b/tasks/csharp/pullrequest.yaml index 8a2e06e059..602825abf4 100644 --- a/tasks/csharp/pullrequest.yaml +++ b/tasks/csharp/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 200m - memory: 256Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 200m + memory: 256Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/csharp/release.yaml b/tasks/csharp/release.yaml index 05882bf994..f2f0e1c175 100644 --- a/tasks/csharp/release.yaml +++ b/tasks/csharp/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 200m - memory: 256Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 200m + memory: 256Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/custom-jenkins/pullrequest.yaml b/tasks/custom-jenkins/pullrequest.yaml index ee05e833fe..22bc448f08 100644 --- a/tasks/custom-jenkins/pullrequest.yaml +++ b/tasks/custom-jenkins/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/custom-jenkins/release.yaml b/tasks/custom-jenkins/release.yaml index 7ee3347426..4689b4a3c8 100644 --- a/tasks/custom-jenkins/release.yaml +++ b/tasks/custom-jenkins/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -38,7 +36,11 @@ spec: name: tekton-git image: ghcr.io/jenkins-x/jx-release-version:2.5.1 name: next-version - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx-release-version --tag > VERSION diff --git a/tasks/docker-helm/pullrequest.yaml b/tasks/docker-helm/pullrequest.yaml index 91800727d3..4329217378 100644 --- a/tasks/docker-helm/pullrequest.yaml +++ b/tasks/docker-helm/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/docker-helm/release.yaml b/tasks/docker-helm/release.yaml index 936a612d56..5495da97cb 100644 --- a/tasks/docker-helm/release.yaml +++ b/tasks/docker-helm/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/docker/pullrequest.yaml b/tasks/docker/pullrequest.yaml index 91800727d3..4329217378 100644 --- a/tasks/docker/pullrequest.yaml +++ b/tasks/docker/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/docker/release.yaml b/tasks/docker/release.yaml index aaa3d24444..c27831745d 100644 --- a/tasks/docker/release.yaml +++ b/tasks/docker/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/flutter/pullrequest.yaml b/tasks/flutter/pullrequest.yaml index 184485495d..92b872cb48 100644 --- a/tasks/flutter/pullrequest.yaml +++ b/tasks/flutter/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/go-cli/pullrequest.yaml b/tasks/go-cli/pullrequest.yaml index 38d7fd6f00..31b834c8c9 100644 --- a/tasks/go-cli/pullrequest.yaml +++ b/tasks/go-cli/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/go-cli/release.yaml b/tasks/go-cli/release.yaml index 5ba017a8a7..1419ad156f 100644 --- a/tasks/go-cli/release.yaml +++ b/tasks/go-cli/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -38,7 +36,11 @@ spec: name: tekton-git image: ghcr.io/jenkins-x/jx-release-version:2.5.1 name: next-version - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx-release-version --tag > VERSION diff --git a/tasks/go-mongodb/pullrequest.yaml b/tasks/go-mongodb/pullrequest.yaml index a23aa87814..35c8903327 100644 --- a/tasks/go-mongodb/pullrequest.yaml +++ b/tasks/go-mongodb/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/go-mongodb/release.yaml b/tasks/go-mongodb/release.yaml index 201bc6cf8a..2a11b75566 100644 --- a/tasks/go-mongodb/release.yaml +++ b/tasks/go-mongodb/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -38,7 +36,11 @@ spec: name: tekton-git image: ghcr.io/jenkins-x/jx-release-version:2.5.1 name: next-version - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx-release-version --tag > VERSION diff --git a/tasks/go-plugin-multiarch/pullrequest.yaml b/tasks/go-plugin-multiarch/pullrequest.yaml index ed27e4ca2c..7cfa56794a 100644 --- a/tasks/go-plugin-multiarch/pullrequest.yaml +++ b/tasks/go-plugin-multiarch/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/go-plugin/pullrequest.yaml b/tasks/go-plugin/pullrequest.yaml index 0deedc5292..c71c9111e7 100644 --- a/tasks/go-plugin/pullrequest.yaml +++ b/tasks/go-plugin/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/go/pullrequest.yaml b/tasks/go/pullrequest.yaml index cd32ef58ee..1e04b860f9 100644 --- a/tasks/go/pullrequest.yaml +++ b/tasks/go/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/go/release.yaml b/tasks/go/release.yaml index 6f4bf37d26..3574c5fdfa 100644 --- a/tasks/go/release.yaml +++ b/tasks/go/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -38,7 +36,11 @@ spec: name: tekton-git image: ghcr.io/jenkins-x/jx-release-version:2.5.1 name: next-version - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx-release-version --tag > VERSION diff --git a/tasks/gradle/pullrequest.yaml b/tasks/gradle/pullrequest.yaml index c80d2c332a..03037d6b8f 100644 --- a/tasks/gradle/pullrequest.yaml +++ b/tasks/gradle/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/gradle/release.yaml b/tasks/gradle/release.yaml index 39e40ab092..f3dbe62c61 100644 --- a/tasks/gradle/release.yaml +++ b/tasks/gradle/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/helm/pullrequest.yaml b/tasks/helm/pullrequest.yaml index 99b5b36505..89afe5f4fd 100644 --- a/tasks/helm/pullrequest.yaml +++ b/tasks/helm/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/helm/release.yaml b/tasks/helm/release.yaml index c6d549687d..34cac6631b 100644 --- a/tasks/helm/release.yaml +++ b/tasks/helm/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/javascript-ui-nginx/pullrequest.yaml b/tasks/javascript-ui-nginx/pullrequest.yaml index 8d5dbf3070..5d8796fd58 100644 --- a/tasks/javascript-ui-nginx/pullrequest.yaml +++ b/tasks/javascript-ui-nginx/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/lookml/pullrequest.yaml b/tasks/lookml/pullrequest.yaml index 69ff64fc6a..e86c3e2cdf 100644 --- a/tasks/lookml/pullrequest.yaml +++ b/tasks/lookml/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables @@ -39,7 +41,7 @@ spec: #!/bin/sh . .jx/variables.sh pip install spectacles - set -x + set -x spectacles assert \ --port 443 \ --branch $PR_HEAD_REF \ diff --git a/tasks/lookml/release.yaml b/tasks/lookml/release.yaml index d8ea5f34c4..34863e44cf 100644 --- a/tasks/lookml/release.yaml +++ b/tasks/lookml/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/php/pullrequest.yaml b/tasks/php/pullrequest.yaml index 8a2e06e059..602825abf4 100644 --- a/tasks/php/pullrequest.yaml +++ b/tasks/php/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 200m - memory: 256Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 200m + memory: 256Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/php/release.yaml b/tasks/php/release.yaml index 05882bf994..f2f0e1c175 100644 --- a/tasks/php/release.yaml +++ b/tasks/php/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 200m - memory: 256Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 200m + memory: 256Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/python/pullrequest.yaml b/tasks/python/pullrequest.yaml index 69f1fbbad7..7effb3da88 100644 --- a/tasks/python/pullrequest.yaml +++ b/tasks/python/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/python/release.yaml b/tasks/python/release.yaml index c684339be0..3150f149e2 100644 --- a/tasks/python/release.yaml +++ b/tasks/python/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/ruby/pullrequest.yaml b/tasks/ruby/pullrequest.yaml index e265442f11..c08f95655a 100644 --- a/tasks/ruby/pullrequest.yaml +++ b/tasks/ruby/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/ruby/release.yaml b/tasks/ruby/release.yaml index 936a612d56..5495da97cb 100644 --- a/tasks/ruby/release.yaml +++ b/tasks/ruby/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/rust/pullrequest.yaml b/tasks/rust/pullrequest.yaml index 8d720e8981..1cf7cbc7d8 100644 --- a/tasks/rust/pullrequest.yaml +++ b/tasks/rust/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/rust/release.yaml b/tasks/rust/release.yaml index 00e84d8d2c..87d0511b7b 100644 --- a/tasks/rust/release.yaml +++ b/tasks/rust/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 512Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -44,7 +42,11 @@ spec: jx-release-version --tag > VERSION - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 512Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/terraform/pullrequest.yaml b/tasks/terraform/pullrequest.yaml index 80b79e6453..a0d01fcf7b 100644 --- a/tasks/terraform/pullrequest.yaml +++ b/tasks/terraform/pullrequest.yaml @@ -20,14 +20,16 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - image: ghcr.io/jenkins-x/jx-boot:3.2.263 name: jx-variables - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx gitops variables diff --git a/tasks/terraform/release.yaml b/tasks/terraform/release.yaml index abe65c7bcb..04f6725ccb 100644 --- a/tasks/terraform/release.yaml +++ b/tasks/terraform/release.yaml @@ -20,9 +20,7 @@ spec: optional: true name: "" resources: - requests: - cpu: 400m - memory: 600Mi + limits: {} workingDir: /workspace/source steps: - env: @@ -38,7 +36,11 @@ spec: name: tekton-git image: ghcr.io/jenkins-x/jx-release-version:2.5.1 name: next-version - resources: {} + resources: + # set requests for the pod here + requests: + cpu: 400m + memory: 600Mi script: | #!/usr/bin/env sh jx-release-version --tag > VERSION