Skip to content
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

fix: lima-template path in Makefile, OS images #179

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

ginglis13
Copy link
Contributor

@ginglis13 ginglis13 commented Oct 5, 2023

Issue #, if available:

Description of changes:

Failure seen in mac e2e tests on branch windev: https://github.com/runfinch/finch/actions/runs/6413564599/job/17412684261?pr=584

update OS image refs. hashes are already correct in windev branch. revert a change to the fedora lima template path. This lima-template rule is only used on macOS:

finch-core/Makefile

Lines 79 to 93 in 22af4e4

FEDORA_YAML ?=
BUILD_OS ?= $(OS)
ifeq ($(BUILD_OS), Windows_NT)
binaries: rootfs lima
download: download.rootfs
lima: lima-exe
FINCH_IMAGE_LOCATION := $(FINCH_ROOTFS_LOCATION)
FINCH_IMAGE_DIGEST := $(FINCH_ROOTFS_DIGEST)
else
binaries: os lima-socket-vmnet lima-template
download: download.os
FINCH_IMAGE_LOCATION := $(FINCH_OS_IMAGE_LOCATION)
FINCH_IMAGE_DIGEST := $(FINCH_OS_DIGEST)
FEDORA_YAML := fedora.yaml
endif

Testing done:

On both windows and macOS dev machines:

# .gitmodules
[submodule "finch-core"]
	path = deps/finch-core
	url = https://github.com/ginglis13/finch-core.git
	branch = makefile-fix
make
./_output/bin/finch vm init
  • 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.

add conditional to check for lima-template copying logic.

Signed-off-by: Gavin Inglis <giinglis@amazon.com>
@ginglis13 ginglis13 merged commit 2405075 into runfinch:windev Oct 5, 2023
3 checks passed
vsiravar pushed a commit that referenced this pull request Oct 14, 2023
Issue #, if available:

*Description of changes:*

Failure seen in mac e2e tests on branch `windev`:
https://github.com/runfinch/finch/actions/runs/6413564599/job/17412684261?pr=584

update OS image refs. hashes are already correct in windev branch.
revert a change to the fedora lima template path. This `lima-template`
rule is only used on macOS:

https://github.com/runfinch/finch-core/blob/22af4e43c95b2ac591754fc817228b8aff9deddf/Makefile#L79-L93

*Testing done:*

On both windows and macOS dev machines:

```
# .gitmodules
[submodule "finch-core"]
	path = deps/finch-core
	url = https://github.com/ginglis13/finch-core.git
	branch = makefile-fix
```

```
make
./_output/bin/finch vm init
```

- [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: Gavin Inglis <giinglis@amazon.com>
Signed-off-by: Vishwas Siravara <siravara@amazon.com>
vsiravar pushed a commit that referenced this pull request Oct 17, 2023
Issue #, if available:

*Description of changes:*

Failure seen in mac e2e tests on branch `windev`:
https://github.com/runfinch/finch/actions/runs/6413564599/job/17412684261?pr=584

update OS image refs. hashes are already correct in windev branch.
revert a change to the fedora lima template path. This `lima-template`
rule is only used on macOS:

https://github.com/runfinch/finch-core/blob/22af4e43c95b2ac591754fc817228b8aff9deddf/Makefile#L79-L93

*Testing done:*

On both windows and macOS dev machines:

```
# .gitmodules
[submodule "finch-core"]
	path = deps/finch-core
	url = https://github.com/ginglis13/finch-core.git
	branch = makefile-fix
```

```
make
./_output/bin/finch vm init
```

- [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: Gavin Inglis <giinglis@amazon.com>
Signed-off-by: Vishwas Siravara <siravara@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants