From 83e1871e0f6ecf8623d0e3ec4d112cc2d30104cc Mon Sep 17 00:00:00 2001 From: Paul Montero Date: Sun, 30 Dec 2018 14:23:29 -0500 Subject: [PATCH] review-apps: Configure helm for the CI deployment --- .gitlab-ci.yml | 58 +++++++++++++---------- etc/helm/templates/cron_deployment.yaml | 1 + etc/helm/templates/deployment.yaml | 25 +++++++--- etc/helm/templates/hoogle_deployment.yaml | 26 ++++++---- etc/helm/templates/hoogle_service.yaml | 2 + etc/helm/templates/ingress.yaml | 19 ++++---- etc/helm/templates/service.yaml | 4 +- etc/helm/values.yaml | 2 +- etc/helm/values/production.yaml | 11 +++-- etc/helm/values/staging.yaml | 20 ++++---- 10 files changed, 102 insertions(+), 66 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc36cb4..2bf3548 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: registry.gitlab.fpcomplete.com/fpco/default-build-image:1954 +image: registry.gitlab.fpcomplete.com/fpco/default-build-image:5826 cache: key: "$CI_BUILD_NAME" @@ -13,7 +13,8 @@ stages: variables: STACK_ROOT: "${CI_PROJECT_DIR}/.stack-root" - DEPLOYMENT_IMAGE: "${CI_REGISTRY_IMAGE}:${CI_BUILD_REF_SLUG}_${CI_PIPELINE_ID}" + #DEPLOYMENT_IMAGE: "${CI_REGISTRY_IMAGE}:${CI_BUILD_REF_SLUG}_${CI_PIPELINE_ID}" + DEPLOYMENT_IMAGE: "registry.gitlab.fpcomplete.com/fpco-mirrors/stackage-server:master_4296" DEPLOYMENT_NAME: "stackage-server-prod" HOOGLE_DEPLOYMENT_NAME: "stackage-server-hoogle-prod" CRON_DEPLOYMENT_NAME: "stackage-server-cron-prod" @@ -35,24 +36,30 @@ variables: kubectl apply -f <(envsubst