refactor(*): update templates
This commit is contained in:
parent
984a84ffe8
commit
3b6e1f65bd
@ -4,6 +4,7 @@ stages:
|
||||
- verify
|
||||
|
||||
include:
|
||||
- '/templates/common/common-ci-variablen.gitlab-ci.yml'
|
||||
- '/templates/npm/npm-dependencies.gitlab-ci.yml'
|
||||
- '/templates/npm/npm-build.gitlab-ci.yml'
|
||||
- '/templates/npm/npm-test.gitlab-ci.yml'
|
||||
@ -11,7 +12,6 @@ include:
|
||||
- '/templates/npm/npm-e2e.gitlab-ci.yml'
|
||||
|
||||
variables:
|
||||
NODE_IMAGE: node:16.15-alpine
|
||||
FRONTEND_DIR: ''
|
||||
FRONTEND_BUILD_DIR: 'dist'
|
||||
|
||||
|
||||
@ -13,12 +13,12 @@ cache:
|
||||
# Cache Maven
|
||||
- .m2/repository
|
||||
# Cache NPM
|
||||
- $FRONTEND_DIR/dist
|
||||
#- $FRONTEND_DIR/dist
|
||||
# Cache Gradle
|
||||
- .gradle
|
||||
- '**/build'
|
||||
- "**/target"
|
||||
- "**/node_modules"
|
||||
#- "**/node_modules"
|
||||
|
||||
|
||||
variables:
|
||||
@ -28,6 +28,11 @@ variables:
|
||||
value: node:16-alpine3.15
|
||||
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
|
||||
MAVEN_IMAGE:
|
||||
value: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-java-maven-base-image:java11-maven3.8.3_latest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
.npm-e2e:
|
||||
image: $E2E_IMAGE
|
||||
image: $NODE_E2E_IMAGE
|
||||
stage: verify
|
||||
before_script:
|
||||
- >
|
||||
|
||||
Loading…
Reference in New Issue
Block a user