Skip to content
Snippets Groups Projects
Commit 63588d11 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

gitlab ci job

parent f11851f5
No related branches found
No related tags found
3 merge requests!264Resolve "add support for matomo",!236Main,!232Resolve "debian package for frontend"
......@@ -75,3 +75,22 @@ deploy_staging:
- vercel pull --yes --environment=production --token=$VERCEL_TOKEN
- vercel build --prod --token=$VERCEL_TOKEN
- vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN
build:deb:
image: node:16.16.0
stage: packaging
only:
- tags
- development
before_script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y dh-make build-essential lintian devscripts xsltproc fakeroot xsltproc docbook-xsl curl gnupg git zip
artifacts:
# you cannot enforce never here yet
expire_in: 1000 yrs
paths:
- 'debian/*.deb'
script:
- export DEBFULLNAME="Piotr Gawron"
- export DEBEMAIL="piotr.gawron@uni.lu"
- debian/create-debian-pkg.sh
......@@ -58,10 +58,10 @@ echo "Architecture: $arch" >>debian/control
rm debian/*.ex debian/README.Debian debian/README.source debian/minerva-front-docs.docs
#build debian package
debuild --no-lintian -us -uc
debuild -us -uc --lintian-opts --suppress-tags bad-distribution-in-changes-file
#run separately to fail on errors
lintian --suppress-tags bad-distribution-in-changes-file --fail-on warning,error --no-tag-display-limit
#run separately to fail on errors (does not work on old debian)
#lintian --suppress-tags bad-distribution-in-changes-file --no-tag-display-limit
# remove temporary changelog
rm $ROOT_DIR/debian/template/changelog
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment