Fix issues with gitlab not caching/artifacting the correct things
This commit is contained in:
parent
ef24b49744
commit
c964a58afd
@ -6,8 +6,8 @@ variables:
|
|||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
OBJECTS_DIRECTORY: 'obj'
|
OBJECTS_DIRECTORY: 'obj'
|
||||||
NUGET_PACKAGES_DIRECTORY: '.nuget'
|
NUGET_PACKAGES_DIRECTORY: '.nuget'
|
||||||
SOURCE_CODE_PATH: 'ChaosBot/*/'
|
SOURCE_CODE_PATH: 'ChaosBot/'
|
||||||
NODE_MODULES_DIRECTORY: 'ChaosBot/wwwroot/node_modules'
|
NODE_MODULES_DIRECTORY: 'wwwroot/node_modules'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- version
|
- version
|
||||||
@ -30,7 +30,7 @@ cache:
|
|||||||
# 3) Path to the directory where restored dependencies are kept.
|
# 3) Path to the directory where restored dependencies are kept.
|
||||||
- '$NUGET_PACKAGES_DIRECTORY'
|
- '$NUGET_PACKAGES_DIRECTORY'
|
||||||
# 4) Path to node_modules
|
# 4) Path to node_modules
|
||||||
- '$NODE_MODULES_DIRECTORY'
|
- '$SOURCE_CODE_PATH$NODE_MODULES_DIRECTORY'
|
||||||
#
|
#
|
||||||
policy: pull-push
|
policy: pull-push
|
||||||
|
|
||||||
@ -129,7 +129,7 @@ tests_node:
|
|||||||
- 'yarn lint'
|
- 'yarn lint'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- wwwroot/dist/
|
- ChaosBot/wwwroot/dist/
|
||||||
|
|
||||||
release_node:
|
release_node:
|
||||||
image: node:latest
|
image: node:latest
|
||||||
@ -150,7 +150,7 @@ release_node:
|
|||||||
- 'yarn build'
|
- 'yarn build'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- wwwroot/dist/**
|
- ChaosBot/wwwroot/dist/**
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user