File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ sh.env.PROD_SERVER = '127.0.0.1';
14
14
sh . env . PROD_SERVER_PORT = '3500' ;
15
15
sh . env . PROD_SERVER_PEM = path . resolve ( mupDir , 'tests/fixtures/ssh/new' ) ;
16
16
17
- var volume = `-v ${ keyPath } :/root/.ssh/authorized_keys ` ;
17
+ var volume = `-v ${ keyPath } :/root/.ssh/authorized_keys2 ` ;
18
18
var publish = '-p 127.0.0.1:3500:22' ;
19
19
var image = argv . skipPull ? 'mup-tests-server' : 'mup-tests-server-docker' ;
20
20
@@ -23,6 +23,7 @@ var containerId = sh.exec(
23
23
) . output . trim ( ) ;
24
24
25
25
sh . exec ( `docker exec ${ containerId } sudo service docker start` ) ;
26
+ sh . exec ( `docker exec ${ containerId } cp /root/.ssh/authorized_keys2 /root/.ssh/authorized_keys` ) ;
26
27
27
28
var watch = argv . watch ? ' --watch' : '' ;
28
29
var files = argv . path ? argv . path : ' src/**/__tests__/**/*.js' ;
You can’t perform that action at this time.
0 commit comments