now handles docker registries the right way

This commit is contained in:
2017-08-28 02:24:06 +02:00
parent 3b3a303c55
commit dca4010f97
15 changed files with 59 additions and 209 deletions

View File

@@ -34,15 +34,6 @@ let dockerfile1: npmciModDocker.Dockerfile
let dockerfile2: npmciModDocker.Dockerfile
let sortableArray: npmciModDocker.Dockerfile[]
tap.test('should prepare a Docker file', async () => {
await npmciModDocker.handleCli({
_: [
'docker',
'prepare'
]
})
})
tap.test('should return valid Dockerfiles', async () => {
dockerfile1 = new npmciModDocker.Dockerfile({ filePath: './Dockerfile', read: true })
dockerfile2 = new npmciModDocker.Dockerfile({ filePath: './Dockerfile_sometag1', read: true })
@@ -92,11 +83,11 @@ tap.test('should test dockerfiles', async () => {
})
})
tap.test('should prepare docker daemon', async () => {
tap.test('should login docker daemon', async () => {
return await npmciModDocker.handleCli({
_: [
'docker',
'prepare'
'login'
]
})
})
@@ -147,8 +138,4 @@ tap.test('reset paths', async () => {
}
})
tap.test('', async () => {
await npmciEnv.configStore()
})
tap.start()