refactor(*): update templates

This commit is contained in:
Alex Munoz 2022-07-04 21:50:59 +02:00 committed by Marcel Feix
parent 984a84ffe8
commit 3b6e1f65bd
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
3 changed files with 9 additions and 4 deletions

View File

@ -4,6 +4,7 @@ stages:
- verify - verify
include: include:
- '/templates/common/common-ci-variablen.gitlab-ci.yml'
- '/templates/npm/npm-dependencies.gitlab-ci.yml' - '/templates/npm/npm-dependencies.gitlab-ci.yml'
- '/templates/npm/npm-build.gitlab-ci.yml' - '/templates/npm/npm-build.gitlab-ci.yml'
- '/templates/npm/npm-test.gitlab-ci.yml' - '/templates/npm/npm-test.gitlab-ci.yml'
@ -11,7 +12,6 @@ include:
- '/templates/npm/npm-e2e.gitlab-ci.yml' - '/templates/npm/npm-e2e.gitlab-ci.yml'
variables: variables:
NODE_IMAGE: node:16.15-alpine
FRONTEND_DIR: '' FRONTEND_DIR: ''
FRONTEND_BUILD_DIR: 'dist' FRONTEND_BUILD_DIR: 'dist'

View File

@ -13,12 +13,12 @@ cache:
# Cache Maven # Cache Maven
- .m2/repository - .m2/repository
# Cache NPM # Cache NPM
- $FRONTEND_DIR/dist #- $FRONTEND_DIR/dist
# Cache Gradle # Cache Gradle
- .gradle - .gradle
- '**/build' - '**/build'
- "**/target" - "**/target"
- "**/node_modules" #- "**/node_modules"
variables: variables:
@ -28,6 +28,11 @@ variables:
value: node:16-alpine3.15 value: node:16-alpine3.15
description: The node image that will be used from the CI. description: The node image that will be used from the CI.
## Playwright Image
NODE_E2E_IMAGE:
value: mcr.microsoft.com/playwright:v1.23.1-focal
description: The image that will be used for E2E jobs.
##Global Variables we use in our CI scripts when using maven ##Global Variables we use in our CI scripts when using maven
MAVEN_IMAGE: MAVEN_IMAGE:
value: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-java-maven-base-image:java11-maven3.8.3_latest value: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-java-maven-base-image:java11-maven3.8.3_latest

View File

@ -1,5 +1,5 @@
.npm-e2e: .npm-e2e:
image: $E2E_IMAGE image: $NODE_E2E_IMAGE
stage: verify stage: verify
before_script: before_script:
- > - >