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

feat: supports adding files inside the VM to support bundles #549

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

sam-berning
Copy link
Contributor

Issue #, if available:

Description of changes:

Allows users to add files from inside their finch VM to a support bundle. The file can be specified in a config or in a command line flag with vm:/path/to/file/in/vm

Testing done:

make test-unit

manual testing

  • 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.

Copy link
Contributor

@ginglis13 ginglis13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should we also add something to the helptext for finch support-bundle generate to document the use case of vm:<file> ?

pkg/support/support.go Outdated Show resolved Hide resolved
@sam-berning sam-berning force-pushed the support-bundles-vm-files branch 2 times, most recently from fd49e67 to b6b3153 Compare August 31, 2023 01:06
ginglis13
ginglis13 previously approved these changes Aug 31, 2023
Copy link
Contributor

@ginglis13 ginglis13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nonblocking IMO, but do you think this change warrants e2e tests as well?

@sam-berning
Copy link
Contributor Author

LGTM. Nonblocking IMO, but do you think this change warrants e2e tests as well?

Yeah, I'll make a follow up PR

@sam-berning sam-berning merged commit 3b1df46 into runfinch:main Sep 8, 2023
13 checks passed
KevinLiAWS pushed a commit that referenced this pull request Sep 26, 2023
🤖 I have created a release *beep* *boop*
---


## [0.9.0](v0.8.0...v0.9.0)
(2023-09-25)


### Features

* support push with SOCI
([#578](#578))
([69721b7](69721b7))
* supports adding files inside the VM to support bundles
([#549](#549))
([3b1df46](3b1df46))


### Bug Fixes

* enables bridge-nf-call-iptables by default
([#539](#539))
([6ea1499](6ea1499))
* **Makefile:** use POSIX tar syntax for stdin
([#529](#529))
([e222131](e222131))


### Build System or External Dependencies

* **deps:** Bump github.com/docker/cli from 24.0.5+incompatible to
24.0.6+incompatible
([#560](#560))
([21bb893](21bb893))
* **deps:** Bump github.com/docker/docker from 24.0.5+incompatible to
24.0.6+incompatible
([#561](#561))
([e0160be](e0160be))
* **deps:** Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0
([#542](#542))
([8536481](8536481))
* **deps:** Bump github.com/runfinch/common-tests from 0.7.2 to 0.7.3
([#548](#548))
([a054ef3](a054ef3))
* **deps:** Bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8
([#552](#552))
([cf9399a](cf9399a))
* **deps:** Bump golang.org/x/crypto from 0.12.0 to 0.13.0
([#558](#558))
([f24264d](f24264d))
* **deps:** Bump golang.org/x/tools from 0.12.0 to 0.13.0
([#559](#559))
([0f56d23](0f56d23))
* **deps:** Bump k8s.io/apimachinery from 0.28.0 to 0.28.1
([#543](#543))
([675f76f](675f76f))
* **deps:** Bump k8s.io/apimachinery from 0.28.1 to 0.28.2
([#568](#568))
([915d658](915d658))
* **deps:** Bump submodules and dependencies
([#544](#544))
([94b7497](94b7497))
* **deps:** Bump submodules and dependencies
([#551](#551))
([baf645f](baf645f))
* **deps:** Bump submodules and dependencies
([#565](#565))
([c02413f](c02413f))
* **deps:** Bump submodules and dependencies
([#567](#567))
([f70314e](f70314e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
ginglis13 pushed a commit to ginglis13/finch that referenced this pull request Sep 27, 2023
…h#549)

Issue #, if available:

*Description of changes:*

Allows users to add files from inside their finch VM to a support
bundle. The file can be specified in a config or in a command line flag
with `vm:/path/to/file/in/vm`

*Testing done:*

```
make test-unit
```

manual testing


- [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: Sam Berning <[email protected]>
ginglis13 pushed a commit to ginglis13/finch that referenced this pull request Sep 27, 2023
🤖 I have created a release *beep* *boop*
---


## [0.9.0](runfinch/finch@v0.8.0...v0.9.0)
(2023-09-25)


### Features

* support push with SOCI
([runfinch#578](runfinch#578))
([69721b7](runfinch@69721b7))
* supports adding files inside the VM to support bundles
([runfinch#549](runfinch#549))
([3b1df46](runfinch@3b1df46))


### Bug Fixes

* enables bridge-nf-call-iptables by default
([runfinch#539](runfinch#539))
([6ea1499](runfinch@6ea1499))
* **Makefile:** use POSIX tar syntax for stdin
([runfinch#529](runfinch#529))
([e222131](runfinch@e222131))


### Build System or External Dependencies

* **deps:** Bump github.com/docker/cli from 24.0.5+incompatible to
24.0.6+incompatible
([runfinch#560](runfinch#560))
([21bb893](runfinch@21bb893))
* **deps:** Bump github.com/docker/docker from 24.0.5+incompatible to
24.0.6+incompatible
([runfinch#561](runfinch#561))
([e0160be](runfinch@e0160be))
* **deps:** Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0
([runfinch#542](runfinch#542))
([8536481](runfinch@8536481))
* **deps:** Bump github.com/runfinch/common-tests from 0.7.2 to 0.7.3
([runfinch#548](runfinch#548))
([a054ef3](runfinch@a054ef3))
* **deps:** Bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8
([runfinch#552](runfinch#552))
([cf9399a](runfinch@cf9399a))
* **deps:** Bump golang.org/x/crypto from 0.12.0 to 0.13.0
([runfinch#558](runfinch#558))
([f24264d](runfinch@f24264d))
* **deps:** Bump golang.org/x/tools from 0.12.0 to 0.13.0
([runfinch#559](runfinch#559))
([0f56d23](runfinch@0f56d23))
* **deps:** Bump k8s.io/apimachinery from 0.28.0 to 0.28.1
([runfinch#543](runfinch#543))
([675f76f](runfinch@675f76f))
* **deps:** Bump k8s.io/apimachinery from 0.28.1 to 0.28.2
([runfinch#568](runfinch#568))
([915d658](runfinch@915d658))
* **deps:** Bump submodules and dependencies
([runfinch#544](runfinch#544))
([94b7497](runfinch@94b7497))
* **deps:** Bump submodules and dependencies
([runfinch#551](runfinch#551))
([baf645f](runfinch@baf645f))
* **deps:** Bump submodules and dependencies
([runfinch#565](runfinch#565))
([c02413f](runfinch@c02413f))
* **deps:** Bump submodules and dependencies
([runfinch#567](runfinch#567))
([f70314e](runfinch@f70314e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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