MOAR TESTS
- tests for load - fixed a few typos in “copy” tests - provisional tests for mount - adding a “concurrency” test Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
27
examples/tests/mounts/valid/tmpfs/main.cue
Normal file
27
examples/tests/mounts/valid/tmpfs/main.cue
Normal file
@@ -0,0 +1,27 @@
|
||||
package testing
|
||||
|
||||
test: {
|
||||
string
|
||||
|
||||
#dagger: {
|
||||
compute: [
|
||||
{
|
||||
do: "load"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
},
|
||||
{
|
||||
do: "exec"
|
||||
args: ["sh", "-c", """
|
||||
echo "NOT SURE WHAT TO TEST YET" > /out
|
||||
"""]
|
||||
dir: "/"
|
||||
mount: something: "tmpfs"
|
||||
},
|
||||
{
|
||||
do: "export"
|
||||
source: "/out"
|
||||
format: "string"
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user