summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMatthias Benkard <code@mulk.eu>2023-02-04 11:00:03 +0000
committerMatthias Benkard <code@mulk.eu>2023-02-04 11:00:03 +0000
commit060ebc75b2398533d3d4ef8dc7ae0cf5808f1826 (patch)
tree26cfaee8acac1a52a94c61effe39417da7ac8969 /.gitlab-ci.yml
parent29fb1a302c1fdd0e30334781479890d290844699 (diff)
parenta311d3974db197e3f5c3c74c368b2fe3450e8f66 (diff)
Add GitLab CI pipeline (mulk/mulkcms2!4)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..69f51ac
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,28 @@
+stages:
+ - check
+
+image: docker.io/library/maven:3-eclipse-temurin-19-alpine
+
+verify:
+ stage: check
+ script:
+ - apk update
+ - apk add yarn
+ - mvn verify
+
+sast:
+ stage: check
+
+cache:
+ key: $CI_JOB_NAME
+ paths:
+ - .m2/repository
+ - src/main/resources/META-INF/resources/.parcel-cache
+ - src/main/resources/META-INF/resources/node_modules
+
+variables:
+ MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
+ MAVEN_CLI_OPTS: "--batch-mode --errors"
+
+include:
+ - template: Security/SAST.gitlab-ci.yml