fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-20 15:43:06 +02:00
parent 9e16c8e1d5
commit 7eceec8249
3 changed files with 89 additions and 0 deletions

65
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,65 @@
# gitzone ci_docker
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
cache:
paths:
- .npmci-cache/
key: "$CI_BUILD_STAGE"
before_script:
- npmci npm prepare
stages:
- test
- release
- trigger
- pages
testStable:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
release:
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
services:
- docker:stable-dind
stage: release
script:
- npmci node install stable
- npmci docker login
- npmci docker build
- npmci docker test
- npmci docker push registry.gitlab.com
only:
- tags
tags:
- docker
- priv
trigger:
stage: trigger
script:
- npmci trigger
only:
- tags
tags:
- docker

5
package-lock.json generated Normal file
View File

@ -0,0 +1,5 @@
{
"name": "ht-docker-static",
"version": "1.0.0",
"lockfileVersion": 1
}

19
package.json Normal file
View File

@ -0,0 +1,19 @@
{
"name": "ht-docker-static",
"version": "1.0.0",
"description": "## Status",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/hosttoday/ht-docker-static.git"
},
"author": "Lossless GmbH",
"license": "MIT",
"bugs": {
"url": "https://gitlab.com/hosttoday/ht-docker-static/issues"
},
"homepage": "https://gitlab.com/hosttoday/ht-docker-static#readme"
}