tsdocker/.gitlab-ci.yml

70 lines
945 B
YAML
Raw Normal View History

2017-03-28 23:04:25 +00:00
image: hosttoday/ht-docker-dbase:npmci
2016-07-29 01:05:01 +00:00
services:
- docker:dind
2016-07-13 21:17:24 +00:00
stages:
2017-10-07 14:48:44 +00:00
- mirror
2016-07-13 21:17:24 +00:00
- test
- release
2016-07-29 01:09:25 +00:00
- trigger
2017-04-02 12:51:38 +00:00
- pages
2016-07-13 21:17:24 +00:00
2017-10-07 14:48:44 +00:00
mirror:
image: hosttoday/ht-docker-node:npmci
stage: mirror
script:
- npmci git mirror
tags:
- docker
2016-07-28 22:54:25 +00:00
test:
2016-07-13 21:17:24 +00:00
stage: test
script:
2017-10-07 12:02:24 +00:00
- npmci node install stable
- npmci npm install
- npmci npm test
2016-07-13 21:17:24 +00:00
tags:
- docker
2016-07-28 22:55:11 +00:00
- lossless
- priv
2016-07-13 21:17:24 +00:00
release:
stage: release
2016-07-20 15:44:06 +00:00
environment: npmjs-com_registry
2016-07-13 21:17:24 +00:00
script:
2017-10-07 12:02:24 +00:00
- npmci npm prepare
- npmci npm publish
2016-07-13 21:17:24 +00:00
only:
- tags
tags:
- docker
2016-07-29 01:09:25 +00:00
- lossless
- priv
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker
- lossless
- priv
2017-04-02 12:51:38 +00:00
pages:
image: hosttoday/ht-docker-node:npmci
stage: pages
script:
- npmci command yarn global add npmpage
- npmci command npmpage
only:
- tags
tags:
- docker
artifacts:
expire_in: 1 week
paths:
- public