Skip to content

Commit

Permalink
[GOG-162] Fix review environment configuration (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmrodriguez authored and jasoncypret committed May 13, 2020
1 parent 52d4a91 commit 8ffa855
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -11,7 +11,7 @@ app.build(
requestCpu: '1',
limitCpu: '2',
requestMemory: '6Gi',
limitMemory: '12Gi',
limitMemory: '14Gi',
]
) {
def scmVars
Expand Down
4 changes: 2 additions & 2 deletions bin/deploy
Expand Up @@ -23,13 +23,13 @@ extraBindings="{\"ingress\":{\"hosts\":[\"${deploy_url}\"]}}"

krane render \
--filenames=${workDir}/config/deploy/templates \
--bindings="@${workDir}/config/deploy/values.yaml" "@${workDir}/config/deploy/${environment}/values.yaml" "@${workDir}/config/deploy/${environment}/secrets.dec.yaml" "image_tag=${tag}" "environment=${environment}" $extraBindings \
--bindings="@${workDir}/config/deploy/values.yaml" $environmentValuesFile $environmentSecretsFile "image_tag=${tag}" "environment=${environment}" $extraBindings \
--current-sha=${tag} | krane deploy playbook-${environment} ${cluster} \
--selector='app=playbook' \
--verbose-log-prefix \
--stdin

deploy_exit=$?
rm ${workDir}/config/deploy/${environment}/secrets.dec.yaml
rm ${workDir}/config/deploy/**/*.dec.yaml

exit $deploy_exit
2 changes: 1 addition & 1 deletion config/deploy/production/values.yaml
@@ -1 +1 @@
---
{}
2 changes: 1 addition & 1 deletion config/deploy/prs/values.yaml
@@ -1 +1 @@
---
{}
2 changes: 1 addition & 1 deletion config/deploy/staging/values.yaml
@@ -1 +1 @@
---
{}

0 comments on commit 8ffa855

Please sign in to comment.