Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
27e5fc58e9 | |||
db0ed5024d | |||
3da93c3cad | |||
66ba2a6641 | |||
002707729d | |||
4733cb523e | |||
ebc7b3758f | |||
414c51b618 | |||
37681614de | |||
82185516e2 | |||
48bf7e135d | |||
4b0851c8a1 | |||
9c48d3e7ec | |||
7945303e9f | |||
2d11efdcf9 | |||
5100b6b3b1 | |||
a8da4d3fd4 | |||
2fd11c91a0 | |||
46a0413e94 | |||
a0c9a52ec7 | |||
71d9d06ddd |
@ -7,6 +7,7 @@ variables:
|
|||||||
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- buildAndTest
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- release
|
- release
|
||||||
@ -15,13 +16,27 @@ stages:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- yarn global add npmci
|
- yarn global add npmci
|
||||||
- npmci docker prepare
|
- 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
|
||||||
@ -41,6 +59,7 @@ release:
|
|||||||
script:
|
script:
|
||||||
- npmci docker pull registry.gitlab.com test
|
- npmci docker pull registry.gitlab.com test
|
||||||
- npmci docker push docker.io
|
- npmci docker push docker.io
|
||||||
|
- npmci docker push registry.gitlab.com
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- triggers
|
- triggers
|
||||||
|
@ -14,11 +14,14 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
|
g++ \
|
||||||
|
gcc \
|
||||||
git \
|
git \
|
||||||
ssh \
|
make \
|
||||||
openssl \
|
openssl \
|
||||||
python \
|
python \
|
||||||
rsync \
|
rsync \
|
||||||
|
ssh \
|
||||||
wget \
|
wget \
|
||||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "4.3.24",
|
"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