comment out tests that use pre-europa pipelines

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2022-02-21 12:16:55 -07:00
parent 072d144e68
commit 298e19b305
6 changed files with 83 additions and 76 deletions

View File

@ -2,15 +2,15 @@ package main
import ( import (
"dagger.io/dagger" "dagger.io/dagger"
"alpha.dagger.io/os" // "alpha.dagger.io/os"
) )
dagger.#Plan & { dagger.#Plan & {
actions: { actions: {
sayHello: os.#Container & { // sayHello: os.#Container & {
command: "echo Hello Europa! > /out.txt" // command: "echo Hello Europa! > /out.txt"
} // }
verify: "Hello Europa!\n" & (os.#File & {from: sayHello, path: "/out.txt"}).contents // verify: "Hello Europa!\n" & (os.#File & {from: sayHello, path: "/out.txt"}).contents
} }
} }

View File

@ -2,26 +2,26 @@ package main
import ( import (
"dagger.io/dagger" "dagger.io/dagger"
// "alpha.dagger.io/dagger/op"
"alpha.dagger.io/dagger/op" // "alpha.dagger.io/alpine"
"alpha.dagger.io/alpine"
) )
dagger.#Plan & { dagger.#Plan & {
// should fail due to incomplete service // should fail due to incomplete service
proxy: dockerSocket: {} proxy: dockerSocket: {}
actions: test: #up: [ // TODO/FIXME: Use Europa constructs for this
op.#Load & { // actions: test: #up: [
from: alpine.#Image & { // op.#Load & {
package: "docker-cli": true // from: alpine.#Image & {
} // package: "docker-cli": true
}, // }
// },
op.#Exec & { // op.#Exec & {
always: true // always: true
mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service // mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service
args: ["docker", "info"] // args: ["docker", "info"]
}, // },
] // ]
} }

View File

@ -1,25 +1,27 @@
package main package main
import ( import (
"alpha.dagger.io/dagger/op" "dagger.io/dagger"
"alpha.dagger.io/alpine" // "alpha.dagger.io/dagger/op"
// "alpha.dagger.io/alpine"
) )
dagger.#Plan & { dagger.#Plan & {
// should fail because incomplete value // should fail because incomplete value
proxy: dockerSocket: unix: string proxy: dockerSocket: unix: string
actions: test: #up: [ // TODO/FIXME: Use Europa constructs for this
op.#Load & { // actions: test: #up: [
from: alpine.#Image & { // op.#Load & {
package: "docker-cli": true // from: alpine.#Image & {
} // package: "docker-cli": true
}, // }
// },
op.#Exec & { // op.#Exec & {
always: true // always: true
mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service // mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service
args: ["docker", "info"] // args: ["docker", "info"]
}, // },
] // ]
} }

View File

@ -1,25 +1,27 @@
package main package main
import ( import (
"alpha.dagger.io/dagger/op" "dagger.io/dagger"
"alpha.dagger.io/alpine" // "alpha.dagger.io/dagger/op"
// "alpha.dagger.io/alpine"
) )
dagger.#Plan & { dagger.#Plan & {
// should fail because of misspelled key // should fail because of misspelled key
proxy: dockerSocket: unx: "/var/run/docker.sock" proxy: dockerSocket: unx: "/var/run/docker.sock"
actions: test: #up: [ // TODO/FIXME: Use Europa constructs for this
op.#Load & { // actions: test: #up: [
from: alpine.#Image & { // op.#Load & {
package: "docker-cli": true // from: alpine.#Image & {
} // package: "docker-cli": true
}, // }
// },
op.#Exec & { // op.#Exec & {
always: true // always: true
mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service // mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service
args: ["docker", "info"] // args: ["docker", "info"]
}, // },
] // ]
} }

View File

@ -1,25 +1,27 @@
package main package main
import ( import (
"alpha.dagger.io/dagger/op" "dagger.io/dagger"
"alpha.dagger.io/alpine" // "alpha.dagger.io/dagger/op"
// "alpha.dagger.io/alpine"
) )
dagger.#Plan & { dagger.#Plan & {
// should fail because of misspelled value // should fail because of misspelled value
proxy: dockerSocket: unix: "/var/run/docker.soc" proxy: dockerSocket: unix: "/var/run/docker.soc"
actions: test: #up: [ // TODO/FIXME: Use Europa constructs for this
op.#Load & { // actions: test: #up: [
from: alpine.#Image & { // op.#Load & {
package: "docker-cli": true // from: alpine.#Image & {
} // package: "docker-cli": true
}, // }
// },
op.#Exec & { // op.#Exec & {
always: true // always: true
mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service // mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service
args: ["docker", "info"] // args: ["docker", "info"]
}, // },
] // ]
} }

View File

@ -2,25 +2,26 @@ package main
import ( import (
"dagger.io/dagger" "dagger.io/dagger"
"alpha.dagger.io/dagger/op" // "alpha.dagger.io/dagger/op"
"alpha.dagger.io/alpine" // "alpha.dagger.io/alpine"
) )
dagger.#Plan & { dagger.#Plan & {
// should succeed // should succeed
proxy: dockerSocket: unix: "/var/run/docker.sock" proxy: dockerSocket: unix: "/var/run/docker.sock"
actions: test: #up: [ // TODO/FIXME: Use Europa constructs for this
op.#Load & { // actions: test: #up: [
from: alpine.#Image & { // op.#Load & {
package: "docker-cli": true // from: alpine.#Image & {
} // package: "docker-cli": true
}, // }
// },
op.#Exec & { // op.#Exec & {
always: true // always: true
mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service // mount: "/var/run/docker.sock": stream: proxy.dockerSocket.service
args: ["docker", "info"] // args: ["docker", "info"]
}, // },
] // ]
} }