Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Deployment
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
freva
Deployment
Commits
547c24c8
Commit
547c24c8
authored
2 years ago
by
Martin Bergemann
Browse files
Options
Downloads
Patches
Plain Diff
Add automatic realeas pipeline
parent
443eed7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
Add automatic realeas pipeline
Pipeline
#20109
passed
2 years ago
Stage: doc
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.gitlab-ci.yml
+21
-0
21 additions, 0 deletions
.gitlab-ci.yml
with
22 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
547c24c8
...
...
@@ -7,6 +7,7 @@ __pycache__/*
build/
*.tmpl
docs/_build/
dist/
my.log
src/freva_deployment/__pycache__
src/freva_deployment/cli/__pycache__
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
21
−
0
View file @
547c24c8
stages
:
-
doc
-
release
lint
:
image
:
python
...
...
@@ -29,3 +30,23 @@ pages:
when
:
always
paths
:
-
public
release_job
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
needs
:
[
"
pages"
]
tags
:
-
docker, specific
rules
:
-
if
:
$CI_COMMIT_TAG
before_script
:
-
pip install twine
script
:
-
python setup.py sdist
-
TWINE_PASSWORD=${CI_JOB_TOKEN}
TWINE_USERNAME=98c8de339e1258db33f138635ca128
python -m twine upload --repository-url
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
release
:
tag_name
:
'
$CI_COMMIT_TAG'
description
:
'
$CI_COMMIT_TAG'
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