Compare commits

...

34 Commits

Author SHA1 Message Date
6b74db9326 1.0.23 2019-10-02 11:41:35 +02:00
874740924d 1.0.22 2019-09-01 15:16:12 +02:00
038867c450 1.0.21 2019-09-01 13:59:36 +02:00
690b683723 1.0.20 2019-08-31 14:25:24 +02:00
4f7fb662f1 1.0.19 2019-08-27 18:14:17 +02:00
563425d7c4 fix(core): update 2019-08-27 18:14:17 +02:00
29404533c6 1.0.18 2019-08-27 18:12:23 +02:00
26f0a6a26b fix(core): update 2019-08-27 18:12:23 +02:00
3c8c51c8a0 1.0.17 2019-08-27 18:10:04 +02:00
cf23013036 fix(core): update 2019-08-27 18:10:04 +02:00
98f7a8fd65 1.0.16 2019-08-27 18:09:16 +02:00
bdc3a7b093 fix(core): update 2019-08-27 18:09:16 +02:00
e5eca3c967 1.0.15 2019-08-27 18:07:27 +02:00
63de7e6388 fix(core): update 2019-08-27 18:07:26 +02:00
413bea2579 1.0.14 2019-08-27 18:06:53 +02:00
71490f8d8e fix(core): update 2019-08-27 18:06:53 +02:00
3ca85c4c31 1.0.13 2019-08-27 18:04:36 +02:00
44226c3c53 fix(core): update 2019-08-27 18:04:36 +02:00
09b0bfa4ce 1.0.12 2019-08-27 18:03:34 +02:00
cb23895d0c fix(core): update 2019-08-27 18:03:34 +02:00
16dca34c6d 1.0.11 2019-08-27 17:57:38 +02:00
13ff525fd2 fix(core): update 2019-08-27 17:57:38 +02:00
bd18aa1aac 1.0.10 2019-08-27 17:56:33 +02:00
6c21042373 fix(core): update 2019-08-27 17:56:33 +02:00
99c16ce1f2 1.0.9 2019-08-27 17:47:10 +02:00
f30e0afdcd fix(core): update 2019-08-27 17:47:10 +02:00
9fb74ed327 1.0.8 2019-06-19 12:02:40 +02:00
ab7b4a2fed fix(core): update 2019-06-19 12:02:40 +02:00
c4fbdb4546 1.0.7 2019-06-19 11:55:13 +02:00
71a20b93b4 fix(core): update 2019-06-19 11:55:12 +02:00
035d5fa833 1.0.6 2019-06-19 11:47:49 +02:00
11e654ee25 fix(core): update 2019-06-19 11:47:48 +02:00
ec9b9c379e 1.0.5 2019-06-19 11:44:54 +02:00
2fd9914552 fix(core): update 2019-06-19 11:44:53 +02:00
8 changed files with 141 additions and 53 deletions

22
.gitignore vendored Normal file
View 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

View File

@ -1,63 +1,58 @@
image: hosttoday/ht-docker-dbase
# gitzone custom
image: docker:19.03.1
services:
- docker:dind
stages:
- build
- test
- release
- trigger
- docker:stable-dind
before_script:
- npm config set unsafe-perm true
- npm install -g @shipzone/npmci
- npmci docker login
- apk update
- apk add --no-cache git openssl ca-certificates bash curl
- apk add --no-cache make gcc g++ python linux-headers paxctl
- apk add --no-cache libgcc libstdc++ gnupg nodejs nodejs-npm
- update-ca-certificates
- npm config set unsafe-perm true
- npm install -g @shipzone/npmci
- npmci npm prepare
build:
stage: build
script:
- npmci docker build
- npmci docker push registry.gitlab.com test
only:
- master
tags:
- docker
- lossless
- priv
stages:
- test
- release
- trigger
- pages
test:
testSTABLE:
stage: test
script:
- npmci docker pull registry.gitlab.com test
- npmci docker test
only:
- master
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- lossless
- priv
- docker
- lossless
- priv
release:
stage: release
script:
# Hi
- npmci docker pull registry.gitlab.com test
- npmci docker push docker.io
- npmci docker push registry.gitlab.com
- npmci node install stable
- npmci docker login
- npmci docker build
- npmci docker test
- npmci docker push
only:
- master
- tags
tags:
- docker
- lossless
- priv
- docker
- lossless
- priv
trigger:
stage: trigger
script:
- npmci trigger
- npmci trigger
only:
- master
- tags
tags:
- docker
- lossless
- priv
- docker
- lossless
- priv

View File

@ -1,6 +1,7 @@
FROM docker:git
FROM docker:19.03.1
RUN apk update && apk add --no-cache \
git \
openssl \
ca-certificates \
bash \

View File

@ -1,8 +1,26 @@
# ht-docker-dbase
# @hosttoday/ht-docker-dbase
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
* has node (stable) in PATH
* has npmci installed for easy docker builds
## Status for master
[![build status](https://gitlab.com/hosttoday/ht-docker-dbase/badges/master/build.svg)](https://gitlab.com/hosttoday/ht-docker-dbase/commits/master)
[![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)

18
npmextra.json Normal file
View File

@ -0,0 +1,18 @@
{
"npmci": {
"dockerRegistries": [
"registry.gitlab.com",
"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"
}
}
}

5
package-lock.json generated Normal file
View File

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

View File

@ -1,13 +1,14 @@
{
"name": "ht-docker-dbase",
"version": "1.0.4",
"version": "1.0.23",
"description": "easy CI for docker images",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\"",
"build": "echo \"Not needed for now\""
},
"repository": {
"type": "git",
@ -18,5 +19,16 @@
"bugs": {
"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
View 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"
}