diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d6a3b1..1bc317d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,10 +10,6 @@ test: except: - tags script: make test - artifacts: - paths: - - env.vanilla - expire_in: 1 hour build: stage: build @@ -21,8 +17,6 @@ build: except: - tags script: - - ls -hal - - mv env.vanilla env - make install-source-prod # Copy static assets to env/static - cp -pr remarkbox/static env/static @@ -34,7 +28,7 @@ build: - cp -pr env/static static - tar -zcf static.tar.gz static # Clone the virtualenv with virtualenv-clone into the desired location. - - virtualenv-clone env /opt/remarkbox/env + - virtualenv-clone -vvv $PWD/env /opt/remarkbox/env # Create a tarball of the virtualenv. - tar -zcf env.tar.gz -C /opt/remarkbox . # Create a SHA512 hash of env.tar.gz. diff --git a/Makefile b/Makefile index 925d382..4fa5cf1 100644 --- a/Makefile +++ b/Makefile @@ -67,13 +67,11 @@ install-source-dev-and-test: venv install-themes $(PIP) install --editable . $(PIP) install --upgrade -r requirements-dev.txt $(PIP) install --upgrade -r requirements-test.txt - cp -rp $(VENV_DIR) $(VENV_DIR).vanilla install-source-prod: venv install-themes @echo "Installing remarkbox from source (editable mode)..." $(PIP) install . $(PIP) install --upgrade -r requirements-prod.txt - cp -rp $(VENV_DIR) $(VENV_DIR).vanilla # -----------------------------------------------------------------------------