Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
api-client
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
Environments
Terraform modules
Monitor
Incidents
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
Arkindex
api-client
Merge requests
!211
Remove testpypi deployment and automate push to pypi
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove testpypi deployment and automate push to pypi
skip-test-pypi
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Bastien Abadie
requested to merge
skip-test-pypi
into
master
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Closes
#31 (closed)
0
0
Merge request reports
Viewing commit
56752442
Show latest version
1 file
+
0
−
22
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
56752442
Remove testpypi deployment and automate push to pypi
· 56752442
Bastien Abadie
authored
3 years ago
.gitlab-ci.yml
+
0
−
22
Options
@@ -49,30 +49,8 @@ client-lint:
@@ -49,30 +49,8 @@ client-lint:
script
:
script
:
-
pre-commit run -a
-
pre-commit run -a
client-deploy-testpypi
:
stage
:
test-deploy
only
:
-
tags@arkindex/api-client
environment
:
name
:
testpypi
url
:
https://test.pypi.org/project/arkindex-client
before_script
:
-
pip install twine setuptools wheel
-
echo "[distutils]" > ~/.pypirc
-
echo "index-servers =" >> ~/.pypirc
-
echo " testpypi" >> ~/.pypirc
-
echo "[testpypi]" >> ~/.pypirc
-
echo "repository=https://test.pypi.org/legacy/" >> ~/.pypirc
-
echo "username=$PYPI_DEPLOY_USERNAME" >> ~/.pypirc
-
echo "password=$PYPI_DEPLOY_PASSWORD" >> ~/.pypirc
script
:
-
python setup.py sdist bdist_wheel
-
twine upload dist/* -r testpypi
client-deploy-pypi
:
client-deploy-pypi
:
stage
:
deploy
stage
:
deploy
when
:
manual
only
:
only
:
-
tags@arkindex/api-client
-
tags@arkindex/api-client
environment
:
environment
:
Loading