fix(core): update

This commit is contained in:
Philipp Kunz 2019-11-05 15:33:09 +01:00
parent ac357a2342
commit 81feeb6cbb
5 changed files with 84 additions and 58 deletions

6
.gitignore vendored
View File

@ -8,13 +8,15 @@ pages/
# installs # installs
node_modules/ node_modules/
# caches and builds # caches
.yarn/ .yarn/
.cache/ .cache/
.rpt2_cache
# builds
dist/ dist/
dist_web/ dist_web/
dist_serve/ dist_serve/
dist_ts_web/ dist_ts_web/
# custom # custom
code-server/

View File

@ -1,77 +1,69 @@
# gitzone docker # gitzone ci_docker
image: hosttoday/ht-docker-dbase:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
services:
- docker:dind
stages: cache:
- buildAndTest paths:
- triggerPagesVerify - .npmci-cache/
key: '$CI_BUILD_STAGE'
before_script: before_script:
- npm install -g @shipzone/npmci - npmci npm prepare
- npmci docker login
buildTest: stages:
stage: buildAndTest - test
- release
- trigger
- pages
testStable:
stage: test
script: script:
- npmci docker build - npmci npm prepare
- npmci docker test - npmci node install stable
except: - npmci npm install
- tags - npmci npm test
- triggers coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- lossless - lossless
- priv - docker
buildTestRelease: testBuild:
stage: buildAndTest stage: test
script: script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- 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 build
- npmci docker test - npmci docker test
- npmci docker push registry.gitlab.com test
- npmci docker push registry.gitlab.com - npmci docker push registry.gitlab.com
- npmci docker push docker.io
only: only:
- tags - tags
- triggers
tags: tags:
- lossless - lossless
- docker
- priv - priv
trigger: trigger:
stage: triggerPagesVerify stage: trigger
script: script:
- npmci trigger - npmci trigger
only: only:
- tags - tags
- triggers
tags: tags:
- lossless - lossless
- priv
pages:
stage: triggerPagesVerify
before_script:
- 'npmci -v'
image: hosttoday/ht-docker-node:npmci
script:
# - npmci command npm install -g npmpage
# - npmci command npmpage
- echo "nothing here yet until @gitzone/npmpage is ready!"
only:
- tags
tags:
- docker
artifacts:
expire_in: 1 week
paths:
- public
verify:
stage: triggerPagesVerify
script:
- npmci docker pull registry.gitlab.com test
only:
- tags
tags:
- docker - docker

13
npmextra.json Normal file
View File

@ -0,0 +1,13 @@
{
"gitzone": {
"module": {
"githost": "gitlab.com",
"gitscope": "hosttoday",
"gitrepo": "ht-docker-vscode",
"shortDescription": "a vscode image with everything installed needed to run a vscode instance",
"npmPackagename": "@hosttoday/ht-docker-vscode",
"license": "MIT"
}
},
"npmci": {}
}

View File

@ -17,5 +17,16 @@
"url": "https://github.com/HostToday/ht-docker-vscode/issues" "url": "https://github.com/HostToday/ht-docker-vscode/issues"
}, },
"homepage": "https://github.com/HostToday/ht-docker-vscode#readme", "homepage": "https://github.com/HostToday/ht-docker-vscode#readme",
"private": true "private": true,
"files": [
"ts/**/*",
"ts_web/**/*",
"dist/**/*",
"dist_web/**/*",
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
"npmextra.json",
"readme.md"
]
} }

View File

@ -18,9 +18,17 @@ a vscode image with everything installed needed to run a vscode instance
## Usage ## Usage
```
docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "$PWD:/home/coder/project" hosttoday/ht-docker-vscode
```
## Contribution
We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)
For further information read the linked docs at the top of this readme. For further information read the linked docs at the top of this readme.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
[![repo-footer](https://hosttoday.gitlab.io/assets/repo-footer.svg)](https://maintainedby.lossless.com) [![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com)