Commit 3427e094 authored by Valentin Reis's avatar Valentin Reis

adds repoquality.

parent 7bc35437
Pipeline #5368 failed
# This file should be read like a 'pure' function and these variables act as # This file should be read like a 'pure' function and these variables act as
# arguments. # arguments: Gitlab overrides with their local affectations when using the
# Gitlab overrides with their local affectations when using the "include" # "include" directive.
# directive on this file.
variables: variables:
#The authoritative packaging source #The authoritative packaging source
ARGOPKGS : "./default.nix" ARGOPKGS : "./default.nix"
#Extra argonix arguments #Extra argonix arguments
EXTRA : "" EXTRA : ""
#This installs argonix before each step. The goal is for this command to be the #This updates argonix before each step if necessary. The trick with
#only unwrapped call to a nix binary in the whole CI setup of the project. The #XDG_CACHE_HOME is there to make sure that no state is propagated through
#trick with XDG_CACHE_HOME is there to make sure that no state is propagated #caching, making this file as much of a "pure" function as we can. the
#through caching, making this file as much of a "pure" function as we can. the
#`argonix` binary does this too when wrapping nix utilities. #`argonix` binary does this too when wrapping nix utilities.
before_script: before_script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX) - CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
...@@ -22,6 +20,10 @@ stages: ...@@ -22,6 +20,10 @@ stages:
- build - build
- test - test
#calling other local files.
include:
- local: '/gitlab-ci/repoquality.yml'
####### templates ####### templates
.build: .build:
stage: build stage: build
......
#Importing this file adds repository quality check.
repoquality:
stage: build
script:
- nix run -f "$ARGOPKGS" repoquality --command repoquality
tags:
- integration
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment