fix tests
This commit is contained in:
parent
12e2509f0c
commit
16984d811f
19
docs/ssh.md
Normal file
19
docs/ssh.md
Normal file
@ -0,0 +1,19 @@
|
||||
# SSH
|
||||
npmci allows easy usage of ssh:
|
||||
|
||||
## Add the SSH KEY to the environment
|
||||
|
||||
To make npmci aware of any SSH KEY add it to the environment in the following format
|
||||
```
|
||||
# Key
|
||||
NPMCI_SSHKEY_[A_NAME_FROM_YOU]
|
||||
# Value:
|
||||
[targeted host]|[privatekey as base64]|***
|
||||
```
|
||||
|
||||
## Use npmci cli tool in your ci script
|
||||
```
|
||||
npmci prepare ssh
|
||||
npmci command git remote add heroku ssh://git@heroku.com/[you project name].git
|
||||
npmci command git push heroku master
|
||||
```
|
12
test/test.ts
12
test/test.ts
@ -10,12 +10,12 @@ process.cwd = () => {
|
||||
}
|
||||
|
||||
// require NPMCI files
|
||||
import '../dist/index'
|
||||
import NpmciBuildDocker = require('../dist/mod_docker/index')
|
||||
import NpmciPublish = require('../dist/mod_publish/index')
|
||||
import NpmciTest = require('../dist/mod_test/index')
|
||||
import NpmciSsh = require('../dist/mod_ssh/index')
|
||||
import NpmciEnv = require('../dist/npmci.env')
|
||||
import '../ts/index'
|
||||
import NpmciBuildDocker = require('../ts/mod_docker/index')
|
||||
import NpmciPublish = require('../ts/mod_publish/index')
|
||||
import NpmciTest = require('../ts/mod_test/index')
|
||||
import NpmciSsh = require('../ts/mod_ssh/index')
|
||||
import NpmciEnv = require('../ts/npmci.env')
|
||||
|
||||
let dockerfile1: NpmciBuildDocker.Dockerfile
|
||||
let dockerfile2: NpmciBuildDocker.Dockerfile
|
||||
|
Loading…
Reference in New Issue
Block a user