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 590e520
Show file tree
Hide file tree
Showing 129 changed files with 821 additions and 517 deletions.
11 changes: 7 additions & 4 deletions .lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@a5ab19ebc5a074e0402c5016b11bc11b32cc5c83
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- env:
- name: GH_ACCESS_TOKEN
valueFrom:
Expand Down
11 changes: 7 additions & 4 deletions .lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: promote-changelog
resources: {}
- image: ghcr.io/jenkins-x/jx-changelog:0.1.3
Expand Down
11 changes: 7 additions & 4 deletions packs/D/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/D/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 500m
memory: 1Gi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 500m
memory: 1Gi
- name: build-dub-build
resources: {}
- name: check-registry
Expand Down
11 changes: 7 additions & 4 deletions packs/D/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/D/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 500m
memory: 1Gi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 500m
memory: 1Gi
- name: build-dub-build
resources: {}
- name: check-registry
Expand Down
11 changes: 7 additions & 4 deletions packs/apps/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/apps/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: build-build
resources: {}
- name: build-helm-build
Expand Down
11 changes: 7 additions & 4 deletions packs/apps/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/apps/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: build-build
resources: {}
- name: release-chart
Expand Down
11 changes: 7 additions & 4 deletions packs/custom-jenkins/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/custom-jenkins/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: build-build
resources: {}
podTemplate: {}
Expand Down
11 changes: 7 additions & 4 deletions packs/custom-jenkins/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/custom-jenkins/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: build-build
resources: {}
podTemplate: {}
Expand Down
11 changes: 7 additions & 4 deletions packs/cwp/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/cwp/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 512Mi
- name: build-mvn-deploy
resources: {}
- name: check-registry
Expand Down
11 changes: 7 additions & 4 deletions packs/docker-helm/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker-helm/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 512Mi
- name: check-registry
resources: {}
- name: build-container-build
Expand Down
11 changes: 7 additions & 4 deletions packs/docker-helm/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker-helm/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 512Mi
- name: check-registry
resources: {}
- name: build-container-build
Expand Down
11 changes: 7 additions & 4 deletions packs/docker/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 512Mi
- name: check-registry
resources: {}
- name: build-container-build
Expand Down
11 changes: 7 additions & 4 deletions packs/docker/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/docker/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 512Mi
- name: check-registry
resources: {}
- name: build-container-build
Expand Down
11 changes: 7 additions & 4 deletions packs/flutter/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/flutter/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 512Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 512Mi
- name: build
resources: {}
podTemplate: {}
Expand Down
11 changes: 7 additions & 4 deletions packs/go-cli/.lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-cli/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: build-make-linux
resources: {}
- name: build-make-test
Expand Down
11 changes: 7 additions & 4 deletions packs/go-cli/.lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ spec:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-cli/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
# override limits for all containers here
limits: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -25,7 +24,11 @@ spec:
- name: next-version
resources: {}
- name: jx-variables
resources: {}
resources:
# override requests for the pod here
requests:
cpu: 400m
memory: 600Mi
- name: build-make-build
resources: {}
- name: check-registry
Expand Down
Loading

0 comments on commit 590e520

Please sign in to comment.