Skip to content

Commit

Permalink
jobs: migrate kubernetes/community jobs to eks cluster
Browse files Browse the repository at this point in the history
also, add cpu/mem limits and requests to the jobs

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
  • Loading branch information
palnabarun committed Jun 15, 2023
1 parent 77ecf46 commit e0eef99
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/jobs/kubernetes/community/community-presubmit.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
presubmits:
kubernetes/community:
- name: pull-community-verify
cluster: eks-prow-build-cluster
branches:
- master
always_run: true
Expand All @@ -13,10 +14,18 @@ presubmits:
- "-c"
# Add GOPATH/bin back to PATH to workaround #9469
- "export PATH=$PATH:$GOPATH/bin && make verify"
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
annotations:
testgrid-dashboards: sig-contribex-community
testgrid-tab-name: pull-verify
- name: pull-community-tempelis-check
cluster: eks-prow-build-cluster
decorate: true
branches:
- ^master$
Expand All @@ -32,6 +41,13 @@ presubmits:
- --config=communication/slack-config/
- --restrictions=communication/slack-config/restrictions.yaml
- --auth=/etc/slack-auth/auth.json
resources:
limits:
cpu: 2
memory: 4Gi
requests:
cpu: 2
memory: 4Gi
volumeMounts:
- name: tempelis-readonly-creds
mountPath: /etc/slack-auth
Expand Down

0 comments on commit e0eef99

Please sign in to comment.