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

chore(main): release 0.5.0 #23

Closed

Conversation

github-actions[bot]
Copy link

🤖 I have created a release beep boop

0.5.0 (2023-03-19)

⚠ BREAKING CHANGES

  • persists nerdctl user data (#182)
  • changes persistent disk path to prevent collisions

Features

  • add finch cp command (#135) (5989361)
  • add finch vm status command (#83) (37d74d0)
  • add config to support additional directories (#128) (0ceb060)
  • adds a --force flag to vm stop and remove (#178) (d499a7d)
  • Print version with Client and Server (#108) (7f7cdda)
  • saves containerd user data to a persistent disk (#133) (fccb4f3)
  • Support special IP host-gateway in --add-host flag (#216) (9a38c8e)

Bug Fixes

  • changes persistent disk path to prevent collisions (3eb66a2)
  • Configure Buildkit Namespace as Env Variable (#129) (ffb90be)
  • correctly handle local environment value pass-through (#158) (e138f10)
  • error readable by using the right placeholder (#39) (8e5f38d)
  • fix the misleading log when applying invalid config (#119) (b4f74c5)
  • ignore .ssh pub keys (#109) (0b74597)
  • parse --add-host special ip with equal sign (#229) (fb4b62b)
  • persists nerdctl user data (#182) (59f372c)
  • persists network user data (#211) (f6baf82)
  • print debug logs after newline (#273) (8faa7de)
  • print debug logs when lima disk command fails (#270) (78a3f50)
  • switch from rootless containers to rootful containers (#232) (ae43a07)

Build System or External Dependencies

  • deps: bump finch-core to 0.1.1 (#93) (3f3bce5)
  • deps: Bump github.com/containerd/containerd from 1.6.14 to 1.6.18 (#223) (7480222)
  • deps: Bump github.com/google/go-licenses from 1.5.0 to 1.6.0 (#168) (bb5674c)
  • deps: Bump github.com/lima-vm/lima from 0.12.0 to 0.13.0 (#40) (520cc7f)
  • deps: Bump github.com/lima-vm/lima from 0.13.0 to 0.14.0 (#113) (9b275bc)
  • deps: Bump github.com/lima-vm/lima from 0.14.0 to 0.14.1 (#120) (9dea794)
  • deps: Bump github.com/lima-vm/lima from 0.14.1 to 0.14.2 (#130) (26b7b09)
  • deps: bump github.com/lima-vm/lima from 0.14.2 to 0.15.0 (#247) (007081e)
  • deps: Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (#50) (fa108fd)
  • deps: Bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0 (#114) (934521c)
  • deps: Bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1 (#121) (becbc44)
  • deps: Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.7.1 (#193) (7aaa381)
  • deps: Bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 (#200) (596ed33)
  • deps: Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.3 (#233) (1185372)
  • deps: bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 (#245) (5e64716)
  • deps: bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 (#265) (7e2d49e)
  • deps: bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 (#285) (d741a03)
  • deps: Bump github.com/onsi/gomega from 1.24.1 to 1.24.2 (#122) (d8174ff)
  • deps: Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 (#165) (e4b9e96)
  • deps: Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 (#183) (12661b7)
  • deps: Bump github.com/onsi/gomega from 1.26.0 to 1.27.1 (#234) (cd43781)
  • deps: bump github.com/onsi/gomega from 1.27.1 to 1.27.2 (#246) (863c51e)
  • deps: Bump github.com/runfinch/common-tests from 0.1.1 to 0.2.0 (#125) (1bac92a)
  • deps: Bump github.com/runfinch/common-tests from 0.2.0 to 0.3.0 (#151) (79df04e)
  • deps: Bump github.com/runfinch/common-tests from 0.5.0 to 0.6.0 (#235) (4a33a2e)
  • deps: bump github.com/runfinch/common-tests from 0.6.1 to 0.6.2 (#300) (dd626a0)
  • deps: Bump github.com/runfinch/common-tests version from v0.1.0 to v0.1.1 (#76) (fd22d4a)
  • deps: Bump github.com/runfinch/common-tests version from v0.3.0 to v0.3.1 (#169) (16157fe)
  • deps: Bump github.com/spf13/afero from 1.9.2 to 1.9.3 (#43) (bf0ad84)
  • deps: Bump github.com/spf13/afero from 1.9.3 to 1.9.4 (#241) (58f26e6)
  • deps: bump github.com/spf13/afero from 1.9.4 to 1.9.5 (#263) (a0e277f)
  • deps: Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#44) (31c6d70)
  • deps: bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#244) (984af70)
  • deps: Bump github.com/xorcare/pointer from 1.2.1 to 1.2.2 (#42) (8e83137)
  • deps: Bump golang.org/x/crypto from 0.1.0 to 0.3.0 (#49) (89826cf)
  • deps: Bump golang.org/x/crypto from 0.3.0 to 0.4.0 (#102) (d2778e3)
  • deps: Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (#138) (8d06eec)
  • deps: Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (#144) (603419a)
  • deps: Bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#212) (e1a36cf)
  • deps: bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#264) (ec1c07f)
  • deps: Bump golang.org/x/tools from 0.2.0 to 0.3.0 (#52) (27c8f24)
  • deps: Bump golang.org/x/tools from 0.3.0 to 0.4.0 (#101) (b3c4df1)
  • deps: Bump golang.org/x/tools from 0.4.0 to 0.5.0 (#139) (89194dc)
  • deps: Bump golang.org/x/tools from 0.5.0 to 0.6.0 (#215) (decf250)
  • deps: bump golang.org/x/tools from 0.6.0 to 0.7.0 (#268) (8072e39)
  • deps: Bump k8s.io/apimachinery from 0.25.2 to 0.25.4 (#51) (8f15779)
  • deps: Bump k8s.io/apimachinery from 0.25.4 to 0.26.0 (#115) (e9084a4)
  • deps: Bump k8s.io/apimachinery from 0.26.0 to 0.26.1 (#174) (829b0bc)
  • deps: bump k8s.io/apimachinery from 0.26.1 to 0.26.2 (#251) (4a7268e)
  • deps: Bump lima version (#141) (35da07d)
  • deps: Bump lima version (#302) (0269743)
  • deps: Bump lima version (#75) (cfaa4f6)
  • deps: Bump submodules (#281) (d4fd1f6)
  • deps: Bump submodules (#304) (b38af9f)
  • make finch-core a submodule instead of downloading archives (#188) (b08f588)
  • update os image versions (#255) (576765b)

This PR was generated with Release Please. See documentation.

vsiravar and others added 19 commits March 7, 2023 13:27
submodules

Signed-off-by: Vishwas Siravara <[email protected]>
## Before

```sh
➜  finch git:(main) ✗ ./_output/bin/finch vm init
FATA[0000] exit status 1
```

## After

```sh
➜  finch git:(disk-combined-output) ✗ ./_output/bin/finch vm init
FATA[0000] failed to create disk, debug logs:
time="2023-03-07T13:35:02-08:00" level=fatal msg="disk \"finch\" already exists (\"/Users/davidhyc/dev/runfinch/finch/_output/lima/data/_disks/finch\")"
```

## Notes

The concept behind this PR is from:
https://github.com/runfinch/finch/blob/674b3794fe5f5902c264d5327024fb92e147e60f/cmd/finch/virtual_machine_init.go#L97-L101

## 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: Hsing-Yu (David) Chen <[email protected]>
## Why

It increases readability because debug logs can be multi-line.

## Before

```sh
➜  finch git:(main) ./_output/bin/finch vm init
INFO[0000] Initializing and starting Finch virtual machine...
ERRO[0000] Finch virtual machine failed to start, debug logs: time="2023-03-07T14:50:40-08:00" level=info msg="Terminal is not available, proceeding without opening an editor"
time="2023-03-07T14:50:40-08:00" level=fatal msg="field `images[0].digest` is invalid: sha256:156de3fd8a0c7e80dea9054aa9a0873e111efc16e5d8519929f913a1ca5ae9: invalid checksum digest length"
FATA[0000] exit status 1
```

## After

```sh
➜  finch git:(debug-logs-newline) ✗ ./_output/bin/finch vm init
INFO[0000] Initializing and starting Finch virtual machine...
ERRO[0000] Finch virtual machine failed to start, debug logs:
time="2023-03-07T14:49:45-08:00" level=info msg="Terminal is not available, proceeding without opening an editor"
time="2023-03-07T14:49:45-08:00" level=fatal msg="field `images[0].digest` is invalid: sha256:156de3fd8a0c7e80dea9054aa9a0873e111efc16e5d8519929f913a1ca5ae9: invalid checksum digest length"
FATA[0000] exit status 1
```

## 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: Hsing-Yu (David) Chen <[email protected]>
…h#276)

## Summary

PR is a follow-up of runfinch#257.

## 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: Hsing-Yu (David) Chen <[email protected]>
## Why

Before this PR, if the pinned commit of any submodule is updated in the
remote tracking branch, folks need to explicitly add `--recurse` when
running `git pull` to also update the submodule to the updated commit.
Regarding our usage of submodules, since we only consume upstream
updates (i.e., not modifying them), and there're not many submodules,
which means that recursively updating them won't take a lot of time,
it's likely that we always want to recursively update all the submodules
when running `git pull`.

## Steps to Reproduce

Setup:

```sh
git clone --recurse-submodules --branch v0.4.0 https://github.com/runfinch/finch.git
cd finch
git checkout -b demo
git branch --set-upstream-to origin/main
git pull
```

Submodules are not updated:

```sh
➜  finch git:(demo) ✗ git --no-pager diff
diff --git a/deps/finch-core b/deps/finch-core
index eef2102..01e6162 160000
--- a/deps/finch-core
+++ b/deps/finch-core
@@ -1 +1 @@
-Subproject commit eef21029b89d7db00bddc6e426e4405c920b13ed
+Subproject commit 01e6162d6fd76fddb9d8ef59845c782a0b6ebafd
```

Fix it:

```sh
➜  finch git:(demo) ✗ git config submodule.recurse true
➜  finch git:(demo) ✗ git pull
Fetching submodule deps/finch-core
Fetching submodule deps/finch-core/src/lima
Fetching submodule deps/finch-core/src/socket_vmnet
Already up to date.
Submodule path 'deps/finch-core': checked out 'eef21029b89d7db00bddc6e426e4405c920b13ed'
Submodule path 'deps/finch-core/src/socket_vmnet': checked out 'ee27d206872fc861c2993264be93d2ccc2740f9c'
➜  finch git:(demo) git --no-pager diff
➜  finch git:(demo) echo $?
0
```

## Notes

If `submodule.stickyRecursiveClone` is set, and the repository is cloned
with `--recurse-submodules`, it'd also work, but it does not account for
the case when the repository is already cloned without
`--recurse-submodules`, so setting `git config submodule.recurse true`
seems to be the simplest way that works for all scenarios.

## 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: Hsing-Yu (David) Chen <[email protected]>
Issue #, if available: N/A

*Description of changes:*
Add workflow to update submodules in `finch`. 

#### Details
1. Workflow runs daily at 9am UTC. 
2. Has a `workflow_dispatch` trigger for manually running the workflow
in addition to the regular daily cadence.
*Testing done:*
Yes. See #2
Test with updating `FINCH_OS_BASENAME` :
https://github.com/vsiravar/finch-public/pull/4/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52


- [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]>
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Signed-off-by: GitHub <[email protected]>
Co-authored-by: vsiravar <[email protected]>
Issue #, if available:
Improving the e2e test coverage for additional disk.
*Description of changes:*
Adding test to retaining volume, network, and restart the container
after the VM is removed
*Testing done:*



- [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: Ang Zhou <[email protected]>
…runfinch#278)

Issue #, if available:

*Description of changes:*

*Testing done:*
https://github.com/runfinch/finch/actions/runs/4368693657/workflow
https://github.com/runfinch/finch/actions/runs/4367945800


- [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: Anqi Pang <[email protected]>
Issue #, if available:

*Description of changes:*
Schedule [update
dependencies](https://github.com/runfinch/finch/blob/main/.github/workflows/update-deps.yaml)
workflow which is currently triggered only by `workflow_dispatch`. This
workflow will run after dependencies are built in `finch-core` by
https://github.com/runfinch/finch-core/blob/main/.github/workflows/release.yaml(runs
at 9 am UTC on Tuesday) at 11 am UTC on Tuesday.
*Testing done:*
Yes. 
runfinch#291

- [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]>
…inch#285)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
runfinch#300)

Bumps
[github.com/runfinch/common-tests](https://github.com/runfinch/common-tests)
from 0.6.1 to 0.6.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/runfinch/common-tests/releases">github.com/runfinch/common-tests's
releases</a>.</em></p>
<blockquote>
<h2>v0.6.2</h2>
<h2><a
href="https://github.com/runfinch/common-tests/compare/v0.6.1...v0.6.2">0.6.2</a>
(2023-03-16)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix tests to match nerdctl 1.2.1 outputs (<a
href="https://redirect.github.com/runfinch/common-tests/issues/50">#50</a>)
(<a
href="https://github.com/runfinch/common-tests/commit/3d9b4f4794d8df965dd2d611b2bed59aabff7dc2">3d9b4f4</a>)</li>
</ul>
<h3>Build System or External Dependencies</h3>
<ul>
<li><strong>deps:</strong> bump github.com/onsi/ginkgo/v2 from 2.8.3 to
2.8.4 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/41">#41</a>)
(<a
href="https://github.com/runfinch/common-tests/commit/a9476c13bc4febd40a4f98cc8e6f8eebc04cfb5e">a9476c1</a>)</li>
<li><strong>deps:</strong> bump github.com/onsi/gomega from 1.27.1 to
1.27.2 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/40">#40</a>)
(<a
href="https://github.com/runfinch/common-tests/commit/e8fc71a9c94afe2084bfdb129de5f5828adfa8b8">e8fc71a</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/runfinch/common-tests/blob/main/CHANGELOG.md">github.com/runfinch/common-tests's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/runfinch/common-tests/compare/v0.6.1...v0.6.2">0.6.2</a>
(2023-03-16)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix tests to match nerdctl 1.2.1 outputs (<a
href="https://redirect.github.com/runfinch/common-tests/issues/50">#50</a>)
(<a
href="https://github.com/runfinch/common-tests/commit/3d9b4f4794d8df965dd2d611b2bed59aabff7dc2">3d9b4f4</a>)</li>
</ul>
<h3>Build System or External Dependencies</h3>
<ul>
<li><strong>deps:</strong> bump github.com/onsi/ginkgo/v2 from 2.8.3 to
2.8.4 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/41">#41</a>)
(<a
href="https://github.com/runfinch/common-tests/commit/a9476c13bc4febd40a4f98cc8e6f8eebc04cfb5e">a9476c1</a>)</li>
<li><strong>deps:</strong> bump github.com/onsi/gomega from 1.27.1 to
1.27.2 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/40">#40</a>)
(<a
href="https://github.com/runfinch/common-tests/commit/e8fc71a9c94afe2084bfdb129de5f5828adfa8b8">e8fc71a</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/runfinch/common-tests/commit/da6f643de4f9b9e1e2345c8195d968da9281a936"><code>da6f643</code></a>
chore(main): release 0.6.2 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/44">#44</a>)</li>
<li><a
href="https://github.com/runfinch/common-tests/commit/3d9b4f4794d8df965dd2d611b2bed59aabff7dc2"><code>3d9b4f4</code></a>
fix: Fix tests to match nerdctl 1.2.1 outputs (<a
href="https://redirect.github.com/runfinch/common-tests/issues/50">#50</a>)</li>
<li><a
href="https://github.com/runfinch/common-tests/commit/e8fc71a9c94afe2084bfdb129de5f5828adfa8b8"><code>e8fc71a</code></a>
build(deps): bump github.com/onsi/gomega from 1.27.1 to 1.27.2 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/40">#40</a>)</li>
<li><a
href="https://github.com/runfinch/common-tests/commit/a9476c13bc4febd40a4f98cc8e6f8eebc04cfb5e"><code>a9476c1</code></a>
build(deps): bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 (<a
href="https://redirect.github.com/runfinch/common-tests/issues/41">#41</a>)</li>
<li>See full diff in <a
href="https://github.com/runfinch/common-tests/compare/v0.6.1...v0.6.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/runfinch/common-tests&package-manager=go_modules&previous-version=0.6.1&new-version=0.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Signed-off-by: GitHub <[email protected]>
Co-authored-by: vsiravar <[email protected]>
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Signed-off-by: GitHub <[email protected]>
Co-authored-by: ahsan-z-khan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants