added a new kubernetes gitlab-runner for testing

This commit is contained in:
Sebastian Wendel 2022-11-23 11:22:33 +01:00
parent 73ec14bbef
commit bedd4f647f
No known key found for this signature in database
GPG key ID: 1422B7DF78144640

View file

@ -1,9 +1,11 @@
---
default:
image: nixos/nix:latest
retry: 2
before_script:
- nix-channel --update
image: alpine/helm:3.10.2
job:
tags:
- kubernetes
- flying-circus
stages:
- test
@ -11,10 +13,10 @@ stages:
- release
- deploy
lint.yaml:
script: yamllint -f auto .
stage: test
lint.markdown:
script: mdl .
deploy:
stage: test
script:
- helm upgrade ${APP_NAME} ./ --install --values=./values.yaml --namespace ${APP_NAME}
# rules:
# - if: $CI_COMMIT_BRANCH == 'master'
# when: always