From 3b03c96e289685d23ecf21607f6880373aec7d57 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Tue, 4 May 2021 18:12:34 +0000 Subject: [PATCH] devenv: use dagger.io/os Signed-off-by: Solomon Hykes --- .dagger/env/dev/main.cue | 6 +++--- .dagger/env/sandbox/sandbox.cue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.dagger/env/dev/main.cue b/.dagger/env/dev/main.cue index 776d60db..8d7392fe 100644 --- a/.dagger/env/dev/main.cue +++ b/.dagger/env/dev/main.cue @@ -3,7 +3,7 @@ package main import ( "dagger.io/dagger" - "dagger.io/io" + "dagger.io/os" "dagger.io/alpine" "dagger.io/docker" "dagger.io/go" @@ -16,7 +16,7 @@ source: dagger.#Artifact test: { // Go unit tests unit: { - logs: (io.#File & { + logs: (os.#File & { from: build.ctr path: "/test.log" read: format: "string" @@ -47,7 +47,7 @@ build: { outputDir: "/binaries" } - logs: (io.#File & { + logs: (os.#File & { from: ctr path: "/build.log" read: format: "string" diff --git a/.dagger/env/sandbox/sandbox.cue b/.dagger/env/sandbox/sandbox.cue index 5b6ddea2..42e7e293 100644 --- a/.dagger/env/sandbox/sandbox.cue +++ b/.dagger/env/sandbox/sandbox.cue @@ -2,20 +2,20 @@ package main import ( "dagger.io/docker" - "dagger.io/io" + "dagger.io/os" ) let ctr = docker.#Container & { command: "echo 'hello world!' > /etc/motd" } -motd: (io.#File & { +motd: (os.#File & { from: ctr path: "/etc/motd" read: format: "string" }).read.data -etc: (io.#Dir & { +etc: (os.#Dir & { from: ctr path: "/etc" }).read.tree