Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Display net info on QR code page #525

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Display net info on QR code page #525

merged 3 commits into from
Sep 10, 2024

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented Sep 10, 2024

Signed-off-by: Itxaka <itxaka@kairos.io>
@Itxaka Itxaka requested a review from a team September 10, 2024 10:16
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 50.14%. Comparing base (7328ad2) to head (afdfab1).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/agent/install.go 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #525      +/-   ##
==========================================
- Coverage   50.17%   50.14%   -0.04%     
==========================================
  Files          48       48              
  Lines        4570     4573       +3     
==========================================
  Hits         2293     2293              
- Misses       2017     2020       +3     
  Partials      260      260              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -164,6 +167,7 @@ func Install(sourceImgURL string, dir ...string) error {

if tk != "" {
qr.Print(tk)
displayInfo(agentConfig)
Copy link
Contributor

Choose a reason for hiding this comment

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

I can't follow the code. When does this happen?

Copy link
Member Author

Choose a reason for hiding this comment

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

on images with provider during boot it triggers the install and shows the QR code and waits for an event. Its weird, yeah

@Itxaka Itxaka merged commit 17699f4 into main Sep 10, 2024
14 checks passed
@Itxaka Itxaka deleted the webui_info branch September 10, 2024 13:50
renovate bot referenced this pull request in kairos-io/provider-kairos Sep 19, 2024
…4.1 (#638)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/kairos-io/kairos-agent/v2](https://github.com/kairos-io/kairos-agent)
| `v2.14.0` -> `v2.14.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.14.0/v2.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fkairos-io%2fkairos-agent%2fv2/v2.14.0/v2.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kairos-io/kairos-agent
(github.com/kairos-io/kairos-agent/v2)</summary>

###
[`v2.14.1`](https://github.com/kairos-io/kairos-agent/releases/tag/v2.14.1)

[Compare
Source](https://github.com/kairos-io/kairos-agent/compare/v2.14.0...v2.14.1)

#### What's Changed

- Bump go to 1.23.1 by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/526](https://github.com/kairos-io/kairos-agent/pull/526)
- Display net info on QR code page by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/525](https://github.com/kairos-io/kairos-agent/pull/525)
- chore(deps): update securego/gosec action to v2.21.1 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/528](https://github.com/kairos-io/kairos-agent/pull/528)
- fix(deps): update module github.com/kairos-io/kairos-sdk to v0.4.3 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/529](https://github.com/kairos-io/kairos-agent/pull/529)
- Fail if remote url address doesnt exist by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/527](https://github.com/kairos-io/kairos-agent/pull/527)
- fix(deps): update module github.com/google/go-github/v63 to v64 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/532](https://github.com/kairos-io/kairos-agent/pull/532)
- chore(deps): update google/osv-scanner-action action to v1.8.5 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/534](https://github.com/kairos-io/kairos-agent/pull/534)
- fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/533](https://github.com/kairos-io/kairos-agent/pull/533)
- Improve get partitions and reset spec by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/530](https://github.com/kairos-io/kairos-agent/pull/530)
- fix(deps): update module k8s.io/mount-utils to v0.31.1 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/536](https://github.com/kairos-io/kairos-agent/pull/536)
- Fix upgrade size calculation inside k8s by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/537](https://github.com/kairos-io/kairos-agent/pull/537)
- Do not skip /run when counting the size by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/538](https://github.com/kairos-io/kairos-agent/pull/538)
- fix(deps): update module github.com/google/go-github/v63 to v64 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/539](https://github.com/kairos-io/kairos-agent/pull/539)
- fix(deps): update module github.com/twpayne/go-vfs/v4 to v5 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/540](https://github.com/kairos-io/kairos-agent/pull/540)
- fix(deps): update module github.com/kairos-io/kairos-sdk to v0.4.4 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/541](https://github.com/kairos-io/kairos-agent/pull/541)
- fix(deps): update module github.com/google/go-github/v64 to v65 by
[@&#8203;renovate](https://github.com/renovate) in
[https://github.com/kairos-io/kairos-agent/pull/542](https://github.com/kairos-io/kairos-agent/pull/542)
- Move to use our ghw clone by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/535](https://github.com/kairos-io/kairos-agent/pull/535)
- Run tests in parallel and output github formats on workflow by
[@&#8203;Itxaka](https://github.com/Itxaka) in
[https://github.com/kairos-io/kairos-agent/pull/543](https://github.com/kairos-io/kairos-agent/pull/543)

**Full Changelog**:
kairos-io/kairos-agent@v2.14.0...v2.14.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
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/kairos-io/provider-kairos).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Display WebUI URL on console
2 participants