-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adds a workflow step to run e2e tests on the Windows runner. - Adds script for code gen on Windows - Increase test timeouts to 120m - fix some lints - update go.mod - install SOCI as systemd unit; on Windows, starting as background process in script was still started in foreground, resulting in termination after script completion - fix config test to use LOCALAPPDATA Signed-off-by: Gavin Inglis <[email protected]>
- Loading branch information
Showing
14 changed files
with
187 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
//go:build windows | ||
|
||
package vm | ||
|
||
import "os" | ||
|
||
var finchConfigFilePath = os.Getenv("LOCALAPPDATA") + "/.finch/finch.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
# FinchWindowsMSI | ||
|
||
Finch Windows MSI Tool to generate MSI installer from Finch build | ||
|
||
## Instructions: | ||
## Instructions | ||
|
||
[1] Build finch: `make FINCH_ROOTFS_LOCATION_ROOT=/__INSTALLFOLDER__` | ||
|
||
- It will inject the placeholder `__INSTALLFOLDER__` into `os\finch.yaml` for the rootfs location | ||
|
||
[2] Run the following command to generate the MSI installer: | ||
`.\BuildFinchMSI.ps1 -SourcePath "<SourcePath>" -Version <Version>` | ||
|
||
**Parameters:** | ||
|
||
- SourcePath: Refers to the finch build _output folder, e.g., C:\Users\<UserName>\Repo\finch\_output\. It's an optional parameter. If not provided, the default path is finch's _output folder. (You need to build finch before running the MSI tool). | ||
- SourcePath: Refers to the finch build `_output` folder, e.g., `C:\Users\<UserName>\Repo\finch\_output\.` It's an optional parameter. If not provided, the default path is finch's _output folder. (You need to build finch before running the MSI tool). | ||
|
||
- Version: A required parameter that should match the version format, e.g., 0.10.2. | ||
- Version: A required parameter that should match the version format, e.g., `0.10.2`. | ||
|
||
[3] The Finch-<Version>.msi will be generated to the `msi-builder\build` folder | ||
[3] The `Finch-<Version>.msi` will be generated to the `msi-builder\build` folder |
Oops, something went wrong.