fixed pipeline

This commit is contained in:
Sebastian Wendel 2022-07-13 09:53:17 +02:00
parent 78f373abf0
commit 02da15ff4f
No known key found for this signature in database
GPG key ID: 1422B7DF78144640

View file

@ -7,15 +7,21 @@ default:
image: nixpkgs/nix-unstable:${NIX_VERSION}
timeout: 1 hours
before_script:
- nix flake show
- nix profile install --inputs-from . 'nixpkgs#direnv'
- direnv hook bash >> ~/.bashrc
- . ~/.bashrc
- env
- direnv allow
- direnv status
- direnv reload
- cd $(pwd)
# - nix flake show
# - nix profile install --inputs-from . 'nixpkgs#direnv'
# - direnv hook bash >> ~/.bashrc
# - . ~/.bashrc
# - . /etc/profile
# - env
# - direnv allow
# - direnv status
# - direnv reload
# - cd $(pwd)
- nix profile install --inputs-from . 'nixpkgs#yamllint'
- nix profile install --inputs-from . 'nixpkgs#mdl'
- nix profile install --inputs-from . 'nixpkgs#kubectl'
- nix profile install --inputs-from . 'nixpkgs#kubernetes-helm'
- nix profile install --inputs-from . 'nixpkgs#kustomize'
stages:
- test
@ -25,9 +31,17 @@ stages:
lint.yaml:
stage: test
script:
script:
- yamllint -f auto .
lint.markdown:
stage: test
script: mdl .
kustomize.dev:
stage: test
script: kubectl kustomize overlays/dev --enable-helm
kustomize.prod:
stage: test
script: kubectl kustomize overlays/prod --enable-helm