Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
27e5fc58e9 | |||
db0ed5024d | |||
3da93c3cad | |||
66ba2a6641 | |||
002707729d | |||
4733cb523e | |||
ebc7b3758f | |||
414c51b618 | |||
37681614de | |||
82185516e2 | |||
48bf7e135d | |||
4b0851c8a1 |
@ -7,6 +7,7 @@ variables:
|
|||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- buildAndTest
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- release
|
- release
|
||||||
@ -17,11 +18,25 @@ before_script:
|
|||||||
- yarn global add npmci
|
- yarn global add npmci
|
||||||
- npmci docker login
|
- npmci docker login
|
||||||
|
|
||||||
|
buildAndTest:
|
||||||
|
stage: buildAndTest
|
||||||
|
script:
|
||||||
|
- npmci docker build
|
||||||
|
- npmci docker test
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- lossless
|
||||||
|
- priv
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npmci docker build
|
- npmci docker build
|
||||||
- npmci docker push registry.gitlab.com test
|
- npmci docker push registry.gitlab.com test
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- triggers
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- lossless
|
||||||
- priv
|
- priv
|
||||||
@ -32,6 +47,9 @@ test:
|
|||||||
script:
|
script:
|
||||||
- npmci docker pull registry.gitlab.com test
|
- npmci docker pull registry.gitlab.com test
|
||||||
- npmci docker test
|
- npmci docker test
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- triggers
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- lossless
|
||||||
- priv
|
- priv
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
FROM hosttoday/ht-docker-node:npmci
|
|
||||||
RUN sudo bash -c "$(curl -fsSL https://s3.amazonaws.com/tools.nanobox.io/bootstrap/ci.sh)"
|
|
||||||
RUN nanobox config set ci-mode true
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "4.3.29",
|
"version": "4.3.35",
|
||||||
"description": "docker image with nodejs with shipzone.io support",
|
"description": "docker image with nodejs with shipzone.io support",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user