mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-20 04:18:51 +02:00
fixed gitlab pipeline syntax
This commit is contained in:
parent
3b03abe653
commit
12c1cdd8ee
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
variables:
|
||||
NIX_VERSION: "2.10.0"
|
||||
NIX_CONFIG: "experimental-features = nix-command flakes ca-references recursive-nix"
|
||||
|
||||
default:
|
||||
image: nixpkgs/nix-flakes:nixos-22.05
|
||||
image: nixos/nix:${NIX_VERSION}
|
||||
timeout: 1 hours
|
||||
before_script:
|
||||
# - mkdir -p /etc/nix
|
||||
# - cat "${NIX_CONF}" > /etc/nix/nix.conf
|
||||
- nix profile install --inputs-from . 'nixpkgs#nix-direnv'
|
||||
# - nix-env -i direnv
|
||||
- nix profile install --inputs-from . 'nixpkgs#direnv'
|
||||
# - direnv allow
|
||||
|
||||
stages:
|
||||
|
@ -22,12 +23,12 @@ check:
|
|||
- nix flake show
|
||||
- nix flake check
|
||||
|
||||
lint.yaml:
|
||||
stage: test
|
||||
tags: ['lint']
|
||||
script: yamllint -f auto .
|
||||
# lint.yaml:
|
||||
# stage: test
|
||||
# tags: ['lint']
|
||||
# script: yamllint -f auto .
|
||||
|
||||
lint.markdown:
|
||||
stage: test
|
||||
tags: ['lint']
|
||||
script: mdl .
|
||||
# lint.markdown:
|
||||
# stage: test
|
||||
# tags: ['lint']
|
||||
# script: mdl .
|
||||
|
|
Loading…
Reference in a new issue