-
Notifications
You must be signed in to change notification settings - Fork 277
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
Move paths tracking to rdctl
#4160
Move paths tracking to rdctl
#4160
Conversation
89dab9e
to
7da11cb
Compare
Unit tests fail for
Needed change:
|
Also breakage on Windows:
Fix:
This is a holdover from a recent change moving
|
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.
Core code looks fine, but tests need to be fixed for windows and macOS
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
rdctl is now needed for typescript unit tests, so we need to ensure it is present when the tests run. Running npm run build does this. Signed-off-by: Adam Pickering <adam.pickering@suse.com>
a812763
to
470915b
Compare
Still breakage on macOS. Should be:
and
|
I keep getting this wrong. I got it wrong in my last review. I'm going with https://docs.rancherdesktop.io/getting-started/deployment#profile-format-and-location which is actually in sync with the spec ( #3751 ): On macOS, the system profile is in On Linux, the system profile is in In general, user profiles can't be in a rancher-desktop-specific directory, because they'll be cleared by factory-reset. I think the difference for the system profiles is that almost all mac system profiles live in Here's the old code, which got that right:
|
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.
mac paths are hard to get correct
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.
mac paths still need fixing
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
Signed-off-by: Adam Pickering <adam.pickering@suse.com>
cdd4f6b
to
40dadfa
Compare
Ok I made it so that everything lines up with the documentation. Hopefully the tests pass now. |
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.
Tests work now, looks good
Closes #3652.