mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 06:22:53 +00:00
ci: allow test job to fail
This commit is contained in:
@@ -10,7 +10,7 @@ stages:
|
|||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
build:build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
@@ -20,19 +20,28 @@ build:build:
|
|||||||
- lib
|
- lib
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
test:audit:
|
audit:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm install
|
|
||||||
- npm audit
|
- npm audit
|
||||||
|
allow_failure: true
|
||||||
|
except:
|
||||||
|
- schedules
|
||||||
|
|
||||||
test:mocha:
|
scheduled-audit:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- npm audit
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
|
|
||||||
|
mocha:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm test
|
- npm test
|
||||||
|
|
||||||
deploy:pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
@@ -44,10 +53,10 @@ deploy:pages:
|
|||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
deploy:image:
|
docker:
|
||||||
image: registry.gitlab.com/openstapps/projectmanagement/builder:latest
|
image: registry.gitlab.com/openstapps/projectmanagement/builder:latest
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:build
|
- build
|
||||||
stage: deploy
|
stage: deploy
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
|
|||||||
Reference in New Issue
Block a user