Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
network
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
9
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
network
Commits
29b37f91
Verified
Commit
29b37f91
authored
2 years ago
by
jooola
Browse files
Options
Downloads
Patches
Plain Diff
ci: reuse shared ci templates for pre-commit
parent
48547481
No related branches found
Branches containing commit
No related tags found
1 merge request
!59
ci: improve pipeline
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-13
6 additions, 13 deletions
.gitlab-ci.yml
with
6 additions
and
13 deletions
.gitlab-ci.yml
+
6
−
13
View file @
29b37f91
---
include
:
-
project
:
funkwhale/ci
file
:
/templates/pre-commit.yml
stages
:
-
lint
-
test
...
...
@@ -11,19 +16,7 @@ variables:
DOCKER_TLS_CERTDIR
:
"
"
pre-commit
:
stage
:
lint
image
:
python:3.11
variables
:
PIP_CACHE_DIR
:
$CI_PROJECT_DIR/.cache/pip
PRE_COMMIT_HOME
:
$CI_PROJECT_DIR/.cache/pre-commit
cache
:
paths
:
-
$PIP_CACHE_DIR
-
$PRE_COMMIT_HOME
before_script
:
-
pip3 install pre-commit
script
:
-
pre-commit run --verbose --all --color=always --show-diff-on-failure
extends
:
[
.pre-commit
]
#tests:
# stage: test
...
...
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