Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11699

Create a example auto-build system for the templates repository

    XMLWordPrintable

    Details

      Description

      In DM-11513 (and RFC-376) we developed a new lsst/templates repository model that takes advantage of Jinja2 and cookiecutter to let us be more precise and deliberate with our templates. The design calls for examples that show rendered files and projects as built by Jinja2/cookiecutter. These examples are committed directly to the templates repo. We need to ensure that the examples stay in sync with the templates, however.

      We can implement that with a build system that renders the templates into the lsst/templates repo. Developers of templates can run the build system to refresh examples, and a CI system can also run the build system to ensure that the committed examples are up-to-date.

      The build system should be a very simple harness for Jinja2/cookiecutter. Scons might fit the bill, or even Makefiles.

      This ticket will implement that system, hook it up to CI for checking, and document how to use it.

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            Hi Simon Krughoff, this is the scone-based system for rendering our llsst/templates and ensuring that the examples are consistent with the template code.

            Show
            jsick Jonathan Sick added a comment - Hi Simon Krughoff , this is the scone-based system for rendering our llsst/templates and ensuring that the examples are consistent with the template code.
            Hide
            krughoff Simon Krughoff added a comment -

            Looks good. Comments on the PR.

            Show
            krughoff Simon Krughoff added a comment - Looks good. Comments on the PR.

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Reviewers:
              Simon Krughoff
              Watchers:
              Jonathan Sick, Simon Krughoff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.