tsdocker/.gitlab-ci.yml

57 lines
735 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:
- 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
2016-07-28 22:54:25 +00:00
test:
2016-07-13 21:17:24 +00:00
stage: test
script:
2017-03-28 23:04:25 +00:00
- npmci test stable
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:
- npmci publish
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