Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
e456b964
Commit
e456b964
authored
1 year ago
by
Bert Palm
🎇
Browse files
Options
Downloads
Patches
Plain Diff
rolling release pipeline
parent
3b91944b
No related branches found
No related tags found
1 merge request
!716
Rolling release
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+15
-0
15 additions, 0 deletions
.gitlab-ci.yml
setup.py
+16
-2
16 additions, 2 deletions
setup.py
with
31 additions
and
2 deletions
.gitlab-ci.yml
+
15
−
0
View file @
e456b964
...
...
@@ -179,6 +179,21 @@ docs:
# Extra Pipeline (run with a successful run of all other jobs on develop)
# ===========================================================
testpypi
:
stage
:
deploy
only
:
-
develop
except
:
-
schedules
variables
:
RELEASE
:
DEVELOP
TESTPYPI_USER
:
__token__
TESTPYPI_USER
:
__token__
script
:
-
pip install build twine
-
python -m build
-
twine upload -r testpypi -u __token__ -p $TESTPYPI_USER dist/*
# make html docu with sphinx
pages
:
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
16
−
2
View file @
e456b964
# SPDX-FileCopyrightText: 2021 Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
# SPDX-License-Identifier: GPL-3.0-or-later
import
os
import
versioneer
from
setuptools
import
find_packages
,
setup
...
...
@@ -10,9 +11,22 @@ from setuptools import find_packages, setup
with
open
(
"
README.md
"
,
"
r
"
)
as
fh
:
long_description
=
fh
.
read
()
if
os
.
environ
.
get
(
"
RELEASE
"
)
==
"
DEVELOP
"
:
name
=
"
saqc-dev
"
else
:
name
=
"
saqc
"
version
=
versioneer
.
get_version
()
if
"
dirty
"
in
version
:
raise
ValueError
(
f
"
The repository you build is dirty. Please commit changes first.
{
version
=
}
"
)
setup
(
name
=
"
saqc
"
,
version
=
version
eer
.
get_version
()
,
name
=
name
,
version
=
version
,
cmdclass
=
versioneer
.
get_cmdclass
(),
author
=
"
Bert Palm, David Schaefer, Florian Gransee, Peter Luenenschloss
"
,
author_email
=
"
david.schaefer@ufz.de
"
,
...
...
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