Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fcd04415be | |||
| 1fd1899099 | |||
| 7df7f882d1 | |||
| 348b4d60fd |
@@ -3,7 +3,7 @@ image: hosttoday/ht-docker-node:npmci
|
|||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .yarn/
|
- .npmci_cache/
|
||||||
key: "$CI_BUILD_STAGE"
|
key: "$CI_BUILD_STAGE"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
@@ -26,8 +26,8 @@ mirror:
|
|||||||
snyk:
|
snyk:
|
||||||
stage: security
|
stage: security
|
||||||
script:
|
script:
|
||||||
- npmci command yarn global add snyk
|
- npmci command npm install -g snyk
|
||||||
- npmci command yarn install --ignore-scripts
|
- npmci command npm install --ignore-scripts
|
||||||
- npmci command snyk test
|
- npmci command snyk test
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
@@ -117,8 +117,9 @@ pages:
|
|||||||
image: hosttoday/ht-docker-node:npmci
|
image: hosttoday/ht-docker-node:npmci
|
||||||
stage: metadata
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
- npmci command yarn global add npmpage
|
- npmci command npm install -g typedoc typescript
|
||||||
- npmci command npmpage
|
- npmci npm install
|
||||||
|
- npmci command typedoc --module "commonjs" --target "ES2016" --out public/ ts/
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
@@ -128,3 +129,14 @@ pages:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
windowsCompatibility:
|
||||||
|
image: stefanscherer/node-windows:10-build-tools
|
||||||
|
stage: metadata
|
||||||
|
script:
|
||||||
|
- npm install & npm test
|
||||||
|
coverage: /\d+.?\d+?\%\s*coverage/
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
|
allow_failure: true
|
||||||
|
|||||||
12
.snyk
12
.snyk
@@ -6,19 +6,19 @@ ignore:
|
|||||||
- shelljs:
|
- shelljs:
|
||||||
reason: None given
|
reason: None given
|
||||||
expires: '2018-06-02T22:48:10.660Z'
|
expires: '2018-06-02T22:48:10.660Z'
|
||||||
smartshell > shelljs:
|
|
||||||
reason: None given
|
|
||||||
expires: '2018-08-14T21:49:25.248Z'
|
|
||||||
- smartshell > shelljs:
|
- smartshell > shelljs:
|
||||||
reason: None given
|
reason: None given
|
||||||
expires: '2018-06-02T22:48:10.660Z'
|
expires: '2018-06-02T22:48:10.660Z'
|
||||||
smartssh > shelljs:
|
- smartssh > shelljs:
|
||||||
|
reason: None given
|
||||||
|
expires: '2018-06-02T22:48:10.660Z'
|
||||||
|
- smartshell > shelljs:
|
||||||
reason: None given
|
reason: None given
|
||||||
expires: '2018-08-14T21:49:25.248Z'
|
expires: '2018-08-14T21:49:25.248Z'
|
||||||
- smartssh > shelljs:
|
- smartssh > shelljs:
|
||||||
reason: None given
|
reason: None given
|
||||||
expires: '2018-06-02T22:48:10.660Z'
|
expires: '2018-08-14T21:49:25.248Z'
|
||||||
shelljs:
|
- shelljs:
|
||||||
reason: None given
|
reason: None given
|
||||||
expires: '2018-08-14T21:49:25.248Z'
|
expires: '2018-08-14T21:49:25.248Z'
|
||||||
'npm:stringstream:20180511':
|
'npm:stringstream:20180511':
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.0.54",
|
"version": "3.0.56",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.0.54",
|
"version": "3.0.56",
|
||||||
"description": "node and docker in gitlab ci on steroids",
|
"description": "node and docker in gitlab ci on steroids",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ npmci is designed to work in docker CI environments. The following docker images
|
|||||||
|
|
||||||
Docker Hub:
|
Docker Hub:
|
||||||
|
|
||||||
* [hosttoday/ht-docker-node:npmci](https://hub.docker.com/r/hosttoday/ht-docker-node/)
|
- [hosttoday/ht-docker-node:npmci](https://hub.docker.com/r/hosttoday/ht-docker-node/)
|
||||||
has LTS node version and npmci preinstalled.
|
has LTS node version and npmci preinstalled.
|
||||||
* [hosttoday/ht-docker-dbase](https://hub.docker.com/r/hosttoday/ht-docker-dbase/)
|
- [hosttoday/ht-docker-dbase](https://hub.docker.com/r/hosttoday/ht-docker-dbase/)
|
||||||
based on docker:git, can be used to build docker images in conjunction with docker:dind
|
based on docker:git, can be used to build docker images in conjunction with docker:dind
|
||||||
|
|
||||||
npmci can be called from commandline and handle a lot of tasks durug ci:
|
npmci can be called from commandline and handle a lot of tasks durug ci:
|
||||||
@@ -71,7 +71,7 @@ npmci publish npm # will look vor $NPMCI_TOKEN_NPM env var and push any module i
|
|||||||
npmci publish docker
|
npmci publish docker
|
||||||
|
|
||||||
# trigger webhooks
|
# trigger webhooks
|
||||||
npmci trigger # will look for NPMCI_TRIGGER_1 to NPMCI_TRIGGER_100 in form domain|id|token|ref|name
|
npmci trigger # will look for NPMCI_TRIGGER_1 to NPMCI_TRIGGER_100 in form domain|id|token|ref|name
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user