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 b8bcb55
Show file tree
Hide file tree
Showing 36 changed files with 217 additions and 145 deletions.
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
10 changes: 6 additions & 4 deletions tasks/go-plugin-multiarch/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-plugin/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/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
Loading

0 comments on commit b8bcb55

Please sign in to comment.