mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-19 20:08:52 +02:00
adopted pipeline based on docker a container
This commit is contained in:
parent
096f7d2cb2
commit
01d2ebe23c
|
@ -1,41 +1,22 @@
|
|||
---
|
||||
variables:
|
||||
NIX_CONFIG: "experimental-features = nix-command flakes recursive-nix"
|
||||
|
||||
default:
|
||||
tags:
|
||||
- nix
|
||||
before_script:
|
||||
- nix-shell -p nix-direnv
|
||||
# - direnv allow
|
||||
image: fabcityhamburg/k8s-tools
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
|
||||
lint.nix:
|
||||
lint.yaml:
|
||||
stage: test
|
||||
script:
|
||||
- env
|
||||
- nix-linter || true
|
||||
- nix develop
|
||||
- env
|
||||
- nix-linter || true
|
||||
- nix-linter *.nix
|
||||
# lint.yaml:
|
||||
# stage: test
|
||||
# script:
|
||||
# - nix develop
|
||||
# - yamllint -f auto .
|
||||
- yamllint -f auto .
|
||||
|
||||
# lint.kustomize.dev:
|
||||
# stage: build
|
||||
# script:
|
||||
# - nix develop
|
||||
# - kubectl kustomize overlays/dev --enable-helm
|
||||
lint.kustomize.dev:
|
||||
stage: build
|
||||
script:
|
||||
- kubectl kustomize overlays/dev --enable-helm
|
||||
|
||||
# lint.kustomize.prod:
|
||||
# stage: build
|
||||
# script:
|
||||
# - nix develop
|
||||
# - kubectl kustomize overlays/prod --enable-helm
|
||||
lint.kustomize.prod:
|
||||
stage: build
|
||||
script:
|
||||
- kubectl kustomize overlays/prod --enable-helm
|
||||
|
|
Loading…
Reference in a new issue