MetaCell / cloud-harness

Other
14 stars 5 forks source link

Allow to clone an external repo before the build #720

Closed filippomc closed 5 months ago

filippomc commented 5 months ago

Closes CH-37

Implemented solution:

the clone is done before the build, hence on skaffold and codefresh

The before-build hook is used on Skaffold

Additional clone steps are added on codefresh

How to test this PR: Add application git dependencies on values.yaml like

harness:
  dependencies:
    git:
    - url: https://github.com/MetaCell/nwb-explorer.git
      branch_tag: master
      path: nwbexplorer

to one of your applications (say myapp). Then run harness-deployment ... -i myapp -e dev and verify that:

Sanity checks:

Breaking changes (select one):

Possible deployment updates issues (select one):

Test coverage (select one):

Documentation (select one):