Skip to content

EUROPA: Engine API #1206

Closed
Closed

Description

@aluzzardi

Port Pipeline ops to Europa Engine API. Schema defined in #1117

Pipeline Op Europa Assignee API design Status Implementation Status
op.#FetchContainer engine.#Pull @aluzzardi ✅ ✅ #1194
op.#PushContainer engine.#Push @samalba ✅ ✅ #1275
op.#DockerLogin Moved to #Pull #Push @samalba ✅ ✅ #1235
op.#Exec engine.#Exec @aluzzardi ✅ reconciled with implementation #1211 ✅ #1232
op.#Export engine.#ReadFile @aluzzardi ✅ ✅ #1208
op.#WriteFile engine.#WriteFile @jlongtine ✅ ✅ #1225
op.#DockerBuild engine.#Build @aluzzardi ✅ ✅ #1276
op.#Copy engine.#Copy @jlongtine ✅ ✅ #1263
op.#Mkdir engine.Mkdir @TomChv ✅ ✅ #1259
op.#Local Removed ✅ no spec needed ✅ no implementation needed
op.#Subdir engine.#Subdir ✅ pure cue implementation ⚠️ Depends on #Copy. Tests needed
op.#Workdir N/A ✅ Out of scope. Caller is responsible for filling #ImageConfig.Workdir or #Exec.Workdir ✅ no implementation needed
op.#SaveImage ??? ❓discussion needed. Not defined in spec. Rootfs and ImageConfig are already exposed - the only part missing is image layers.
op.#FetchGit engine.#GitPull @talentedmrjones ✅ ✅ #1272
N/A engine.#GitPush ❓not defined in spec. Do we want it? (discuss below)
op.#FetchHTTP engine.#HTTPFetch @talentedmrjones ✅ #1233 ✅ #1296
??? engine.#Scratch @jlongtine ✅ ✅ #1281
??? engine.#Merge ❓ The current spec doesn't conform to the Buildkit definition ❓ Not in the latest Buildkit release

Activity

  1. added this to the milestone on Dec 13, 2021
  2. aluzzardi commented on Dec 14, 2021

    @aluzzardi
    ContributorAuthor

    @shykes Can you chime in for ops not in Europa (e.g. FetchHTTP, etc) and ops not in BuildKit (e.g. #GitPush)

  3. shykes commented on Dec 14, 2021

    @shykes
    Contributor

    @shykes Can you chime in for ops not in Europa (e.g. FetchHTTP, etc) and ops not in BuildKit (e.g. #GitPush)

    OK if I split the “status” column into “design status” and “implementation status”? I think it will help clarify the picture.

  4. aluzzardi commented on Dec 15, 2021

    @aluzzardi
    ContributorAuthor

    op.#DockerLogin

    Europa spec uses auth map instead of special operation. Preliminary consensus is ✅ but there is one last mystery: why did we revert previous attempt to use auth and does it affect the consensus?

    One missing part from the spec is engine.#Build and #Dockerfile -- those two need auth as well (FROM private-registry, COPY --from=private-registry, ...).

    I don't know if there are other operations that require auth, and if one of them made us revert back

    op.#Workdir

    ✅ Out of scope. Caller is responsible for filling #ImageConfig.Workdir or #Exec.Workdir

    I'm not fully grasping who's responsible for dealing with #ImageConfig

    op.#SaveImage

    ❓discussion needed. Not defined in spec. Rootfs and ImageConfig are already exposed - the only part missing is image layers.

    The reason op.#SaveImage exists is to implement docker.#Load. We need a way to load a docker image from dagger to a remote engine.

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

Metadata

Metadata

Assignees

No one assigned

    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