refactor(*): update templates
This commit is contained in:
parent
984a84ffe8
commit
3b6e1f65bd
@ -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'
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
.npm-e2e:
|
.npm-e2e:
|
||||||
image: $E2E_IMAGE
|
image: $NODE_E2E_IMAGE
|
||||||
stage: verify
|
stage: verify
|
||||||
before_script:
|
before_script:
|
||||||
- >
|
- >
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user