intel / Edge-Software-Provisioner

BSD 3-Clause "New" or "Revised" License
42 stars 31 forks source link

Changing docker bindmount in pullProfile to allow local profiles usage. #34

Closed sebix112 closed 2 years ago

sebix112 commented 2 years ago

This change allows to put local disk profile as a git repo in data/usr/share/nginx/html/profile/ and ESP can use it.

The configuration file used for tests looks like this:

profiles:
  - name: SEO_URL
    git_remote_url: /tmp/profiles/ubuntu
    profile_branch: main
    profile_base_branch: ''
    git_username: 'user'
    git_token: 'token'
    custom_git_arguments: --depth=1

Additional git data like user and token has to be filled, anyway, it will not be used.

Tested profile: https://github.com/intel-innersource/applications.services.smart-edge-open.profiles

adimoft commented 2 years ago

I checked this, for me worked fine!

dvintel commented 2 years ago

This is coming soon as part of upcoming release