Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
frontend
Commits
63588d11
Commit
63588d11
authored
5 months ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
gitlab ci job
parent
f11851f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!264
Resolve "add support for matomo"
,
!236
Main
,
!232
Resolve "debian package for frontend"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+19
-0
19 additions, 0 deletions
.gitlab-ci.yml
debian/create-debian-pkg.sh
+3
-3
3 additions, 3 deletions
debian/create-debian-pkg.sh
with
22 additions
and
3 deletions
.gitlab-ci.yml
+
19
−
0
View file @
63588d11
...
...
@@ -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
This diff is collapsed.
Click to expand it.
debian/create-debian-pkg.sh
+
3
−
3
View file @
63588d11
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment