Deploy fixes
gitea/hedera-web/master This commit looks good Details

This commit is contained in:
Juan Ferrer 2020-01-21 09:56:35 +01:00
parent ce0b782925
commit 2fdb66a55b
5 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \
RUN a2dissite 000-default RUN a2dissite 000-default
ARG STAMP=unknown ARG BUILD_ID=unknown
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y hedera-web \ && apt-get install -y hedera-web \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

2
Jenkinsfile vendored
View File

@ -44,7 +44,7 @@ pipeline {
} }
steps { steps {
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY' sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
sh 'docker-compose build --parallel' sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel'
sh 'docker-compose push' sh 'docker-compose push'
} }
} }

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.406.80) stable; urgency=low hedera-web (1.406.81) stable; urgency=low
* Initial Release. * Initial Release.

4
debian/postinst vendored
View File

@ -4,11 +4,11 @@ set -e
(cd /usr/share/hedera-web && npm install --production) (cd /usr/share/hedera-web && npm install --production)
a2enmod rewrite headers
if [ -e /usr/share/apache2/apache2-maintscript-helper ] if [ -e /usr/share/apache2/apache2-maintscript-helper ]
then then
. /usr/share/apache2/apache2-maintscript-helper . /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod rewrite
apache2_invoke enmod headers
apache2_invoke enconf hedera-web.conf apache2_invoke enconf hedera-web.conf
fi fi

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "1.406.80", "version": "1.406.81",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {