Add docker.#Command tests
Tests : - docker version with ssh - docker version with ssh and key passphrase - docker version with ass and wrong key passphrase Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
@@ -41,20 +41,26 @@ import (
|
||||
// Mount content from other artifacts
|
||||
mount: {
|
||||
[string]: {
|
||||
from: dagger.#Artifact
|
||||
from: dagger.#Artifact
|
||||
} | {
|
||||
secret: dagger.#Secret
|
||||
} @dagger(input)
|
||||
}
|
||||
|
||||
// Mount persistent cache directories
|
||||
cache: [string]: true @dagger(input)
|
||||
cache: {
|
||||
[string]: true @dagger(input)
|
||||
}
|
||||
|
||||
// Mount temporary directories
|
||||
tmpfs: [string]: true @dagger(input)
|
||||
tmpfs: {
|
||||
[string]: true @dagger(input)
|
||||
}
|
||||
|
||||
// Additional packages to install
|
||||
package: [string]: true | false | string @dagger(input)
|
||||
package: {
|
||||
[string]: true | false | string @dagger(input)
|
||||
}
|
||||
|
||||
// Setup docker client and then execute the user command
|
||||
#code: #"""
|
||||
@@ -175,4 +181,4 @@ import (
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user