Commit 95241fb9 authored by David Mendez's avatar David Mendez

Delete config folder before loading repo

parent 6bcad299
Pipeline #93459 passed with stages
in 6 minutes and 28 seconds
......@@ -21,7 +21,6 @@ variables:
# Config prod_hh
CONFIG_PROD_HH_FILE_PATH: ${CONFIGS_FOLDER}/prod_hh.yml
CONFIG_GUNICORN_PROD_HH_FILE_PATH: ${CONFIGS_FOLDER}/prod_hh.gunicorn.config.py
INGRESS_PROD_HH_FILE_PATH: ${CONFIGS_FOLDER}/ingress-prod_hh.yml
AUTOSCALER_PROD_HH_FILE_PATH: ${CONFIGS_FOLDER}/autoscaler-prod_hh.yml
image: docker:latest
......@@ -139,6 +138,7 @@ prepare_config_deployments:
- schedules
script:
- set -x
- rm -rf ${CONFIGS_FOLDER} || true
- mkdir -p ${CONFIGS_FOLDER}
- git clone https://${CONFIG_DEPLOY_GITLAB_USERNAME}:${CONFIG_DEPLOY_GITLAB_TOKEN}@${CONFIGURATIONS_REPO} ${CONFIGS_FOLDER}
artifacts:
......@@ -149,6 +149,9 @@ prepare_config_deployments:
- ${CONFIG_PROD_HX_FILE_PATH}
- ${CONFIG_GUNICORN_PROD_HX_FILE_PATH}
- ${AUTOSCALER_PROD_HX_FILE_PATH}
- ${CONFIG_PROD_HH_FILE_PATH}
- ${CONFIG_GUNICORN_PROD_HH_FILE_PATH}
- ${AUTOSCALER_PROD_HH_FILE_PATH}
deploy_to_staging:
stage: deploy_to_staging
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment