Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Source-linked deployments for bundles in the workspace #1884
Source-linked deployments for bundles in the workspace #1884
Changes from 7 commits
6b22fde
ae26bea
fbb9be9
086dfbc
a43f7dd
5a22151
6c12308
b2164c0
0004ed2
26f2453
51c8ef5
4cf6929
8cd95eb
e9b7289
a3c6d57
80ea3a0
e7165ec
49f6bc9
e65b50c
53e1f6d
00bb683
e8825d5
1d7b27e
55f715d
518aa14
aeb9813
8c8fb35
234d971
5d09070
8ee8de5
5d04569
530a2a9
aba35ae
ddb68a7
eede522
6a036d1
66bf5f3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b.SyncRootPath
contains the same (for convenience)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move all instances to the top of the struct initialization (I see a mix of both).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need to add for existing tests? The change above does not seem to affect these tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're right, it was left from prev implementation where sync root was called unconditionally
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably fails on Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added skipping for windows since we don't need to test the behavior there (unless I'm missing something)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The naming is a bit confusion tbh, I'd better use something like
NoFilesUpload
orUseWorkspaceFiles
or smth.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to go with
SourceLinkedDeployment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we skip it for
libraries.Upload
as well? This might get used when t have a path to local libraries in their bundle configuration.There it gets a bit tricky because libraries support glob patterns like "*.whl" and etc. and later replaced with the path where artifact is actually uploaded.
We might as well disable local libraries support if in place deployment is used. @pietern thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to keep libraries as is to simplify in-place mode, all
whl
andjar
files will still be uploaded (both with and without build steps)