Compare commits

...

6 Commits

Author SHA1 Message Date
dfadb7e1f2 4.3.56 2018-04-10 13:45:01 +02:00
1932695c81 add verify step 2018-04-10 13:44:54 +02:00
8f914cbf47 4.3.55 2018-04-09 18:47:33 +02:00
7b390fd1da update ci to put less strain on network 2018-04-09 18:47:28 +02:00
0eb7a24dcd 4.3.54 2018-04-09 17:33:02 +02:00
fe2452111e update 2018-04-09 17:32:52 +02:00
4 changed files with 17 additions and 37 deletions

View File

@ -2,23 +2,18 @@
image: hosttoday/ht-docker-dbase:npmci
services:
- docker:dind
variables:
DOCKER_DRIVER: overlay
stages:
- buildAndTest
- build
- test
- release
- trigger
- pages
- verify
before_script:
- yarn global add npmci
- npmci docker login
buildAndTest:
buildTest:
stage: buildAndTest
script:
- npmci docker build
@ -30,37 +25,14 @@ buildAndTest:
- lossless
- priv
build:
stage: build
buildTestRelase:
stage: buildAndTest
script:
- npmci docker build
- npmci docker push registry.gitlab.com test
only:
- tags
- triggers
tags:
- lossless
- priv
test:
stage: test
script:
- npmci docker pull registry.gitlab.com test
- npmci docker test
only:
- tags
- triggers
tags:
- lossless
- priv
release:
stage: release
script:
- npmci docker pull registry.gitlab.com test
- npmci docker push docker.io
- npmci docker push registry.gitlab.com test
- npmci docker push registry.gitlab.com
- npmci docker push docker.io
only:
- tags
- triggers
@ -95,3 +67,12 @@ pages:
expire_in: 1 week
paths:
- public
verify:
stage: trigger
script:
- npmci docker pull registry.gitlab.com test
only:
- tags
tags:
- docker

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:stable
LABEL author="Lossless GmbH <office@lossless.com>"
RUN yarn global add npmci npmdocker npmts ts-node
RUN yarn global add npmci npmdocker @gitzone/npmts ts-node

View File

@ -31,7 +31,6 @@ RUN npmci install [node_version_number] // this installs node using node and set
* **:stable** - node stable version
* **:npmci** - npmci preinstalled
* **:npmcijava - npmci + java
* **:npmts** - npmci + npmts preinstalled
* **:npmpage** - npmci + npmts + npmpage preinstalled
* **:mongo** - npmci + npmts + mongo

View File

@ -1,6 +1,6 @@
{
"name": "ht-docker-node",
"version": "4.3.53",
"version": "4.3.56",
"description": "docker image with nodejs with shipzone.io support",
"main": "index.js",
"scripts": {