Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Consulting Reporting Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
HIFIS
HIFIS Software Services
Consulting
Consulting Reporting Toolkit
Commits
177c65eb
Commit
177c65eb
authored
9 months ago
by
Foerster, Thomas
Browse files
Options
Downloads
Plain Diff
Merge branch '18-ci-update' into 'main'
Update CI Closes
#18
See merge request
!17
parents
e93a74cc
611b304d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!17
Update CI
Pipeline
#385347
passed
9 months ago
Stage: base
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-12
11 additions, 12 deletions
.gitlab-ci.yml
with
11 additions
and
12 deletions
.gitlab-ci.yml
+
11
−
12
View file @
177c65eb
...
...
@@ -15,27 +15,26 @@ variables:
lint
:
#needs: []
stage
:
base
rules
:
-
if
:
$CI_COMMIT_REF_NAME != "main"
extends
:
.install_dependencies
script
:
-
poetry run reporting lint
only
:
-
branches
except
:
-
main
validate
:
#needs: []
stage
:
base
rules
:
-
if
:
$CI_COMMIT_REF_NAME != "main"
extends
:
.install_dependencies
script
:
-
poetry run reporting validate
only
:
-
branches
except
:
-
main
publish
:
#needs: []
stage
:
base
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_NAME == "main"
...
...
@@ -49,9 +48,9 @@ publish:
-
if [[ "$PREVIOUS_VERSION" != "$CURRENT_VERSION" ]]; then
pip install --upgrade pip
pip install poetry
poetry build --format wheel
;
poetry config repositories.gitlab ${POETRY_REPOSITORY}
;
poetry publish --username gitlab-ci-token --password ${CI_JOB_TOKEN} --repository gitlab
;
poetry build --format wheel
poetry config repositories.gitlab ${POETRY_REPOSITORY}
poetry publish --username gitlab-ci-token --password ${CI_JOB_TOKEN} --repository gitlab
echo "Version has changed";
else
echo "Nothing published.";
...
...
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