2016-06-05 22:06:13 +00:00
|
|
|
image: hosttoday/ht-docker-dbase
|
2016-06-02 11:59:58 +00:00
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
stages:
|
2016-06-07 14:10:08 +00:00
|
|
|
- build
|
|
|
|
- test
|
2016-06-02 11:59:58 +00:00
|
|
|
- release
|
2016-06-07 21:26:09 +00:00
|
|
|
- trigger
|
2016-06-02 11:59:58 +00:00
|
|
|
|
|
|
|
before_script:
|
2016-06-08 17:23:20 +00:00
|
|
|
- npm uninstall -g npmci
|
|
|
|
- npm install -g npmci
|
2016-06-07 21:39:07 +00:00
|
|
|
- npmci prepare docker
|
2016-06-02 11:59:58 +00:00
|
|
|
|
2016-06-07 14:10:08 +00:00
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- npmci build docker
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
- lossless
|
2016-06-13 13:08:42 +00:00
|
|
|
- priv
|
2016-06-07 14:10:08 +00:00
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- npmci test docker
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
- lossless
|
2016-06-13 13:08:42 +00:00
|
|
|
- priv
|
2016-06-07 14:10:08 +00:00
|
|
|
|
2016-06-02 11:59:58 +00:00
|
|
|
release:
|
|
|
|
stage: release
|
|
|
|
script:
|
2016-06-07 14:10:08 +00:00
|
|
|
- npmci publish docker
|
2016-06-02 11:59:58 +00:00
|
|
|
only:
|
|
|
|
- master
|
2016-06-07 21:26:09 +00:00
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
- lossless
|
2016-06-13 13:08:42 +00:00
|
|
|
- priv
|
2016-06-07 21:26:09 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
stage: trigger
|
|
|
|
script:
|
|
|
|
- npmci trigger
|
|
|
|
only:
|
|
|
|
- master
|
2016-06-02 11:59:58 +00:00
|
|
|
tags:
|
2016-06-05 03:25:53 +00:00
|
|
|
- docker
|
2016-06-13 13:08:42 +00:00
|
|
|
- lossless
|
|
|
|
- priv
|