adrianriobo / deliverest

Base container to acting as a delivery container for multi arch and multi platform
0 stars 4 forks source link

Add pre hook for adding something on assets on assets folder #2

Closed adrianriobo closed 6 months ago

adrianriobo commented 1 year ago

This feature allow us to move non released resources to target machines.

As an example we may wanna test some un released version for a product, typically those assets are only available within some internal network, so we can not directly download from the target host (unless we put some vpn in place)

With this pre hook script if we run the deliverest container within the internal network it can download the asset add it to the asstes folder and then will be copied to the target host

adrianriobo commented 6 months ago

We found a solution for this, as each element added on the ASSETS_FOLDER will be copied to the target host if we map whatever we want to the ASSETS_FOLDER of the container it will directly will be moved to the target host.