Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
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
Container Registry
Model 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
0c91cda8
Commit
0c91cda8
authored
5 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#105
: Set-up CD: Add PyPi and PyPi test distribution
- manual and on tags trigger
parent
e11c5cbf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!146
Merge dev into master branch to complete v0.8.0 development cycle
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
with
18 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
0c91cda8
stages
:
-
checks
-
tests
-
publish
-
coverage
variables
:
...
...
@@ -69,6 +70,23 @@ tests-3.8:
variables
:
PYTHON_VERSION
:
"
3.8"
pypi_test
:
stage
:
publish
only
:
[
tags
]
when
:
manual
script
:
-
mkdir -p /root/.config/pypoetry/
-
touch /root/.config/pypoetry/config.toml
-
poetry config repositories.pypi_test https://test.pypi.org/legacy/
-
poetry publish --build --username $PYPI_TEST_LOGIN --password $PYPI_TEST_PASSWORD --repository pypi_test
pypi
:
stage
:
publish
only
:
[
tags
]
when
:
manual
script
:
-
poetry publish --build --username $PYPI_LOGIN --password $PYPI_PASSWORD
pages
:
extends
:
.code_changes
needs
:
[
tests-3.7-coverage
]
...
...
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