test schema
This commit is contained in:
parent
388ca2e50f
commit
5424096db2
1 changed files with 12 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
stages:
|
stages:
|
||||||
- first
|
|
||||||
- build_and_test
|
- build_and_test
|
||||||
- package
|
- package
|
||||||
- security
|
- security
|
||||||
|
@ -18,7 +17,7 @@ stages:
|
||||||
- npm install
|
- npm install
|
||||||
|
|
||||||
.clj-uploadjob: &clj
|
.clj-uploadjob: &clj
|
||||||
image: clojure:lein-2.7.1-alpine
|
image: domaindrivenarchitecture/lein
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
|
@ -38,6 +37,17 @@ test-clj:
|
||||||
script:
|
script:
|
||||||
- lein test
|
- lein test
|
||||||
|
|
||||||
|
test-schema:
|
||||||
|
<<: *clj
|
||||||
|
stage: build_and_test
|
||||||
|
script:
|
||||||
|
- lein uberjar
|
||||||
|
- java -jar target/uberjar/k8s-keycloak-standalone.jar valid-config.edn valid-auth.edn | kubeconform --kubernetes-version 1.19.0 --strict --skip Certificate -
|
||||||
|
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-keycloak-standalone.jar > target/uberjar/k8s-keycloak-standalone.jar.sha256
|
- sha256sum target/uberjar/k8s-keycloak-standalone.jar > target/uberjar/k8s-keycloak-standalone.jar.sha256
|
||||||
- sha512sum target/uberjar/k8s-keycloak-standalone.jar > target/uberjar/k8s-keycloak-standalone.jar.sha512
|
- sha512sum target/uberjar/k8s-keycloak-standalone.jar > target/uberjar/k8s-keycloak-standalone.jar.sha512
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Reference in a new issue