diff options
| -rw-r--r-- | .gitlab-ci.yml | 2 | ||||
| -rw-r--r-- | Makefile.example | 17 | 
2 files changed, 15 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65246de14..1606294f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@  before_script:    - apt update -  - apt install -q -y git python3-pip libpq-dev python3-dev libjpeg-dev zlib1g-dev libxml2-dev libxslt1-dev libgeos-dev python3-cairocffi tidy libtidy-dev binutils libproj-dev gdal-bin libpangocairo-1.0-0 pandoc +  - apt install -q -y git sed python3-pip libpq-dev python3-dev libjpeg-dev zlib1g-dev libxml2-dev libxslt1-dev libgeos-dev python3-cairocffi tidy libtidy-dev binutils libproj-dev gdal-bin libpangocairo-1.0-0 pandoc    - apt-get install -q -y locales && \      sed -i -e "s/# fr_FR*/fr_FR.UTF-8 UTF-8/" /etc/locale.gen && \      dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=$LANG diff --git a/Makefile.example b/Makefile.example index 14e6032a4..16c060593 100644 --- a/Makefile.example +++ b/Makefile.example @@ -40,6 +40,7 @@ clean:  	-rm -rf *~*  	-find . -name '*.pyc' -exec rm {} \;  	-find . -name '.*.swp' -exec rm {} \; +	-find . -name "__pycache__" -exec rm -rf {} \;  	-rm -rf dist ishtar.egg-info  update: clean syncdb compilemessages collectstatic @@ -252,9 +253,19 @@ deb: clean  	debuild -i -us -uc -b  push_install: clean -	tar cvjf install-ishtar-$(version).tar.bz2 install/ -	scp install-ishtar-$(version).tar.bz2 root@git:/var/www/ishtar/install/ -	rm install-ishtar-$(version).tar.bz2 +	INSTALL_PATH=/var/www/ishtar/install/ ; \ +	ARCHIVE_NAME=install-ishtar-$(version).tar.bz2 ; \ +	tar cvjf $$ARCHIVE_NAME install/ ; \ +	scp $$ARCHIVE_NAME root@git.iggdrasil.net:$$INSTALL_PATH ; \ +	rm $$ARCHIVE_NAME ;  +	#ifeq ($(BRANCH_NAME),master) \ +	#     ssh root@git rm $$INSTALL_PATH"install-ishtar-latest.tar.bz2" ; \ +	#     ssh root@git ln -s $$INSTALL_PATH$$ARCHIVE_NAME $$INSTALL_PATH"install-ishtar-latest.tar.bz2" ;\ +        #endif \ +	#ifeq ($(BRANCH_NAME),develop) \ +	#     ssh root@git rm $$INSTALL_PATH"install-ishtar-develop.tar.bz2" ; \ +	#     ssh root@git ln -s $$INSTALL_PATH$$ARCHIVE_NAME $$INSTALL_PATH"install-ishtar-develop.tar.bz2" ;\ +        #endif  sass:  	./node_modules/node-sass/bin/node-sass scss/custom.scss --output-style compressed > ishtar_common/static/bootstrap/bootstrap.css  | 
