Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mermaid diagram for image build + azure pool creation #82

Closed
gvegayon opened this issue Oct 16, 2024 · 1 comment
Closed

Add mermaid diagram for image build + azure pool creation #82

gvegayon opened this issue Oct 16, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation v0.1.0

Comments

@gvegayon
Copy link
Member

I was just adding a mermaid diagram, @zsusswein. Here it is:

flowchart LR

  START((Start))---DEPS_CACHED

  DEPS_CACHED{Deps<br>cached?}---|No|DEPS
  DEPS_CACHED---|Yes|IMG

  subgraph DEPS[Job01-build_image_dependencies]
    direction TB
    Dockerfile-dependencies---|Generates|DEPS_IMAGE[Dependencies<br>Image]
  end

  DEPS---IMG

  subgraph IMG[_01_build-model-image]
    direction TB
    Dockerfile---|Generates|PKG_IMG[Package<br>Image]
  end

  IMG---POOL

  subgraph POOL[_02_create-batch-pool-and-submit-jobs]
    direction TB

    POOL_EXISTS{Is the pool<br>up?}
    POOL_EXISTS---|No|CREATE_POOL[Create the pool]
    POOL_EXISTS---|Yes|DELETE_POOL{Commit includes<br>'delete pool'}
    DELETE_POOL---END_POOL((End))
    CREATE_POOL---END_POOL

  end
Loading

If you like it, I can PR it

Originally posted by @gvegayon in #67 (comment)

@gvegayon gvegayon self-assigned this Oct 16, 2024
@zsusswein zsusswein added documentation Improvements or additions to documentation v0.1.0 labels Oct 16, 2024
@zsusswein
Copy link
Collaborator

Closed by #84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation v0.1.0
Projects
None yet
2 participants