generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (39 loc) · 1.56 KB
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
name: Deploy Dev
on:
workflow_dispatch:
inputs:
tag:
description: "Image tag to deploy"
required: false
type: string
default: "latest"
workflow_call:
inputs:
tag:
description: "Image tag to deploy"
required: false
type: string
default: "latest"
jobs:
deploy-dev:
name: Deploys (DEV)
uses: ./.github/workflows/deploy.yml
secrets: inherit
with:
autoscaling: false
environment: dev
release: ${{inputs.tag}}
tag: ${{ inputs.tag }}
triggers: '' #omit=always;
params: |
--set-string global.license='c28f0c' \
--set-string global.zone='dev' \
--set-string global.vault.role='nonprod' \
--set-string global.vault.zone='dev' \
--set-string global.pr_num='${{ inputs.tag }}' \
--set-json dops.containers[0].resources='{"limits": {"cpu": "1000m", "memory": "2000Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json frontend.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json scheduler.containers[0].resources='{"limits": {"cpu": "75m", "memory": "150Mi"}, "requests": {"cpu": "25m", "memory": "50Mi"}}' \
--set-json policy.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"}}' \