Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-1546

use a more robust template tool for scenario tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.14
    • None
    • None
    • None
    • uShift Sprint 242

      We are using sed and envsubst to render templates in the scenario tests. Both have issues. sed patterns can be a challenge to write cleanly for complex file formats. envsubst makes it complicated to embed non-template text with $, such as might appear in hash values.

      We should look at other options. We could adopt an existing tool like https://docs.gomplate.ca or jinja2, or we could build a little tool that just does what we need.

              pmatusza@redhat.com Patryk Matuszak
              dhellman@redhat.com Doug Hellmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: