oslokommune / ok

Infrastructure toolbox 👌
https://km.oslo.systems
1 stars 1 forks source link

Support for git@github in dependencies for schema generation #270

Open haavardeide opened 1 month ago

haavardeide commented 1 month ago

If a dependency is referenced with git@github release location instead of a relative reference ../versions, then schema generation will fail.

Solution: ensure that schema generation will work with both relative and github release:

  dependencies:
    - name: versions
      template-url: "git@github.com:oslokommune/golden-path-boilerplate//boilerplate/terraform/versions?ref=versions-v3.0.6"
  dependencies:
    - name: versions
      template-url: "../versions"
staticaland commented 1 month ago

Schema generation should never make a main command to fail.

This could be decoupled from the CLI by hosting the schemas over HTTP.

falense commented 3 weeks ago

Når man kjører ok pkg install så kræsjer den fordi den ikke støtter remote reference (kun lokal path)