Skip to content

Add docs for custom provisioning and the session interface - #4232

Merged
sipsma merged 2 commits into
dagger:mainfrom
sipsma:engine-docs
Jan 9, 2023
Merged

sipsma merged 2 commits into
dagger:mainfrom
sipsma:engine-docs

Conversation

@sipsma

@sipsma sipsma commented Dec 21, 2022 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Erik Sipsma [email protected]

Fixes: #4215
Related: #3830

Just putting this in the internal docs for now, so it'll only be in markdown on the github repo. Can migrate to official website if desired but after thinking about it more given this is only meant for power users right now it's probably better to leave it off there until it's been more polished+solidified.

@sipsma sipsma changed the title Add docs custom provisioning and the session interface Add docs for custom provisioning and the session interface Dec 21, 2022
@sipsma
sipsma marked this pull request as ready for review December 22, 2022 17:12
@sipsma
sipsma requested review from gerhard and shykes December 22, 2022 20:02
@sipsma sipsma added this to the Engine v0.3.8 milestone Jan 4, 2023

@aluzzardi aluzzardi left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

/cc @vikram-dagger, even though those are internal instructions

@vikram-dagger vikram-dagger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. At some point I would like to convert some of this to a page in the docs site, splitting it partly into FAQs and partly into a technical Dagger architecture page.

Comment thread RELEASING.md Resolved

@helderco helderco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall pretty clarifying 👍

Nit: in web development it's bad practice to make links with "here" text (e.g., click here). So it's more accessible to, for example say:

- version as detailed [here](
+ version as detailed in [Versioning](

I.e., using the title at the target or the closest to it.

Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confused by the mix of the terms "runner" and "engine".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I agree, I think we settled on the term runner at some point, but unfortunately after we already created the image repo where the image is called engine.

I guess maybe the terminology could be "clarified" such that engine refers to the session helper bin + runner (aka buildkitd for now)? But I guess that still wouldn't make sense because we don't distribute the session binary as part of the engine image anymore.

And given our work with gha runners, use of the term runner here might start to get really confusing. So maybe we can just drop "runner" from here entirely and settle on engine instead?

cc @shykes don't want to block merging on this terminology issue but is something that needs to be addressed, let me know if you have thoughts.

shykes
shykes previously requested changes Jan 7, 2023

@shykes shykes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I forgot to submit my review! Some wording tweaks but overall looks good

Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Resolved
Comment thread core/docs/d7yxc-operator_manual.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The runner is distributed as a container image at `ghcr.io/dagger/engine`.
The runner is distributed as a container image at `registry.dagger.io/dagger`.

I believe our "vanity" registry is operational, is this correct @gerhard ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think it's still in progress: https://github.com/dagger/dagger.io/pull/1275

So I will leave this as is and update it once we update the SDKs to use the new vanity url

@sipsma
sipsma dismissed shykes’s stale review January 9, 2023 17:16

Made the suggested updates

@sipsma
sipsma merged commit 031c50c into dagger:main Jan 9, 2023
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.

Document new interface for using custom provisioned engine

5 participants