Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Luca (strifel)
uffd
Commits
d0e52e42
Verified
Commit
d0e52e42
authored
3 years ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
move package build dependencies to docker image
parent
da04c1d3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-5
0 additions, 5 deletions
.gitlab-ci.yml
uwsgi.ini
+8
-6
8 additions, 6 deletions
uwsgi.ini
with
8 additions
and
11 deletions
.gitlab-ci.yml
+
0
−
5
View file @
d0e52e42
...
...
@@ -19,7 +19,6 @@ before_script:
build:pip
:
extends
:
.build
script
:
-
pip3 install build
-
PACKAGE_VERSION="${UFFD_PACKAGE_VERSION}" python3 -m build
artifacts
:
paths
:
...
...
@@ -28,8 +27,6 @@ build:pip:
build:apt
:
extends
:
.build
script
:
-
apt update
-
apt-get install -y python3-all debhelper python3-pip git-buildpackage
-
cp CHANGELOG debian/changelog
-
export PYBUILD_INSTALL_ARGS="--install-lib=/usr/share/uffd/ --install-scripts=/usr/share/uffd/"
-
gbp dch --ignore-branch --debian-tag=v%\(version\)s
...
...
@@ -117,7 +114,6 @@ test:package:apt:
stage
:
test
script
:
-
apt -y install ./build/*.deb
-
apt -y install curl
-
ln -s /etc/uffd/uwsgi.ini /etc/uwsgi/apps-available/uffd.ini
-
ln -s /etc/uwsgi/apps-available/uffd.ini /etc/uwsgi/apps-enabled/uffd.ini
-
service uwsgi start uffd || ( service uwsgi status uffd ; sleep 15; cat /var/log/uwsgi/app/uffd.log; )
...
...
@@ -137,7 +133,6 @@ test:package:apt:
publish:pip
:
extends
:
.publish
script
:
-
pip3 install twine
-
TWINE_USERNAME="${GITLABPKGS_USERNAME}" TWINE_PASSWORD="${GITLABPKGS_PASSWORD}" python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
-
TWINE_USERNAME="${PYPI_USERNAME}" TWINE_PASSWORD="${PYPI_PASSWORD}" python3 -m twine upload dist/*
dependencies
:
...
...
This diff is collapsed.
Click to expand it.
uwsgi.ini
+
8
−
6
View file @
d0e52e42
[uwsgi]
plugin
=
python3
env
=
PYTHONIOENCODING=UTF-8
env
=
LANG=en_GB.utf8
env
=
TZ=Europe/Berlin
env
=
CONFIG_FILENAME=/etc/uffd/uffd.cfg
manage-script-name
=
true
chdir
=
/usr/share/uffd
module
=
uffd:create_app()
workers
=
%k*2
uid
=
uffd
gid
=
uffd
vacuum
=
true
env
=
PYTHONIOENCODING=UTF-8
env
=
LANG=en_GB.utf8
env
=
TZ=Europe/Berlin
env
=
CONFIG_FILENAME=/etc/uffd/uffd.cfg
chdir
=
/usr/share/uffd
module
=
uffd:create_app()
hook-pre-app
=
exec:FLASK_APP=uffd flask db upgrade
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