docker/.gitlab-ci.yml

54 lines
686 B
YAML
Raw Normal View History

2016-07-28 17:38:26 +00:00
image: hosttoday/ht-docker-dbase:npmts
2016-06-14 06:49:13 +00:00
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:
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:
image: hosttoday/ht-docker-node:npmts
2016-06-14 06:49:13 +00:00
stage: trigger
script:
- npmci trigger
only:
- tags
2016-06-14 06:49:13 +00:00
tags:
- lossless
- priv