Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eb-prune
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
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
nimrod
eb-prune
Commits
cc4a5f71
Commit
cc4a5f71
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
CI templates.
parent
f26fd2ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-44
7 additions, 44 deletions
.gitlab-ci.yml
with
7 additions
and
44 deletions
.gitlab-ci.yml
+
7
−
44
View file @
cc4a5f71
---
---
stages
:
include
:
-
test
-
project
:
shore/ci-templates
-
release
file
:
templates/pre-commit.yml
-
project
:
shore/ci-templates
pre-commit
:
file
:
templates/python.yml
stage
:
test
-
project
:
shore/ci-templates
image
:
adarnimrod/ci-images:pre-commit
file
:
templates/gitlab-release.yml
variables
:
&variables
XDG_CACHE_HOME
:
"
$CI_PROJECT_DIR/.cache"
script
:
-
pre-commit run -a
cache
:
&cache
paths
:
-
.cache/
upload
:
stage
:
release
image
:
python:3.6
before_script
:
-
pip install twine
-
mv "$pypirc" $HOME/.pypirc
script
:
-
python setup.py bdist_wheel
-
twine upload dist/*
variables
:
*variables
cache
:
*cache
rules
:
-
if
:
$CI_COMMIT_TAG
artifacts
:
paths
:
-
dist/*.whl
release
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
script
:
-
!!str
true
rules
:
-
if
:
$CI_COMMIT_TAG
release
:
name
:
Release $CI_COMMIT_TAG
tag_name
:
$CI_COMMIT_TAG
ref
:
$CI_COMMIT_TAG
description
:
Release $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