mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 14:32:50 +00:00
feat: add the uml generator
This commit is contained in:
@@ -21,6 +21,21 @@ build:
|
||||
paths:
|
||||
- lib
|
||||
|
||||
package:
|
||||
dependencies:
|
||||
- build
|
||||
tags:
|
||||
- secrecy
|
||||
stage: deploy
|
||||
script:
|
||||
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > /root/.npmrc
|
||||
- npm publish
|
||||
only:
|
||||
- /^v[0-9]+.[0-9]+.[0-9]+$/
|
||||
artifacts:
|
||||
paths:
|
||||
- lib
|
||||
|
||||
test:
|
||||
tags:
|
||||
- docker
|
||||
@@ -71,6 +86,18 @@ package:
|
||||
paths:
|
||||
- lib
|
||||
|
||||
uml:
|
||||
cache: {}
|
||||
dependencies:
|
||||
- build
|
||||
stage: test
|
||||
image: node:10
|
||||
services:
|
||||
- name: registry.gitlab.com/openstapps/core-tools:latest
|
||||
alias: plantuml
|
||||
script:
|
||||
- node lib/cli.js plantuml test/model http://plantuml:8080 --showProperties --showOptionalProperties --showInheritedProperties --showEnumValues --showAssociations --showInheritance --excludeExternals
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user