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
3bc6a47e
Commit
3bc6a47e
authored
1 year ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Update CI file.
parent
015171a8
No related branches found
No related tags found
3 merge requests
!10
Code cleaning, better documentation and updated CI.
,
!9
Fix CI publishing.
,
!8
Modifying CI to make automatic releases.
Pipeline
#18386
failed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
with
5 additions
and
5 deletions
.gitlab-ci.yml
+
5
−
5
View file @
3bc6a47e
...
...
@@ -17,7 +17,7 @@ test_docker:
rules
:
-
if
:
'
$CI_COMMIT_TAG
==
null'
deploy
to
testpypi
:
deploy
-
to
-
testpypi
:
stage
:
deploy_test
image
:
python:3.8
only
:
...
...
@@ -27,10 +27,10 @@ deploy to testpypi:
-
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/*
install
from
testpypi
:
install
-
from
-
testpypi
:
stage
:
test_install
image
:
python:3.8
needs
:
[
"
deploy
to
testpypi"
]
needs
:
[
"
deploy
-
to
-
testpypi"
]
script
:
-
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding
artifacts
:
...
...
@@ -38,10 +38,10 @@ install from testpypi:
paths
:
-
"
*.log"
deploy
to
pypi
:
deploy
-
to
-
pypi
:
stage
:
deploy_prod
image
:
python:3.8
needs
:
[
"
install
from
testpypi"
]
needs
:
[
"
install
-
from
-
testpypi"
]
script
:
-
pip install twine
-
python setup.py sdist bdist_wheel
...
...
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