Skip to content

Commit

Permalink
ci: adding customized resources based on env (#1115)
Browse files Browse the repository at this point in the history
Co-authored-by: Derek Roberts <[email protected]>
Co-authored-by: Chris Berg <[email protected]>
  • Loading branch information
3 people authored Jan 29, 2024
1 parent 9be6d97 commit cb63daa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ jobs:
--values ${{ inputs.values }} \
${{ inputs.params }} .
# print history
helm history ${{ env.repo_release }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
vault_role: nonprod
vault_zone: test


promote-images-test:
name: Promote Images - Test
needs: [deploys-test, vars]
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,8 @@ jobs:
triggers: '' #omit=always;
vault_role: nonprod
vault_zone: dev
params: |
--set-json dops.containers[0].resources='{"limits": {"cpu": "3000m", "memory": "4000Mi"}, "requests": {"cpu": "2000m", "memory": "2000Mi"}}' \
--set-json frontend.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json tps-migration.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json vehicles.containers[0].resources='{"limits": {"cpu": "300m", "memory": "500Mi"}, "requests": {"cpu": "200m", "memory": "400Mi"}}' \

0 comments on commit cb63daa

Please sign in to comment.