Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
edd645a222 | |||
bf3972cf55 | |||
3b581d1e11 | |||
d4f83ecdda | |||
b369197763 | |||
52cde0c4d9 | |||
e118fab8c6 | |||
b6fe7e1b36 | |||
9b264755ab | |||
11d6f9a1ec | |||
fecbcdde64 |
@ -7,7 +7,6 @@ cache:
|
||||
key: "$CI_BUILD_STAGE"
|
||||
|
||||
before_script:
|
||||
- npm install -g @shipzone/npmci
|
||||
- npmci npm prepare
|
||||
|
||||
stages:
|
||||
@ -16,10 +15,10 @@ stages:
|
||||
- trigger
|
||||
- pages
|
||||
|
||||
testSTABLE:
|
||||
testLTS:
|
||||
stage: test
|
||||
script:
|
||||
- npmci node install stable
|
||||
- npmci node install lts
|
||||
- npmci npm install
|
||||
- npmci npm test
|
||||
coverage: /\d+.?\d+?\%\s*coverage/
|
||||
@ -27,12 +26,12 @@ testSTABLE:
|
||||
- docker
|
||||
|
||||
release:
|
||||
image: hosttoday/ht-docker-dbase:npmci
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
|
||||
services:
|
||||
- docker:dind
|
||||
stage: release
|
||||
script:
|
||||
- npmci node install stable
|
||||
- npmci node install lts
|
||||
- npmci docker login
|
||||
- npmci docker build
|
||||
- npmci docker test
|
||||
|
@ -3,7 +3,7 @@ LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
WORKDIR /workspace
|
||||
# important environment variables
|
||||
ENV NODE_VERSION_LTS="10.16.0" NODE_VERSION_STABLE="12.4.0" NVM_DIR="/usr/local/nvm"
|
||||
ENV NODE_VERSION_LTS="10.16.3" NODE_VERSION_STABLE="12.8.1" NVM_DIR="/usr/local/nvm"
|
||||
|
||||
# Set debconf to run non-interactively and install packages
|
||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||
|
@ -1,4 +1,5 @@
|
||||
FROM hosttoday/ht-docker-node:latest as stage1
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends qemu-user-static binfmt-support
|
||||
# the following lines need to be run on a system that supports both architectures
|
||||
# update-binfmts --enable qemu-arm \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM hosttoday/ht-docker-node:stable
|
||||
FROM hosttoday/ht-docker-node:lts
|
||||
LABEL author="Lossless GmbH <hello@lossless.com>"
|
||||
|
||||
RUN npm install -g @shipzone/npmci @gitzone/tsdocker @gitzone/tsrun
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ht-docker-node",
|
||||
"version": "5.0.26",
|
||||
"version": "5.0.32",
|
||||
"description": "docker image with nodejs and shipzone.io support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -23,6 +23,7 @@
|
||||
"ts_web/*",
|
||||
"dist/*",
|
||||
"dist_web/*",
|
||||
"dist_ts_web/*",
|
||||
"assets/*",
|
||||
"cli.js",
|
||||
"npmextra.json",
|
||||
|
Reference in New Issue
Block a user