conda-incubator / conda-project

Tool for encapsulating, running, and reproducing projects with Conda environments
https://conda-incubator.github.io/conda-project/
BSD 3-Clause "New" or "Revised" License
28 stars 10 forks source link

Support remote environment definitions #127

Open AlbertDeFusco opened 1 year ago

AlbertDeFusco commented 1 year ago

It would great to enable remote sources for environments

name: my-project

environments:
  not-locked-env:
    - <protocol>://<path>/<to>/<environment-yaml>[?param1=value&param2=value]
  pre-locked-env:
    - <protocol>://<path>/<to>/<conda-lock-yaml>[?param1=value&param2=value] 

In the first env not-locked-env the remote definition is the intentional spec and the lockfile will be computed and stored locally.

In the second environment the remote definition is to the lockfile. Here we would not need to run conda-lock locally or store the file locally.