feat: add the app

This commit is contained in:
Jovan Krunić
2018-12-11 22:11:50 +01:00
parent b4268b236f
commit 8b23159e67
129 changed files with 16359 additions and 1 deletions

View File

@@ -1,9 +1,12 @@
image: registry.gitlab.com/openstapps/projectmanagement/builder
image: registry.gitlab.com/openstapps/app
stages:
- setup
- build
- test
setup:
image: registry.gitlab.com/openstapps/projectmanagement/builder
stage: setup
only:
- schedules
@@ -18,3 +21,39 @@ setup:
- docker push registry.gitlab.com/openstapps/app
tags:
- docker
build:
stage: build
script:
- npm install
- npm run build
artifacts:
paths:
- node_modules
- www
tags:
- docker
unit:
stage: test
script:
- npm run test -- --watch=false --no-progress --code-coverage
artifacts:
paths:
- coverage
tags:
- docker
e2e:
stage: test
script:
- npm run e2e
tags:
- docker
audit:
stage: test
script:
- npm audit
tags:
- docker