summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 69f51ac339edf650156f8a357f9a4038f11729ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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