Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enstools-compression
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-compression
Commits
8921be14
Commit
8921be14
authored
1 year ago
by
Oriol.Tinto
Browse files
Options
Downloads
Patches
Plain Diff
Development
parent
cb7ea999
No related branches found
No related tags found
1 merge request
!16
Development
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-6
23 additions, 6 deletions
.gitlab-ci.yml
with
23 additions
and
6 deletions
.gitlab-ci.yml
+
23
−
6
View file @
8921be14
...
@@ -4,6 +4,7 @@ stages:
...
@@ -4,6 +4,7 @@ stages:
-
deploy_test
-
deploy_test
-
test_install
-
test_install
-
deploy_prod
-
deploy_prod
-
prod_install
test_docker
:
test_docker
:
stage
:
test
stage
:
test
...
@@ -48,12 +49,9 @@ install-from-testpypi:
...
@@ -48,12 +49,9 @@ install-from-testpypi:
-
apt-get install -y libeccodes-dev
-
apt-get install -y libeccodes-dev
-
apt install -yq git vim python3 python3-pip python3-venv
-
apt install -yq git vim python3 python3-pip python3-venv
script
:
script
:
-
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-compression
-
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-compression
--break-system-packages
-
python -c "from enstools.compression import api"
-
python -c "from enstools.compression import api"
artifacts
:
when
:
on_failure
paths
:
-
"
*.log"
deploy-to-pypi
:
deploy-to-pypi
:
stage
:
deploy_prod
stage
:
deploy_prod
...
@@ -66,4 +64,23 @@ deploy-to-pypi:
...
@@ -66,4 +64,23 @@ deploy-to-pypi:
script
:
script
:
-
pip install twine
-
pip install twine
-
python setup.py sdist bdist_wheel
-
python setup.py sdist bdist_wheel
-
twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
-
twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
\ No newline at end of file
install-from-pypi
:
stage
:
prod_install
image
:
ubuntu:rolling
tags
:
-
docker.meteo.physik.lmu.de
only
:
-
tags
needs
:
[
"
deploy-to-pypi"
]
before_script
:
-
apt update
-
export DEBIAN_FRONTEND=noninteractive
-
apt-get install -y libproj-dev proj-data proj-bin
-
apt-get install -y libgeos-dev
-
apt-get install -y libeccodes-dev
-
apt install -yq git vim python3 python3-pip python3-venv
script
:
-
pip install enstools-compression --break-system-packages
-
python -c "from enstools.compression import api"
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