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
Commits
56752442
Commit
56752442
authored
3 years ago
by
Bastien Abadie
Browse files
Options
Downloads
Patches
Plain Diff
Remove testpypi deployment and automate push to pypi
parent
14d51c06
No related branches found
No related tags found
1 merge request
!211
Remove testpypi deployment and automate push to pypi
Pipeline
#29337
passed
2 years ago
Stage: release
Changes
1
Pipelines
22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-22
0 additions, 22 deletions
.gitlab-ci.yml
with
0 additions
and
22 deletions
.gitlab-ci.yml
+
0
−
22
View file @
56752442
...
...
@@ -49,30 +49,8 @@ client-lint:
script
:
-
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
:
stage
:
deploy
when
:
manual
only
:
-
tags@arkindex/api-client
environment
:
...
...
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