Skip to content

fix: update maru-runner to silence info log#925

Merged
UncleGedd merged 2 commits into
mainfrom
silence-maru-log-note
Sep 20, 2024
Merged

fix: update maru-runner to silence info log#925
UncleGedd merged 2 commits into
mainfrom
silence-maru-log-note

Conversation

@catsby

@catsby catsby commented Sep 18, 2024

Copy link
Copy Markdown
Contributor

Description

Remove the Saving log file note thats immediately present when running uds run by updating maru to a version that enforces log levels, and set the log level to warn.

NOTE: this PR updates uds-cli to use a branch from the maru-runner repo that has changes to logging, see defenseunicorns/maru-runner#141 . If that PR gets merged, this PR should be updated to pull from the main branch or a tagged release before merging.

Example output

Before this PR, we see a Saving log file note (as shown also in #916):

 ➜ ./build/uds-mac-apple run build-cli-mac-apple

  •  Saving log file to
       /var/folders/lk/181f8tjj7xg0c368tfmw35kr0000gn/T/maru-2024-09-18-14-33-53-205407822.log
  ✔  Completed "go list -f '{{.Version}}' -m github.com/derailed/k9s"
  ✔  Completed "go list -f '{{.Version}}' -m github.com/anchore/syft"
  [...]

After this change, if you run ./build/uds-mac-apple run build-cli-mac-apple twice, you'll see the new output (once to build the binary with the change, and a second time to actually use the new binary with the change):

 ➜ ./build/uds-mac-apple run build-cli-mac-apple
  ✔  Completed "go list -f '{{.Version}}' -m github.com/derailed/k9s"
  ✔  Completed "go list -f '{{.Version}}' -m github.com/anchore/syft"
  [...]

Related Issue

Fixes #916

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@catsby

catsby commented Sep 19, 2024

Copy link
Copy Markdown
Contributor Author

defenseunicorns/maru-runner#141 has been merged, just waiting on the next maru release to update this PR

@catsby catsby added this to the v0.16.0 milestone Sep 20, 2024
Signed-off-by: catsby <clint@ctshryock.com>
@catsby
catsby force-pushed the silence-maru-log-note branch from dfc1a2e to 42fe0e7 Compare September 20, 2024 18:32
@catsby
catsby marked this pull request as ready for review September 20, 2024 18:32

@UncleGedd UncleGedd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

perf

Screenshot 2024-09-20 at 1 37 09 PM

@UncleGedd
UncleGedd merged commit d9f9667 into main Sep 20, 2024
@UncleGedd
UncleGedd deleted the silence-maru-log-note branch September 20, 2024 18:45
chance-coleman referenced this pull request in defenseunicorns/uds-core Sep 23, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[defenseunicorns/uds-cli](https://redirect.github.com/defenseunicorns/uds-cli)
| minor | `0.15.0` -> `0.16.0` |
|
[defenseunicorns/uds-cli](https://redirect.github.com/defenseunicorns/uds-cli)
| minor | `v0.15.0` -> `v0.16.0` |

---

### Release Notes

<details>
<summary>defenseunicorns/uds-cli (defenseunicorns/uds-cli)</summary>

###
[`v0.16.0`](https://redirect.github.com/defenseunicorns/uds-cli/releases/tag/v0.16.0)

[Compare
Source](https://redirect.github.com/defenseunicorns/uds-cli/compare/v0.15.0...v0.16.0)

##### What's Changed

- fix: update renovate to hopefully fix uds-runtime dep by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/928](https://redirect.github.com/defenseunicorns/uds-cli/pull/928)
- chore(deps): update defenseunicorns/uds-common action to v0.13.0 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/935](https://redirect.github.com/defenseunicorns/uds-cli/pull/935)
- fix(deps): update module github.com/defenseunicorns/pkg/oci to v1.0.2
by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/934](https://redirect.github.com/defenseunicorns/uds-cli/pull/934)
- fix(deps): update module github.com/defenseunicorns/maru-runner to
v0.2.3 by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/933](https://redirect.github.com/defenseunicorns/uds-cli/pull/933)
- fix(deps): update kubernetes packages to v0.31.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/932](https://redirect.github.com/defenseunicorns/uds-cli/pull/932)
- chore(deps): update module github.com/prometheus/common to v0.59.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/877](https://redirect.github.com/defenseunicorns/uds-cli/pull/877)
- chore: manually bump uds-runtime to v0.4.0 by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/938](https://redirect.github.com/defenseunicorns/uds-cli/pull/938)
- fix: update maru-runner to silence info log by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/925](https://redirect.github.com/defenseunicorns/uds-cli/pull/925)
- chore: update uds ui docs by
[@&#8203;UncleGedd](https://redirect.github.com/UncleGedd) in
[https://github.com/defenseunicorns/uds-cli/pull/937](https://redirect.github.com/defenseunicorns/uds-cli/pull/937)
- fix: ensure runtime bins are included in releases by
[@&#8203;UncleGedd](https://redirect.github.com/UncleGedd) in
[https://github.com/defenseunicorns/uds-cli/pull/939](https://redirect.github.com/defenseunicorns/uds-cli/pull/939)

**Full Changelog**:
defenseunicorns/uds-cli@nightly-unstable...v0.16.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/defenseunicorns/uds-core).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
noahpb referenced this pull request in defenseunicorns/uds-core Sep 25, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[defenseunicorns/uds-cli](https://redirect.github.com/defenseunicorns/uds-cli)
| minor | `0.15.0` -> `0.16.0` |
|
[defenseunicorns/uds-cli](https://redirect.github.com/defenseunicorns/uds-cli)
| minor | `v0.15.0` -> `v0.16.0` |

---

### Release Notes

<details>
<summary>defenseunicorns/uds-cli (defenseunicorns/uds-cli)</summary>

###
[`v0.16.0`](https://redirect.github.com/defenseunicorns/uds-cli/releases/tag/v0.16.0)

[Compare
Source](https://redirect.github.com/defenseunicorns/uds-cli/compare/v0.15.0...v0.16.0)

##### What's Changed

- fix: update renovate to hopefully fix uds-runtime dep by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/928](https://redirect.github.com/defenseunicorns/uds-cli/pull/928)
- chore(deps): update defenseunicorns/uds-common action to v0.13.0 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/935](https://redirect.github.com/defenseunicorns/uds-cli/pull/935)
- fix(deps): update module github.com/defenseunicorns/pkg/oci to v1.0.2
by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/934](https://redirect.github.com/defenseunicorns/uds-cli/pull/934)
- fix(deps): update module github.com/defenseunicorns/maru-runner to
v0.2.3 by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/933](https://redirect.github.com/defenseunicorns/uds-cli/pull/933)
- fix(deps): update kubernetes packages to v0.31.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/932](https://redirect.github.com/defenseunicorns/uds-cli/pull/932)
- chore(deps): update module github.com/prometheus/common to v0.59.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/877](https://redirect.github.com/defenseunicorns/uds-cli/pull/877)
- chore: manually bump uds-runtime to v0.4.0 by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/938](https://redirect.github.com/defenseunicorns/uds-cli/pull/938)
- fix: update maru-runner to silence info log by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/925](https://redirect.github.com/defenseunicorns/uds-cli/pull/925)
- chore: update uds ui docs by
[@&#8203;UncleGedd](https://redirect.github.com/UncleGedd) in
[https://github.com/defenseunicorns/uds-cli/pull/937](https://redirect.github.com/defenseunicorns/uds-cli/pull/937)
- fix: ensure runtime bins are included in releases by
[@&#8203;UncleGedd](https://redirect.github.com/UncleGedd) in
[https://github.com/defenseunicorns/uds-cli/pull/939](https://redirect.github.com/defenseunicorns/uds-cli/pull/939)

**Full Changelog**:
defenseunicorns/uds-cli@nightly-unstable...v0.16.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/defenseunicorns/uds-core).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
docandrew referenced this pull request in defenseunicorns/uds-core Sep 25, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[defenseunicorns/uds-cli](https://redirect.github.com/defenseunicorns/uds-cli)
| minor | `0.15.0` -> `0.16.0` |
|
[defenseunicorns/uds-cli](https://redirect.github.com/defenseunicorns/uds-cli)
| minor | `v0.15.0` -> `v0.16.0` |

---

### Release Notes

<details>
<summary>defenseunicorns/uds-cli (defenseunicorns/uds-cli)</summary>

###
[`v0.16.0`](https://redirect.github.com/defenseunicorns/uds-cli/releases/tag/v0.16.0)

[Compare
Source](https://redirect.github.com/defenseunicorns/uds-cli/compare/v0.15.0...v0.16.0)

##### What's Changed

- fix: update renovate to hopefully fix uds-runtime dep by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/928](https://redirect.github.com/defenseunicorns/uds-cli/pull/928)
- chore(deps): update defenseunicorns/uds-common action to v0.13.0 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/935](https://redirect.github.com/defenseunicorns/uds-cli/pull/935)
- fix(deps): update module github.com/defenseunicorns/pkg/oci to v1.0.2
by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/934](https://redirect.github.com/defenseunicorns/uds-cli/pull/934)
- fix(deps): update module github.com/defenseunicorns/maru-runner to
v0.2.3 by [@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/933](https://redirect.github.com/defenseunicorns/uds-cli/pull/933)
- fix(deps): update kubernetes packages to v0.31.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/932](https://redirect.github.com/defenseunicorns/uds-cli/pull/932)
- chore(deps): update module github.com/prometheus/common to v0.59.1 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/defenseunicorns/uds-cli/pull/877](https://redirect.github.com/defenseunicorns/uds-cli/pull/877)
- chore: manually bump uds-runtime to v0.4.0 by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/938](https://redirect.github.com/defenseunicorns/uds-cli/pull/938)
- fix: update maru-runner to silence info log by
[@&#8203;catsby](https://redirect.github.com/catsby) in
[https://github.com/defenseunicorns/uds-cli/pull/925](https://redirect.github.com/defenseunicorns/uds-cli/pull/925)
- chore: update uds ui docs by
[@&#8203;UncleGedd](https://redirect.github.com/UncleGedd) in
[https://github.com/defenseunicorns/uds-cli/pull/937](https://redirect.github.com/defenseunicorns/uds-cli/pull/937)
- fix: ensure runtime bins are included in releases by
[@&#8203;UncleGedd](https://redirect.github.com/UncleGedd) in
[https://github.com/defenseunicorns/uds-cli/pull/939](https://redirect.github.com/defenseunicorns/uds-cli/pull/939)

**Full Changelog**:
defenseunicorns/uds-cli@nightly-unstable...v0.16.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/defenseunicorns/uds-core).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
catsby added a commit that referenced this pull request Oct 1, 2024
* main:
  chore(deps): update actions/checkout action to v4.2.0 (#943)
  fix: add suffix to smoke test logs (#947)
  chore: matrix testing pre-existing k3d clusters (#944)
  chore: remove nascent state tracking (#942)
  fix: ensure runtime bins are included in releases (#939)
  chore: update uds ui docs (#937)
  fix: update maru-runner to silence info log (#925)
  chore: manually bump uds-runtime to v0.4.0 (#938)
  chore(deps): update module github.com/prometheus/common to v0.59.1 (#877)
  fix(deps): update kubernetes packages to v0.31.1 (#932)
  fix(deps): update module github.com/defenseunicorns/maru-runner to v0.2.3 (#933)
  fix(deps): update module github.com/defenseunicorns/pkg/oci to v1.0.2 (#934)
  chore(deps): update defenseunicorns/uds-common action to v0.13.0 (#935)
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.

Remove extra output from uds run

2 participants