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:
|
default:
|
||||||
tags:
|
image: fabcityhamburg/k8s-tools
|
||||||
- nix
|
|
||||||
before_script:
|
|
||||||
- nix-shell -p nix-direnv
|
|
||||||
# - direnv allow
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
lint.nix:
|
lint.yaml:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- env
|
- yamllint -f auto .
|
||||||
- nix-linter || true
|
|
||||||
- nix develop
|
|
||||||
- env
|
|
||||||
- nix-linter || true
|
|
||||||
- nix-linter *.nix
|
|
||||||
# lint.yaml:
|
|
||||||
# stage: test
|
|
||||||
# script:
|
|
||||||
# - nix develop
|
|
||||||
# - yamllint -f auto .
|
|
||||||
|
|
||||||
# lint.kustomize.dev:
|
lint.kustomize.dev:
|
||||||
# stage: build
|
stage: build
|
||||||
# script:
|
script:
|
||||||
# - nix develop
|
- kubectl kustomize overlays/dev --enable-helm
|
||||||
# - kubectl kustomize overlays/dev --enable-helm
|
|
||||||
|
|
||||||
# lint.kustomize.prod:
|
lint.kustomize.prod:
|
||||||
# stage: build
|
stage: build
|
||||||
# script:
|
script:
|
||||||
# - nix develop
|
- kubectl kustomize overlays/prod --enable-helm
|
||||||
# - kubectl kustomize overlays/prod --enable-helm
|
|
||||||
|
|
Loading…
Reference in a new issue