1. 05 Apr, 2022 5 commits
    • Xavier Thompson's avatar
      118f2888
    • Xavier Thompson's avatar
      software/theia: Refactor tests · 263c9c2d
      Xavier Thompson authored
      263c9c2d
    • Xavier Thompson's avatar
      fcae208e
    • Xavier Thompson's avatar
      software/theia: Simplify embedded SR options · dec6333b
      Xavier Thompson authored
      Remove existing "embedded instance" options:
      - `embedded-sr`
      - `embedded-sr-type`
      - `embedded-instance-parameters`
      
      Instead introduce `one-time-embedded-instance` option:
      - Only taken into account when Theia is instantiated the first time.
      - Content should be a JSON object with:
        - 'software-url': string of the software URL
        - 'software-type': (optional) string of the software type
        - 'instance-parameters': (optional) JSON object
      
      If the option is non-empty:
      - Theia will attempt once to:
        - Parse the JSON content
        - Create a supply/request script
        - Call the script
      - A promise will check whether the script was successfully called.
      
      If the promise fails forever, e.g. because of ill-formed JSON, emptying
      the option will remove the promise. Editing the option after the first
      time will have no effect, whether the promise succeded or not.
      dec6333b
    • Xavier Thompson's avatar
      software/theia: Use new template options · 7eb2cc60
      Xavier Thompson authored
      Replace deprecated `slapos.recipe.template:jinja2` options:
      - `rendered = <path>`     -> `output = <path>`
      - `template = <path>`     -> `url = <path>`
      - `template = inline:...` -> `inline = ...`
      
      Favor `slapos.recipe.template` over `slapos.recipe.template:jinja2`
      now that they both have `inline` option.
      7eb2cc60
  2. 01 Apr, 2022 2 commits
  3. 31 Mar, 2022 2 commits
  4. 30 Mar, 2022 20 commits
  5. 29 Mar, 2022 8 commits
  6. 28 Mar, 2022 3 commits