Smaller, cleaner test
Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
parent
4d4fbb20b5
commit
a184fe6fce
@ -6,18 +6,10 @@ import (
|
|||||||
|
|
||||||
engine.#Plan & {
|
engine.#Plan & {
|
||||||
actions: {
|
actions: {
|
||||||
write: engine.#WriteFile & {
|
|
||||||
input: engine.#Scratch
|
|
||||||
path: "/.dockerignore"
|
|
||||||
contents: "Dockerfile"
|
|
||||||
permissions: 700
|
|
||||||
}
|
|
||||||
|
|
||||||
build: engine.#Build & {
|
build: engine.#Build & {
|
||||||
source: write.output
|
source: engine.#Scratch
|
||||||
dockerfile: contents: """
|
dockerfile: contents: "FROM scratch"
|
||||||
FROM scratch
|
|
||||||
"""
|
|
||||||
// Assert that output is engine.#Scratch
|
// Assert that output is engine.#Scratch
|
||||||
output: engine.#Scratch
|
output: engine.#Scratch
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user