diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb2cde8..ddf13c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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