fix(core): update
This commit is contained in:
parent
ec9b9c379e
commit
11e654ee25
22
.gitignore
vendored
Normal file
22
.gitignore
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
.nogit/
|
||||||
|
|
||||||
|
# artifacts
|
||||||
|
coverage/
|
||||||
|
public/
|
||||||
|
pages/
|
||||||
|
|
||||||
|
# installs
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# caches
|
||||||
|
.yarn/
|
||||||
|
.cache/
|
||||||
|
.rpt2_cache
|
||||||
|
|
||||||
|
# builds
|
||||||
|
dist/
|
||||||
|
dist_web/
|
||||||
|
dist_serve/
|
||||||
|
dist_ts_web/
|
||||||
|
|
||||||
|
# custom
|
@ -1,63 +1,53 @@
|
|||||||
image: hosttoday/ht-docker-dbase
|
# gitzone ci_docker
|
||||||
services:
|
image: hosttoday/ht-docker-node:npmci
|
||||||
- docker:dind
|
|
||||||
|
|
||||||
stages:
|
cache:
|
||||||
- build
|
paths:
|
||||||
- test
|
- .npmci-cache/
|
||||||
- release
|
key: "$CI_BUILD_STAGE"
|
||||||
- trigger
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- npm config set unsafe-perm true
|
|
||||||
- npm install -g @shipzone/npmci
|
- npm install -g @shipzone/npmci
|
||||||
- npmci docker login
|
- npmci npm prepare
|
||||||
|
|
||||||
build:
|
stages:
|
||||||
stage: build
|
- test
|
||||||
script:
|
- release
|
||||||
- npmci docker build
|
- trigger
|
||||||
- npmci docker push registry.gitlab.com test
|
- pages
|
||||||
only:
|
|
||||||
- master
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
- lossless
|
|
||||||
- priv
|
|
||||||
|
|
||||||
test:
|
testSTABLE:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci docker pull registry.gitlab.com test
|
- npmci node install stable
|
||||||
- npmci docker test
|
- npmci npm install
|
||||||
only:
|
- npmci npm test
|
||||||
- master
|
coverage: /\d+.?\d+?\%\s*coverage/
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lossless
|
|
||||||
- priv
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
image: hosttoday/ht-docker-dbase:npmci
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
# Hi
|
- npmci node install stable
|
||||||
- npmci docker pull registry.gitlab.com test
|
- npmci docker login
|
||||||
- npmci docker push docker.io
|
- npmci docker build
|
||||||
- npmci docker push registry.gitlab.com
|
- npmci docker test
|
||||||
|
- npmci docker push registry.gitlab.com
|
||||||
only:
|
only:
|
||||||
- master
|
- tags
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lossless
|
- priv
|
||||||
- priv
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
stage: trigger
|
stage: trigger
|
||||||
script:
|
script:
|
||||||
- npmci trigger
|
- npmci trigger
|
||||||
only:
|
only:
|
||||||
- master
|
- tags
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- lossless
|
|
||||||
- priv
|
|
||||||
|
28
README.md
28
README.md
@ -1,8 +1,26 @@
|
|||||||
# ht-docker-dbase
|
# @hosttoday/ht-docker-dbase
|
||||||
easy CI for docker images
|
easy CI for docker images
|
||||||
|
|
||||||
this docker image
|
## Availabililty and Links
|
||||||
|
* [npmjs.org (npm package)](https://www.npmjs.com/package/@hosttoday/ht-docker-dbase)
|
||||||
|
* [gitlab.com (source)](https://gitlab.com/hosttoday/ht-docker-dbase)
|
||||||
|
* [github.com (source mirror)](https://github.com/hosttoday/ht-docker-dbase)
|
||||||
|
* [docs (typedoc)](https://hosttoday.gitlab.io/ht-docker-dbase/)
|
||||||
|
|
||||||
* has docker:git as base
|
## Status for master
|
||||||
* has node (stable) in PATH
|
[![build status](https://gitlab.com/hosttoday/ht-docker-dbase/badges/master/build.svg)](https://gitlab.com/hosttoday/ht-docker-dbase/commits/master)
|
||||||
* has npmci installed for easy docker builds
|
[![coverage report](https://gitlab.com/hosttoday/ht-docker-dbase/badges/master/coverage.svg)](https://gitlab.com/hosttoday/ht-docker-dbase/commits/master)
|
||||||
|
[![npm downloads per month](https://img.shields.io/npm/dm/@hosttoday/ht-docker-dbase.svg)](https://www.npmjs.com/package/@hosttoday/ht-docker-dbase)
|
||||||
|
[![Known Vulnerabilities](https://snyk.io/test/npm/@hosttoday/ht-docker-dbase/badge.svg)](https://snyk.io/test/npm/@hosttoday/ht-docker-dbase)
|
||||||
|
[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||||
|
[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
||||||
|
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
For further information read the linked docs at the top of this readme.
|
||||||
|
|
||||||
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||||
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
||||||
|
|
||||||
|
[![repo-footer](https://hosttoday.gitlab.io/assets/repo-footer.svg)](https://maintainedby.lossless.com)
|
||||||
|
@ -4,5 +4,15 @@
|
|||||||
"registry.gitlab.com",
|
"registry.gitlab.com",
|
||||||
"docker.io"
|
"docker.io"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"gitzone": {
|
||||||
|
"module": {
|
||||||
|
"githost": "gitlab.com",
|
||||||
|
"gitscope": "hosttoday",
|
||||||
|
"gitrepo": "ht-docker-dbase",
|
||||||
|
"shortDescription": "easy CI for docker images",
|
||||||
|
"npmPackagename": "@hosttoday/ht-docker-dbase",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
18
package.json
18
package.json
@ -7,7 +7,8 @@
|
|||||||
"test": "test"
|
"test": "test"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"build": "echo \"Not needed for now\""
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -18,5 +19,16 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://gitlab.com/hosttoday/ht-docker-dbase/issues"
|
"url": "https://gitlab.com/hosttoday/ht-docker-dbase/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/hosttoday/ht-docker-dbase#readme"
|
"homepage": "https://gitlab.com/hosttoday/ht-docker-dbase#readme",
|
||||||
}
|
"private": true,
|
||||||
|
"files": [
|
||||||
|
"ts/*",
|
||||||
|
"ts_web/*",
|
||||||
|
"dist/*",
|
||||||
|
"dist_web/*",
|
||||||
|
"assets/*",
|
||||||
|
"cli.js",
|
||||||
|
"npmextra.json",
|
||||||
|
"readme.md"
|
||||||
|
]
|
||||||
|
}
|
17
tslint.json
Normal file
17
tslint.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"extends": ["tslint:latest", "tslint-config-prettier"],
|
||||||
|
"rules": {
|
||||||
|
"semicolon": [true, "always"],
|
||||||
|
"no-console": false,
|
||||||
|
"ordered-imports": false,
|
||||||
|
"object-literal-sort-keys": false,
|
||||||
|
"member-ordering": {
|
||||||
|
"options":{
|
||||||
|
"order": [
|
||||||
|
"static-method"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"defaultSeverity": "warning"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user