Skip to content

Commit

Permalink
fix: lower excessive resource consumption with tekton 28.0.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
roulettedares committed Mar 17, 2022
1 parent b56dd72 commit 97cc8f4
Show file tree
Hide file tree
Showing 18 changed files with 109 additions and 73 deletions.
10 changes: 6 additions & 4 deletions tasks/docker-helm/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/docker-helm/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/docker/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/docker/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/flutter/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/gradle/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/gradle/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/helm/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/helm/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/javascript-ui-nginx/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions tasks/lookml/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down
10 changes: 6 additions & 4 deletions tasks/lookml/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/python/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/python/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/ruby/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/ruby/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ spec:
optional: true
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/rust/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 97cc8f4

Please sign in to comment.