Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-client-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
funkwhale
api-client-python
Merge requests
!2
Resolve "Publish to pypi"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Publish to pypi"
1-publish-to-pypi
into
main
Overview
0
Commits
4
Pipelines
5
Changes
1
Merged
Georg Krause
requested to merge
1-publish-to-pypi
into
main
3 years ago
Overview
0
Commits
4
Pipelines
5
Changes
1
Expand
Closes
#1 (closed)
Edited
3 years ago
by
Georg Krause
0
0
Merge request reports
Viewing commit
c24a8f97
Prev
Next
Show latest version
1 file
+
10
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
c24a8f97
ci(deploy): Add package publishing to pypi
· c24a8f97
Georg Krause
authored
3 years ago
.gitlab-ci.yml
+
10
−
0
Options
@@ -7,6 +7,8 @@
@@ -7,6 +7,8 @@
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages
:
stages
:
-
test
-
test
-
publish
sast
:
sast
:
stage
:
test
stage
:
test
include
:
include
:
@@ -26,3 +28,11 @@ pytest:
@@ -26,3 +28,11 @@ pytest:
coverage_report
:
coverage_report
:
coverage_format
:
cobertura
coverage_format
:
cobertura
path
:
coverage.xml
path
:
coverage.xml
publish
:
image
:
python:3.10-alpine
before_script
:
-
apk add poetry
-
poetry install
script
:
-
poetry publish --build
Loading