Skip to content

Port core.#Exec to Dagger Engine 0.3 #3208

Closed

Description

@jlongtine

Sub-issue of #3121

#Exec: {
	$dagger: task: _name: "Exec"
	input: dagger.#FS
	mounts: {
		[name=string]: #Mount
	} @cloak(notimplemented)
	args: [...string]
	env: [key=string]: string | dagger.#Secret
	workdir: string | *"/"
	user: string | *"root:root"
	always: true | *false @cloak(notimplemented)
	hosts: {
		[hostname=string]: string
	} @cloak(notimplemented)
	output: dagger.#FS @dagger(generated)
	exit: int & 0
}

#Exec

Europa Dagger 0.3 dagger-classic implemented Notes
mounts ✅✅✅🚧 ✅✅✅🚧
args: ✅✅✅✅ ✅✅✅✅
workdir: ✅✅✅✅ ✅✅✅✅
user: ✅✅✅✅ ✅✅✅✅
always: true | *false ❌❌❌❌ ❌❌❌❌
hosts: ❌❌❌❌ ❌❌❌❌
exit: int ✅✅🚧🚧 ✅✅🚧🚧 This doesn't really do anything right now... because we only capture exit = 0

dagger v0.3 does not yet support the socket mount type and the various concurrency types of cache mounts.

https://github.com/jlongtine/dagger/blob/dagger-classic/plan/task/exec.go

Activity

  1. self-assigned this
    on Oct 3, 2022
  2. changed the title [-]Port `core.#Exec` to `cloak`[/-] [+]Port `core.#Exec` to Dagger Engine 0.3[/+] on Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions