Skip to content

Europa: reconcile engine.#Exec spec with implementation - #1223

Merged
shykes merged 1 commit into
dagger:mainfrom
shykes:fix-engine-exec
Dec 17, 2021
Merged

shykes merged 1 commit into
dagger:mainfrom
shykes:fix-engine-exec

Conversation

@shykes

@shykes shykes commented Dec 14, 2021 •

Copy link
Copy Markdown
Contributor

This addresses several points from #1211 :

  • Add missing user
  • Add missing always
  • Add missing hosts
  • Remove stdin, stdout, stderr until API design questions are resolved. See Europa: engine.#Exec: attach stdin, stdout, stderr #1222 .
  • Clean up args: only supports […string], add example in comment to clarify use.
  • Rename environ to env, and make it a map
  • Change mounts to a map
  • Hardcode exit to 0 to make current API limitation explicit, while hinting at future expansion

@netlify

netlify Bot commented Dec 14, 2021 •

Copy link
Copy Markdown

@shykes
shykes requested a review from aluzzardi December 14, 2021 22:47
@shykes

shykes commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

Rebased

@shykes

shykes commented Dec 17, 2021

Copy link
Copy Markdown
Contributor Author

Filed tracking issues for future API design discussions. Merging to unblock spec reconciliation.

@shykes
shykes merged commit 9e859e6 into dagger:main Dec 17, 2021
@shykes
shykes deleted the fix-engine-exec branch December 17, 2021 01:17
@shykes

shykes commented Dec 17, 2021

Copy link
Copy Markdown
Contributor Author

Fixes #1211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants