Skip to content
Snippets Groups Projects
Verified Commit 6a37599e authored by Jules Lefebvre's avatar Jules Lefebvre
Browse files

modif: use nix inside gitlab-ci

parent 323ec8c5
1 merge request!2Feature: No registration at install time
Pipeline #304322 passed with stage
in 1 minute and 18 seconds
--- ---
variables:
NIX_PATH: nixpkgs=channel:nixos-unstable
stages: stages:
- lint - lint
...@@ -6,13 +8,13 @@ stages: ...@@ -6,13 +8,13 @@ stages:
ansible: ansible:
stage: lint stage: lint
needs: [] needs: []
image: registry.cri.epita.fr/cri/docker/ansible/master image: registry.cri.epita.fr/cri/infrastructure/nixpie/nix
script: script:
- ansible-lint - nix-shell -p ansible-lint --run ansible-lint
yaml: yaml:
stage: lint stage: lint
needs: [] needs: []
image: registry.cri.epita.fr/cri/docker/ansible/master image: registry.cri.epita.fr/cri/infrastructure/nixpie/nix
script: script:
- yamllint -f colored . - nix-shell -p yamllint --run 'yamllint -f colored .'
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