Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enstools-encoding
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
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
w2w
enstools-encoding
Commits
bcaf6fe6
Commit
bcaf6fe6
authored
1 year ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Debug CI publishing.
parent
09a763cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!10
Code cleaning, better documentation and updated CI.
,
!9
Fix CI publishing.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
bcaf6fe6
...
...
@@ -22,20 +22,20 @@ deploy to testpypi:
image
:
python:3.8
tags
:
-
docker.meteo.physik.lmu.de
only
:
-
tags
#
only:
#
- tags
script
:
-
pip install twine
-
python setup.py sdist bdist_wheel
-
twine upload -u
$PYPI_TEST_USER
-p $PYPI_TEST_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
-
twine upload -u
"__token__"
-p
"
$PYPI_TEST_PASSWORD
"
--repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
install from testpypi
:
stage
:
test_install
image
:
python:3.8
tags
:
-
docker.meteo.physik.lmu.de
only
:
-
tags
#
only:
#
- tags
needs
:
[
"
deploy-to-testpypi"
]
script
:
-
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding
...
...
@@ -55,4 +55,4 @@ deploy to pypi:
script
:
-
pip install twine
-
python setup.py sdist bdist_wheel
-
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing dist/*
\ No newline at end of file
-
twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
\ 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