Skip to content

Use configurable templated header with jinja2 as in batchspawner #133

Open

Description

@guillaumeeb

I feel https://github.com/jupyterhub/batchspawner is using an interesting way of templating job script. See SlurmSpawner for instance.

I know we used some templated script before too, but we did not make use of jinja2 thus being force to define some useless parameters to avoid issues. This would allow us to me more easily compatible with different job scheduler versions (i.e. Torque vs PBS), and be much more generic.

Any thoughts?

See historic discussion on the current code here #7 (comment).

Activity

  1. jhamman commented on Aug 30, 2018

    @jhamman
    Member

    I think this is a good idea. I think our current approach made sense as a starting point but poses some challenges when maintaining many job schedulers.

  2. added
    enhancement
    on Oct 27, 2018
  3. wtbarnes commented on Sep 11, 2019

    @wtbarnes
    Member

    I'm interested in implementing the headers as Jinja2 templates. See #338 for more details.

  4. added this to the milestone on Feb 21, 2020
  5. modified the milestones: , 0.9 on Aug 30, 2022
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions