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

refactor: remove printing available Helm charts and versions when the Chart is not found #2944

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

phillebaba
Copy link
Member

Description

This change removes fetching the Chart index and listing available Helm charts and versions when the Chart is not found.

Related Issue

Relates to #2576

Checklist before merging

@phillebaba phillebaba requested review from a team as code owners August 29, 2024 16:23
Copy link

netlify bot commented Aug 29, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 5811817
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/66d16225775259000816f9e0

@phillebaba phillebaba changed the title remove: printing available Helm charts and versions when the Chart is not found refactor: remove printing available Helm charts and versions when the Chart is not found Aug 29, 2024
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/internal/packager/helm/repo.go 28.08% <ø> (+4.72%) ⬆️

schristoff
schristoff previously approved these changes Aug 29, 2024
@phillebaba
Copy link
Member Author

For anyone looking at this in the future. This helper function does not work with Helm charts from OCI registries as there is no index.

… not found

Signed-off-by: Philip Laine <philip.laine@gmail.com>
@phillebaba phillebaba added this pull request to the merge queue Aug 30, 2024
Merged via the queue into main with commit 10bf746 Aug 30, 2024
27 checks passed
@phillebaba phillebaba deleted the remove/list-helm-chart-versions branch August 30, 2024 15:56
mjnagel added a commit to defenseunicorns/uds-core that referenced this pull request Sep 5, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| ghcr.io/zarf-dev/packages/init | minor | `v0.38.3` -> `v0.39.0` |
| [zarf-dev/zarf](https://redirect.github.com/zarf-dev/zarf) | minor |
`v0.38.3` -> `v0.39.0` |

---

### Release Notes

<details>
<summary>zarf-dev/zarf (zarf-dev/zarf)</summary>

###
[`v0.39.0`](https://redirect.github.com/zarf-dev/zarf/releases/tag/v0.39.0)

[Compare
Source](https://redirect.github.com/zarf-dev/zarf/compare/v0.38.3...v0.39.0)

##### What's Changed

- chore: update dos games release by
[@&#8203;AustinAbro321](https://redirect.github.com/AustinAbro321) in
[zarf-dev/zarf#2921
- ci: id-token write application packages by
[@&#8203;AustinAbro321](https://redirect.github.com/AustinAbro321) in
[zarf-dev/zarf#2923
- docs: update dos games example by
[@&#8203;AustinAbro321](https://redirect.github.com/AustinAbro321) in
[zarf-dev/zarf#2924
- chore(deps): bump github/codeql-action from 3.26.4 to 3.26.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[zarf-dev/zarf#2927
- chore: schema adr by
[@&#8203;AustinAbro321](https://redirect.github.com/AustinAbro321) in
[zarf-dev/zarf#2600
- fix: remove use of pkg/errors by
[@&#8203;phillebaba](https://redirect.github.com/phillebaba) in
[zarf-dev/zarf#2937
- refactor: remove use of named returns in packager by
[@&#8203;phillebaba](https://redirect.github.com/phillebaba) in
[zarf-dev/zarf#2940
- chore(deps): bump github/codeql-action from 3.26.5 to 3.26.6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[zarf-dev/zarf#2948
- refactor: remove printing available Helm charts and versions when the
Chart is not found by
[@&#8203;phillebaba](https://redirect.github.com/phillebaba) in
[zarf-dev/zarf#2944
- refactor: remove connect strings from packager property by
[@&#8203;phillebaba](https://redirect.github.com/phillebaba) in
[zarf-dev/zarf#2941
- fix(ci): test-imports workflow breaks when called from a fork by
[@&#8203;AustinAbro321](https://redirect.github.com/AustinAbro321) in
[zarf-dev/zarf#2946
- feat: add health checks by
[@&#8203;phillebaba](https://redirect.github.com/phillebaba) in
[zarf-dev/zarf#2678
- refactor: move finding table printing to CLI by
[@&#8203;phillebaba](https://redirect.github.com/phillebaba) in
[zarf-dev/zarf#2960
- docs: update docs item in update Q2 roadmap by
[@&#8203;eknowles](https://redirect.github.com/eknowles) in
[zarf-dev/zarf#2958
- chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[zarf-dev/zarf#2957
- fix: progress bar image name flashes on push by
[@&#8203;AustinAbro321](https://redirect.github.com/AustinAbro321) in
[zarf-dev/zarf#2965

##### New Contributors

- [@&#8203;eknowles](https://redirect.github.com/eknowles) made their
first contribution in
[zarf-dev/zarf#2958

**Full Changelog**:
zarf-dev/zarf@v0.38.3...v0.39.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:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micah Nagel <micah.nagel@defenseunicorns.com>
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.

3 participants