Files
deployment-portal-be/templates
..

Steps to test JSONNET changes

  1. Create a temporary directory in templates directory:

    mkdir <path_to_cloned_repo>/templates/temp

  2. Change directory to the same

    cd <path_to_cloned_repo>/templates/temp

  3. Run the following command to create json for testing purposes: jsonnet main.jsonnet -J <path_to_cloned_repo>/manifests/<manifest_number>/<manifest_id> --ext-str IMAGE='image' -m temp

  4. Inspect the jsonnets in temp folder.