Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hystorian
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
Container registry
Model registry
Operate
Environments
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
Paruch Group
Hystorian
Commits
c8d54632
Commit
c8d54632
authored
3 years ago
by
Loïc Musy
Browse files
Options
Downloads
Patches
Plain Diff
Updating .yml
Signed-off-by:
Loic.Musy1
<
loic.musy@unige.ch
>
parent
088c64da
Branches
Branches containing commit
Tags
1.0.2.2
Tags containing commit
No related merge requests found
Pipeline
#29834
failed
3 years ago
Stage: deploy_prod
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-12
10 additions, 12 deletions
.gitlab-ci.yml
with
10 additions
and
12 deletions
.gitlab-ci.yml
+
10
−
12
View file @
c8d54632
deploy_staging
:
stage
:
deploy
variabl
es
:
TWINE_USERNAME
:
$STAGING_USERNAME
TWINE_PASSWORD
:
$STAGING_PASSWORD
script
:
-
twine upload --repository testpypi dist/* --verbose
except
:
-
tags
image
:
python:3.9.2-buster
stag
es
:
-
deploy_stage
-
deploy_prod
before_script
:
-
pip install twine
-
python setup.py sdist
deploy_production
:
stage
:
deploy
stage
:
deploy
_prod
variables
:
TWINE_USERNAME
:
__token__
TWINE_PASSWORD
:
$PRODUCTION_PASSWORD
script
:
-
twine upload --repository-url https://upload.pypi.org/legacy/ dist/* --verbose
only
:
-
tags
\ No newline at end of file
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