We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Clone a git repo and commit any binary file or a large (e.g. 1GB) text file. Do not push to remote.
> git clone https://github.com/dstackai/gpuhunt.git Cloning into 'gpuhunt'... remote: Enumerating objects: 1264, done. remote: Counting objects: 100% (623/623), done. remote: Compressing objects: 100% (294/294), done. remote: Total 1264 (delta 417), reused 458 (delta 321), pack-reused 641 (from 1) Receiving objects: 100% (1264/1264), 272.24 KiB | 1010.00 KiB/s, done. Resolving deltas: 100% (686/686), done. > cd gpuhunt/ > dd if=/dev/zero of=test-file bs=65536 count=1 1+0 records in 1+0 records out 65536 bytes (66 kB, 64 KiB) copied, 0.000250103 s, 262 MB/s > git add test-file > git commit -m test
Run a dstack configuration in this repo.
dstack
> printf "type: dev-environment\nide: vscode\nname: test-run" > .dstack.yml > dstack init OK > dstack apply -y
Wait until the run is running.
The file is empty in the run.
> ssh test-run ls -lh /workflow/test-file -rw-r--r-- 1 root root 0 Sep 10 08:09 /workflow/test-file
The file is not empty.
> ssh test-run ls -lh /workflow/test-file -rw-r--r-- 1 root root 64K Sep 10 08:09 /workflow/test-file
Here git diff only returns file names for binary or large files, not the actual diff.
git diff
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 30 days with no activity.
Sorry, something went wrong.
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.
No branches or pull requests
Steps to reproduce
Clone a git repo and commit any binary file or a large (e.g. 1GB) text file. Do not push to remote.
Run a
dstack
configuration in this repo.Wait until the run is running.
Actual behaviour
The file is empty in the run.
> ssh test-run ls -lh /workflow/test-file -rw-r--r-- 1 root root 0 Sep 10 08:09 /workflow/test-file
Expected behaviour
The file is not empty.
> ssh test-run ls -lh /workflow/test-file -rw-r--r-- 1 root root 64K Sep 10 08:09 /workflow/test-file
Additional information
Here
git diff
only returns file names for binary or large files, not the actual diff.The text was updated successfully, but these errors were encountered: