Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
dfadb7e1f2 | |||
1932695c81 | |||
8f914cbf47 | |||
7b390fd1da | |||
0eb7a24dcd | |||
fe2452111e |
@ -2,23 +2,18 @@
|
|||||||
image: hosttoday/ht-docker-dbase:npmci
|
image: hosttoday/ht-docker-dbase:npmci
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
variables:
|
|
||||||
DOCKER_DRIVER: overlay
|
|
||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- buildAndTest
|
- buildAndTest
|
||||||
- build
|
|
||||||
- test
|
|
||||||
- release
|
|
||||||
- trigger
|
- trigger
|
||||||
- pages
|
- pages
|
||||||
|
- verify
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- yarn global add npmci
|
- yarn global add npmci
|
||||||
- npmci docker login
|
- npmci docker login
|
||||||
|
|
||||||
buildAndTest:
|
buildTest:
|
||||||
stage: buildAndTest
|
stage: buildAndTest
|
||||||
script:
|
script:
|
||||||
- npmci docker build
|
- npmci docker build
|
||||||
@ -30,37 +25,14 @@ buildAndTest:
|
|||||||
- lossless
|
- lossless
|
||||||
- priv
|
- priv
|
||||||
|
|
||||||
build:
|
buildTestRelase:
|
||||||
stage: build
|
stage: buildAndTest
|
||||||
script:
|
script:
|
||||||
- npmci docker build
|
- 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
|
- npmci docker test
|
||||||
only:
|
- npmci docker push registry.gitlab.com test
|
||||||
- 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
|
- npmci docker push registry.gitlab.com
|
||||||
|
- npmci docker push docker.io
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- triggers
|
- triggers
|
||||||
@ -95,3 +67,12 @@ pages:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
|
verify:
|
||||||
|
stage: trigger
|
||||||
|
script:
|
||||||
|
- npmci docker pull registry.gitlab.com test
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- docker
|
@ -1,4 +1,4 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:stable
|
||||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
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
|
@ -31,7 +31,6 @@ RUN npmci install [node_version_number] // this installs node using node and set
|
|||||||
* **:stable** - node stable version
|
* **:stable** - node stable version
|
||||||
* **:npmci** - npmci preinstalled
|
* **:npmci** - npmci preinstalled
|
||||||
* **:npmcijava - npmci + java
|
* **:npmcijava - npmci + java
|
||||||
* **:npmts** - npmci + npmts preinstalled
|
|
||||||
* **:npmpage** - npmci + npmts + npmpage preinstalled
|
* **:npmpage** - npmci + npmts + npmpage preinstalled
|
||||||
* **:mongo** - npmci + npmts + mongo
|
* **:mongo** - npmci + npmts + mongo
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "4.3.53",
|
"version": "4.3.56",
|
||||||
"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