mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-20 04:18:51 +02:00
33 lines
526 B
YAML
33 lines
526 B
YAML
---
|
|
variables:
|
|
NIX_VERSION: "2.10.0"
|
|
NIX_CONFIG: "experimental-features = nix-command flakes recursive-nix"
|
|
|
|
default:
|
|
image: nixos/nix:${NIX_VERSION}
|
|
timeout: 1 hours
|
|
before_script:
|
|
- nix profile install --inputs-from . 'nixpkgs#direnv'
|
|
- direnv allow
|
|
|
|
stages:
|
|
- test
|
|
- build
|
|
- release
|
|
- deploy
|
|
|
|
check:
|
|
stage: test
|
|
script:
|
|
- nix flake show
|
|
|
|
# lint.yaml:
|
|
# stage: test
|
|
# tags: ['lint']
|
|
# script: yamllint -f auto .
|
|
|
|
# lint.markdown:
|
|
# stage: test
|
|
# tags: ['lint']
|
|
# script: mdl .
|