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
3
.envrc
3
.envrc
|
@ -1,5 +1,4 @@
|
||||||
watch_file *.nix **/*.nix
|
watch_file *.nix **/*.nix
|
||||||
|
|
||||||
use flake
|
use flake
|
||||||
|
dotenv
|
||||||
eval "$shellHook"
|
|
|
@ -1,12 +1,13 @@
|
||||||
---
|
---
|
||||||
|
variables:
|
||||||
|
NIX_VERSION: "2.10.0"
|
||||||
|
NIX_CONFIG: "experimental-features = nix-command flakes ca-references recursive-nix"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
image: nixpkgs/nix-flakes:nixos-22.05
|
image: nixos/nix:${NIX_VERSION}
|
||||||
timeout: 1 hours
|
timeout: 1 hours
|
||||||
before_script:
|
before_script:
|
||||||
# - mkdir -p /etc/nix
|
- nix profile install --inputs-from . 'nixpkgs#direnv'
|
||||||
# - cat "${NIX_CONF}" > /etc/nix/nix.conf
|
|
||||||
- nix profile install --inputs-from . 'nixpkgs#nix-direnv'
|
|
||||||
# - nix-env -i direnv
|
|
||||||
# - direnv allow
|
# - direnv allow
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
@ -22,12 +23,12 @@ check:
|
||||||
- nix flake show
|
- nix flake show
|
||||||
- nix flake check
|
- nix flake check
|
||||||
|
|
||||||
lint.yaml:
|
# lint.yaml:
|
||||||
stage: test
|
# stage: test
|
||||||
tags: ['lint']
|
# tags: ['lint']
|
||||||
script: yamllint -f auto .
|
# script: yamllint -f auto .
|
||||||
|
|
||||||
lint.markdown:
|
# lint.markdown:
|
||||||
stage: test
|
# stage: test
|
||||||
tags: ['lint']
|
# tags: ['lint']
|
||||||
script: mdl .
|
# script: mdl .
|
||||||
|
|
Loading…
Reference in a new issue