-
Notifications
You must be signed in to change notification settings - Fork 95
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
ci: Finch Windows MSI tool #624
Conversation
Signed-off-by: [email protected] <[email protected]>
SET FilePath=%InstallDir%\os\finch.yaml | ||
|
||
if exist "%FilePath%" ( | ||
powershell -Command "$installPath = '%InstallDir%'.Replace('\', '/'); (Get-Content '%FilePath%') -replace '__INSTALLFOLDER__', $installPath | Set-Content '%FilePath%'" |
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.
I don't see where __INSTALLFOLDER__
is set. Should there be a manual step to add it to os\finch.yaml
before starting to build the installer?
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.
It is set when build Finch: make FINCH_ROOTFS_LOCATION_ROOT=/INSTALLFOLDER, similar to mac OS: https://github.com/runfinch/finch/blob/e21ae836d4f73ea07852e3cd1fc6cc16d56e4f32/.github/workflows/build-and-test-pkg.yaml#L62C12-L62C12
I have the github action for auto build, so we don't need to do it manually, unless we want to build it at local env
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.
Thanks. We should probably still add that to the README just in case we ever need to do a manual build
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.
Thanks. I will update the ReadMe with the auto build PR.
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.
LGTM pending one addition to the readme
SET FilePath=%InstallDir%\os\finch.yaml | ||
|
||
if exist "%FilePath%" ( | ||
powershell -Command "$installPath = '%InstallDir%'.Replace('\', '/'); (Get-Content '%FilePath%') -replace '__INSTALLFOLDER__', $installPath | Set-Content '%FilePath%'" |
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.
Thanks. We should probably still add that to the README just in case we ever need to do a manual build
Issue #, if available: *Description of changes:* MSI tool to generate Windows installer *Testing done:* Tested with github action and locally - [X] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: [email protected] <[email protected]> Co-authored-by: [email protected] <[email protected]>
Issue #, if available: *Description of changes:* MSI tool to generate Windows installer *Testing done:* Tested with github action and locally - [X] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: [email protected] <[email protected]> Co-authored-by: [email protected] <[email protected]> Signed-off-by: Vishwas Siravara <[email protected]>
Issue #, if available: *Description of changes:* - translation logic to wsl paths - persistent disk for windows - CI/CD (workflows to run CI on every PR on windows runners, MSI builder, Windows release automation) This PR combines 4 distinct PRs to a separate windev branch. - additional disk for windows #594 - translation logic for wsl paths #581 - CI #581 - Installer #624 This PR also contains bug fixes and modifications to e2e tests. *Testing done:* Yes - [X] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --------- Signed-off-by: Vishwas Siravara <[email protected]> Signed-off-by: Vishwas Siravara <[email protected]> Signed-off-by: Gavin Inglis <[email protected]> Signed-off-by: Justin Alvarez <[email protected]> Signed-off-by: chaoningusc <[email protected]> Signed-off-by: [email protected] <[email protected]> Signed-off-by: Kevin Li <[email protected]> Co-authored-by: Vishwas Siravara <[email protected]> Co-authored-by: Gavin Inglis <[email protected]> Co-authored-by: Justin <[email protected]> Co-authored-by: Kevin Li <[email protected]> Co-authored-by: chaoningusc <[email protected]> Co-authored-by: Justin Alvarez <[email protected]>
Issue #, if available:
Description of changes:
MSI tool to generate Windows installer
Testing done:
Tested with github action and locally
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.