Commit 8b914f16 authored by Mark Abraham's avatar Mark Abraham
Browse files

add git clone L15

parent 64d0d7f7
Pipeline #179431 failed with stages
in 2 seconds
......@@ -12,6 +12,7 @@ build:
stage: build
environment: $CI_COMMIT_REF_SLUG
script:
- git clone --single-branch --branch $CI_COMMIT_REF_SLUG $REPO
- cp ./src/certs/* .
- echo 'COPY *.crt /etc/pki/ca-trust/source/anchors/' >> Dockerfile
- echo 'RUN chmod 644 /etc/pki/ca-trust/source/anchors/*.crt && update-ca-trust' >> Dockerfile
......@@ -30,7 +31,7 @@ deploy:
- \cp -f ${DOT_ENV} ./.env
- \cp -f ${LOCAL_SETTINGS} ./local_settings.py
- \cp -f cfg/docker-compose.${CI_COMMIT_REF_SLUG} ./docker-compose.yml
- sed -i 's/#'django_auth_ldap'/'django_auth_ldap'/g' ./src/web_reflectivity/settings.py
#- sed -i 's/#'django_auth_ldap'/'django_auth_ldap'/g' ./src/web_reflectivity/settings.py
- docker-compose down
- docker volume prune -f # Do not use this on **MAIN** without making changes to the db confuration. this command will delete the db volume.
- docker-compose pull
......
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