2017-04-30 16:22:34 +00:00
|
|
|
# gitzone standard
|
2016-08-30 21:18:04 +00:00
|
|
|
image: hosttoday/ht-docker-node:npmci
|
2016-05-26 19:18:14 +00:00
|
|
|
|
2017-04-30 16:22:34 +00:00
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- .yarn/
|
|
|
|
key: "$CI_BUILD_STAGE"
|
|
|
|
|
2016-05-26 19:18:14 +00:00
|
|
|
stages:
|
2017-09-13 15:47:30 +00:00
|
|
|
- mirror
|
2016-05-26 19:18:14 +00:00
|
|
|
- test
|
|
|
|
- release
|
2016-06-09 22:55:29 +00:00
|
|
|
- trigger
|
2016-08-30 21:18:04 +00:00
|
|
|
- pages
|
2016-05-26 19:18:14 +00:00
|
|
|
|
2017-09-13 15:47:30 +00:00
|
|
|
mirror:
|
|
|
|
image: hosttoday/ht-docker-node:npmci
|
|
|
|
stage: mirror
|
|
|
|
script:
|
|
|
|
- npmci git mirror
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
|
2016-06-03 14:46:10 +00:00
|
|
|
testLEGACY:
|
|
|
|
stage: test
|
|
|
|
script:
|
2017-08-29 14:17:46 +00:00
|
|
|
- npmci node install legacy
|
|
|
|
- npmci npm install
|
|
|
|
- npmci npm test
|
2017-04-30 16:22:34 +00:00
|
|
|
coverage: /\d+.?\d+?\%\s*coverage/
|
2016-06-03 14:46:10 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
2016-06-07 07:02:58 +00:00
|
|
|
allow_failure: true
|
2016-06-03 14:46:10 +00:00
|
|
|
|
2016-05-26 19:18:14 +00:00
|
|
|
testLTS:
|
|
|
|
stage: test
|
|
|
|
script:
|
2017-08-29 14:17:46 +00:00
|
|
|
- npmci node install lts
|
|
|
|
- npmci npm install
|
|
|
|
- npmci npm test
|
2017-04-30 16:22:34 +00:00
|
|
|
coverage: /\d+.?\d+?\%\s*coverage/
|
2016-05-26 19:18:14 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
testSTABLE:
|
|
|
|
stage: test
|
|
|
|
script:
|
2017-08-29 14:17:46 +00:00
|
|
|
- npmci node install stable
|
|
|
|
- npmci npm install
|
|
|
|
- npmci npm test
|
2017-04-30 16:22:34 +00:00
|
|
|
coverage: /\d+.?\d+?\%\s*coverage/
|
2016-05-26 19:18:14 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
release:
|
|
|
|
stage: release
|
|
|
|
script:
|
2017-08-29 14:17:46 +00:00
|
|
|
- npmci npm prepare
|
|
|
|
- npmci npm publish
|
2016-05-26 19:18:14 +00:00
|
|
|
only:
|
2016-05-29 19:04:44 +00:00
|
|
|
- tags
|
2016-05-26 19:18:14 +00:00
|
|
|
tags:
|
2016-05-30 05:05:17 +00:00
|
|
|
- docker
|
2016-06-09 22:55:29 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
stage: trigger
|
|
|
|
script:
|
|
|
|
- npmci trigger
|
|
|
|
only:
|
|
|
|
- tags
|
|
|
|
tags:
|
|
|
|
- docker
|
2016-08-30 21:18:04 +00:00
|
|
|
|
|
|
|
pages:
|
2017-04-01 18:58:23 +00:00
|
|
|
image: hosttoday/ht-docker-node:npmci
|
2016-08-30 21:18:04 +00:00
|
|
|
stage: pages
|
|
|
|
script:
|
2017-04-01 19:02:47 +00:00
|
|
|
- npmci command yarn global add npmpage
|
2017-04-30 16:22:34 +00:00
|
|
|
- npmci command npmpage --publish gitlab
|
2017-03-31 15:02:19 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
2017-04-30 16:22:34 +00:00
|
|
|
only:
|
|
|
|
- tags
|
2016-08-30 21:18:04 +00:00
|
|
|
artifacts:
|
|
|
|
expire_in: 1 week
|
|
|
|
paths:
|
2016-08-31 11:02:10 +00:00
|
|
|
- public
|