Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MPSD HPC Tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
MPSD Computational Science
MPSD HPC Tools
Commits
4e85beaa
Commit
4e85beaa
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
add dep-package ci
parent
5de92bcb
No related branches found
No related tags found
1 merge request
!22
Add debian packaging ci
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-0
17 additions, 0 deletions
.gitlab-ci.yml
with
17 additions
and
0 deletions
.gitlab-ci.yml
+
17
−
0
View file @
4e85beaa
...
@@ -3,6 +3,7 @@ image: python:latest
...
@@ -3,6 +3,7 @@ image: python:latest
stages
:
stages
:
-
test-style
-
test-style
-
test
-
test
-
package
before_script
:
before_script
:
-
cat /etc/issue
-
cat /etc/issue
...
@@ -52,3 +53,19 @@ typing:
...
@@ -52,3 +53,19 @@ typing:
image
:
python:latest
image
:
python:latest
script
:
script
:
-
make typing || /bin/true
-
make typing || /bin/true
# package debian package
package
:
stage
:
package
image
:
debian:bullseye
script
:
-
export DEBEMAIL="gitlab_ci@domain.com"
-
export DEBFULLNAME="Gitlab Runner"
-
apt-get update && apt-get install -y build-essential python3-all python3-dev python3-venv python3-wheel python3-setuptools python3-pip
-
apt-get install -y binutils lintian debhelper dh-make devscripts dh-python
-
apt-get install -y fakeroot dpkg-dev
-
make deb-package
artifacts
:
paths
:
-
dist/*.deb
expire_in
:
1 week
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