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
joshuasimon-taulia committed Mar 17, 2022
1 parent b56dd72 commit 3e7fe75
Show file tree
Hide file tree
Showing 46 changed files with 277 additions and 185 deletions.
10 changes: 6 additions & 4 deletions tasks/D/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: 500m
memory: 1Gi
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: 500m
memory: 1Gi
script: |
#!/usr/bin/env sh
jx gitops variables
Expand Down
10 changes: 6 additions & 4 deletions tasks/D/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: 500m
memory: 1Gi
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: 500m
memory: 1Gi
script: |
#!/usr/bin/env sh
jx gitops variables
Expand Down
10 changes: 6 additions & 4 deletions tasks/apps/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: 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
Expand Down
10 changes: 6 additions & 4 deletions tasks/apps/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: 600Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/csharp/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: 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
Expand Down
10 changes: 6 additions & 4 deletions tasks/csharp/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: 200m
memory: 256Mi
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: 200m
memory: 256Mi
script: |
#!/usr/bin/env sh
jx gitops variables
Expand Down
10 changes: 6 additions & 4 deletions tasks/custom-jenkins/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: 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
Expand Down
10 changes: 6 additions & 4 deletions tasks/custom-jenkins/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: 600Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
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/go-cli/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: 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
Expand Down
10 changes: 6 additions & 4 deletions tasks/go-cli/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: 600Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
10 changes: 6 additions & 4 deletions tasks/go-mongodb/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: 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
Expand Down
10 changes: 6 additions & 4 deletions tasks/go-mongodb/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: 600Mi
limits: {}
workingDir: /workspace/source
steps:
- env:
Expand All @@ -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
Expand Down
Loading

0 comments on commit 3e7fe75

Please sign in to comment.