Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argopkgs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
argopkgs
Commits
3427e094
Commit
3427e094
authored
Feb 17, 2019
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds repoquality.
parent
7bc35437
Pipeline
#5368
failed
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
.gitlab-ci.yml
.gitlab-ci.yml
+9
-7
gitlab-ci/repoquality.yml
gitlab-ci/repoquality.yml
+7
-0
No files found.
.gitlab-ci.yml
View file @
3427e094
# This file should be read like a 'pure' function and these variables act as
# arguments.
# Gitlab overrides with their local affectations when using the "include"
# directive on this file.
# arguments: Gitlab overrides with their local affectations when using the
# "include" directive.
variables
:
#The authoritative packaging source
ARGOPKGS
:
"
./default.nix"
#Extra argonix arguments
EXTRA
:
"
"
#This installs argonix before each step. The goal is for this command to be the
#only unwrapped call to a nix binary in the whole CI setup of the project. The
#trick with XDG_CACHE_HOME is there to make sure that no state is propagated
#through caching, making this file as much of a "pure" function as we can. the
#This updates argonix before each step if necessary. The trick with
#XDG_CACHE_HOME is there to make sure that no state is propagated through
#caching, making this file as much of a "pure" function as we can. the
#`argonix` binary does this too when wrapping nix utilities.
before_script
:
-
CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
...
...
@@ -22,6 +20,10 @@ stages:
-
build
-
test
#calling other local files.
include
:
-
local
:
'
/gitlab-ci/repoquality.yml'
####### templates
.build
:
stage
:
build
...
...
gitlab-ci/repoquality.yml
0 → 100644
View file @
3427e094
#Importing this file adds repository quality check.
repoquality
:
stage
:
build
script
:
-
nix run -f "$ARGOPKGS" repoquality --command repoquality
tags
:
-
integration
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment