mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-19 20:08:52 +02:00
fixed pipeline
This commit is contained in:
parent
78f373abf0
commit
02da15ff4f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue