Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support repo_dir in run configurations #2102

Closed
r4victor opened this issue Dec 16, 2024 · 2 comments
Closed

Support repo_dir in run configurations #2102

r4victor opened this issue Dec 16, 2024 · 2 comments

Comments

@r4victor
Copy link
Collaborator

Currently, the repo dir is hardcoded to be /workflow. The proposal is to make it configurable with repo_dir with /workflow as a default for backward compatibility. Benefits

  • /workflow is no longer hardcoded.
  • A repo can be pre-cloned on a volume to avoid long pull for big repos.
  • Support for use cases when /workflow cannot be used (conflict with OS image) or when other path is preferred.

Moreover, working_dir can default to repo_dir. Related to: #2003

Also consider introducing a run env variable that stores the path to the repo dir (e.g. DSTACK_REPO_DIR) so that the repo dir doesn't need to be hardcoded in run configurations

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jan 16, 2025
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant