2017-04-02 22:02:16 +02:00
|
|
|
# gitzone docker
|
2016-11-18 00:54:35 +01:00
|
|
|
image: hosttoday/ht-docker-dbase:latest
|
2016-05-30 14:46:00 +00:00
|
|
|
services:
|
|
|
|
- docker:dind
|
2016-05-30 13:22:51 +00:00
|
|
|
|
|
|
|
stages:
|
2016-06-04 03:01:23 +02:00
|
|
|
- build
|
2016-05-30 14:46:00 +00:00
|
|
|
- test
|
|
|
|
- release
|
2016-06-05 04:36:03 +00:00
|
|
|
- trigger
|
2017-04-02 22:02:16 +02:00
|
|
|
- pages
|
2016-05-30 13:22:51 +00:00
|
|
|
|
|
|
|
before_script:
|
2016-06-02 17:08:12 +00:00
|
|
|
- npm uninstall -g npmci
|
|
|
|
- npm install -g npmci
|
2016-06-02 15:46:40 +00:00
|
|
|
- npmci prepare docker
|
2016-05-30 13:22:51 +00:00
|
|
|
|
2016-06-04 03:01:23 +02:00
|
|
|
|
2016-06-05 05:07:38 +00:00
|
|
|
build:
|
2016-06-04 03:03:00 +02:00
|
|
|
stage: build
|
2016-06-04 03:01:23 +02:00
|
|
|
script:
|
2016-06-05 05:07:38 +00:00
|
|
|
- npmci build docker
|
2016-06-04 03:01:23 +02:00
|
|
|
tags:
|
2016-06-04 22:16:58 +00:00
|
|
|
- lossless
|
2016-06-13 13:06:55 +00:00
|
|
|
- priv
|
2016-06-04 03:01:23 +02:00
|
|
|
|
|
|
|
|
2016-05-30 13:22:51 +00:00
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
script:
|
2016-06-07 04:45:08 +02:00
|
|
|
- npmci test docker
|
2016-05-30 13:22:51 +00:00
|
|
|
tags:
|
2016-06-04 22:16:58 +00:00
|
|
|
- lossless
|
2016-06-13 13:06:55 +00:00
|
|
|
- priv
|
2016-05-30 13:22:51 +00:00
|
|
|
|
|
|
|
release:
|
|
|
|
stage: release
|
|
|
|
script:
|
2016-06-07 04:45:08 +02:00
|
|
|
- npmci publish docker
|
2016-05-30 13:22:51 +00:00
|
|
|
only:
|
2016-08-31 00:15:38 +02:00
|
|
|
- tags
|
2016-08-31 12:40:13 +02:00
|
|
|
- triggers
|
2016-06-05 04:36:03 +00:00
|
|
|
tags:
|
|
|
|
- lossless
|
2016-06-13 13:06:55 +00:00
|
|
|
- priv
|
2016-06-05 04:36:03 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
stage: trigger
|
|
|
|
script:
|
|
|
|
- npmci trigger
|
|
|
|
only:
|
2016-08-31 00:15:38 +02:00
|
|
|
- tags
|
2016-08-31 12:40:13 +02:00
|
|
|
- triggers
|
2016-05-30 13:22:51 +00:00
|
|
|
tags:
|
2016-06-13 13:06:55 +00:00
|
|
|
- lossless
|
|
|
|
- priv
|
2017-04-02 22:02:16 +02:00
|
|
|
|
|
|
|
pages:
|
2017-04-02 23:00:10 +02:00
|
|
|
before_script:
|
|
|
|
- 'npmci -v'
|
2017-04-02 22:02:16 +02:00
|
|
|
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
|