dstack icon indicating copy to clipboard operation
dstack copied to clipboard

Support absolute path for artifacts

Open kengz opened this issue 1 year ago • 0 comments

Currently the following workflow will result in empty artifacts:

  - name: setup-conda
    help: setup Conda env as artifact for reuse by mounting
    provider: bash
    commands:
      - conda env create --file environment.yml
      - conda clean -tiy
      - export PATH=/opt/conda/envs/mnist/bin:$PATH
      - conda list
    artifacts:
      - path: /opt/conda/envs/mnist

commands:

dstack run setup-condo
#wait for completion
dstack artifacts list <run name>
# it is empty, but should not be

kengz avatar Sep 24 '22 13:09 kengz