Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 1 | stages: |
| 2 | - check |
| 3 | |
Matthias Benkard | fa1fdbe | 2023-01-10 17:47:28 +0000 | [diff] [blame] | 4 | image: docker.io/library/maven:3-eclipse-temurin-19-alpine |
Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 5 | |
| 6 | verify: |
| 7 | stage: check |
| 8 | script: |
Matthias Benkard | c9d0dd2 | 2023-01-09 18:41:19 +0000 | [diff] [blame] | 9 | - apk update |
| 10 | - apk add yarn |
Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 11 | - mvn verify |
| 12 | |
| 13 | sast: |
| 14 | stage: check |
| 15 | |
| 16 | cache: |
| 17 | key: $CI_JOB_NAME |
| 18 | paths: |
| 19 | - .m2/repository |
Matthias Andreas Benkard | a311d39 | 2023-01-14 10:21:59 +0100 | [diff] [blame] | 20 | - src/main/resources/META-INF/resources/.parcel-cache |
| 21 | - src/main/resources/META-INF/resources/node_modules |
Matthias Benkard | 42b1867 | 2023-01-09 09:50:57 +0000 | [diff] [blame] | 22 | |
| 23 | variables: |
| 24 | MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" |
| 25 | MAVEN_CLI_OPTS: "--batch-mode --errors" |
| 26 | |
| 27 | include: |
| 28 | - template: Security/SAST.gitlab-ci.yml |