2016-06-14 06:49:13 +00:00
|
|
|
image: hosttoday/ht-docker-dbase
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
- release
|
|
|
|
- trigger
|
|
|
|
|
|
|
|
before_script:
|
2016-06-14 07:17:07 +00:00
|
|
|
- npmci prepare docker-gitlab
|
2016-06-14 06:49:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
script:
|
2016-06-15 22:44:12 +00:00
|
|
|
- npm install
|
2016-06-15 22:42:48 +00:00
|
|
|
- npm test
|
2016-06-14 06:49:13 +00:00
|
|
|
- npmci build docker
|
|
|
|
tags:
|
|
|
|
- lossless
|
|
|
|
- priv
|
|
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- npmci test docker
|
|
|
|
tags:
|
|
|
|
- lossless
|
|
|
|
- priv
|
|
|
|
|
|
|
|
release:
|
2016-06-14 07:26:54 +00:00
|
|
|
image: hosttoday/ht-docker-node:npmts
|
2016-06-14 06:49:13 +00:00
|
|
|
stage: release
|
|
|
|
script:
|
|
|
|
- npmci publish npm
|
|
|
|
only:
|
2016-06-15 22:53:26 +00:00
|
|
|
- tags
|
2016-06-14 06:49:13 +00:00
|
|
|
tags:
|
|
|
|
- lossless
|
|
|
|
- priv
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
stage: trigger
|
|
|
|
script:
|
|
|
|
- npmci trigger
|
|
|
|
only:
|
2016-06-16 00:41:17 +00:00
|
|
|
- tags
|
2016-06-14 06:49:13 +00:00
|
|
|
tags:
|
|
|
|
- lossless
|
|
|
|
- priv
|