Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

templating: fallbacks to ease migration from console-flavored ship #884

Merged
merged 1 commit into from
Mar 26, 2019

Commits on Mar 26, 2019

  1. templating: fallbacks to ease migration from console-flavored ship

    What I Did
    ------------
    
    - In `{{repl Installation "installation_id"}}, if `license_id` was used to fetch, template in the license id value
    - In `{{repl Installation "license_id"}}, if `installation_id` was used to fetch, template in the installation id value
    - Add `{{repl LicenseFieldValue "FIELD_KEY"}} as an alias for `{{repl EntitlementValue "FIELD_KEY"}}
    
    How to verify it
    ------------
    
    - ship init replicated.app/slug?license_id=..., ensure `{{repl
    Installation "installation_id"}} emits the given license ID.
    
    and so on
    
    Description for the Changelog
    ------------
    
    - In `{{repl Installation "installation_id"}}, if `license_id` was used to fetch, template in the license id value
    - In `{{repl Installation "license_id"}}, if `installation_id` was used to fetch, template in the installation id value
    - Add `{{repl LicenseFieldValue "FIELD_KEY"}} as an alias for `{{repl EntitlementValue "FIELD_KEY"}}
    dexhorthy committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    f384713 View commit details
    Browse the repository at this point in the history