use dryrun instead of kubeval
This commit is contained in:
parent
c43f354009
commit
65b70122f1
1 changed files with 10 additions and 1 deletions
|
@ -38,6 +38,16 @@ test-clj:
|
||||||
script:
|
script:
|
||||||
- lein test
|
- lein test
|
||||||
|
|
||||||
|
test-schema:
|
||||||
|
<<: *clj
|
||||||
|
stage: build_and_test
|
||||||
|
script:
|
||||||
|
- lein uberjar
|
||||||
|
- java -jar target/uberjar/k8s-mastodon-bot-standalone.jar valid-config.edn valid-auth.edn | kubectl apply --dry-run=client -f -
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- target/uberjar
|
||||||
|
|
||||||
report-frontend:
|
report-frontend:
|
||||||
<<: *cljs
|
<<: *cljs
|
||||||
stage: package
|
stage: package
|
||||||
|
@ -65,7 +75,6 @@ package-uberjar:
|
||||||
<<: *clj
|
<<: *clj
|
||||||
stage: package
|
stage: package
|
||||||
script:
|
script:
|
||||||
- lein uberjar
|
|
||||||
- sha256sum target/uberjar/k8s-mastodon-bot-standalone.jar > target/uberjar/k8s-mastodon-bot-standalone.jar.sha256
|
- sha256sum target/uberjar/k8s-mastodon-bot-standalone.jar > target/uberjar/k8s-mastodon-bot-standalone.jar.sha256
|
||||||
- sha512sum target/uberjar/k8s-mastodon-bot-standalone.jar > target/uberjar/k8s-mastodon-bot-standalone.jar.sha512
|
- sha512sum target/uberjar/k8s-mastodon-bot-standalone.jar > target/uberjar/k8s-mastodon-bot-standalone.jar.sha512
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue