Hi @Dom1 ,
One solution which i had implemented is to use API to connect to artifact and download the latest artifact to driver's storage (when you use curl to download the file, it gets downloaded in the disk of the driver), later moved it to the required location in dbfs and installed it.
only difference is that was using Github artifact.
so, my suggestion is,
1. use api to connect. you can parameterize the notebook with branch info and etc, so that you can frame the api to pull it from the respective branch.
2. try to find your required package from the response. you can write a script for this.
3. once you find, try to download it using curl or requests call to download the package. The package will be now available in the driver's disk.
4. using %sh magic command, you can use move command to move the package from disk of driver to dbfs location. ( i am not exactly sure how is volume from unity catalog is mounted in driver )
5. you are now ready to install the package, since you have mentioned that you wanted to pull the artifact during each job run. what i would recommend is to execute the above script before you run your main logic. this can be pipelined. once the download and move is successful, you can use %sh pip install command inside your main notebook to install the package.
Hope this helps. ๐