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

PMM-12573 Update podman via UI. #3128

Merged
merged 13 commits into from
Oct 21, 2024
Merged

PMM-12573 Update podman via UI. #3128

merged 13 commits into from
Oct 21, 2024

Conversation

BupycHuk
Copy link
Member

@BupycHuk BupycHuk commented Aug 5, 2024

PMM-12573

Link to the Feature Build: SUBMODULES-3682

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 40.00000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 43.42%. Comparing base (8fe0d76) to head (27105d2).
Report is 1 commits behind head on v3.

Files with missing lines Patch % Lines
managed/services/server/updater.go 40.00% 16 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #3128      +/-   ##
==========================================
- Coverage   43.42%   43.42%   -0.01%     
==========================================
  Files         360      360              
  Lines       43947    43977      +30     
==========================================
+ Hits        19084    19096      +12     
- Misses      23203    23219      +16     
- Partials     1660     1662       +2     
Flag Coverage Δ
admin 11.49% <ø> (ø)
agent 51.80% <ø> (ø)
managed 45.16% <40.00%> (-0.01%) ⬇️
vmproxy 68.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@BupycHuk BupycHuk marked this pull request as ready for review August 6, 2024 10:01
@BupycHuk BupycHuk requested a review from a team as a code owner August 6, 2024 10:01
@BupycHuk BupycHuk requested review from idoqo and JiriCtvrtka and removed request for a team August 6, 2024 10:01
@BupycHuk BupycHuk changed the title PMM-12573 Update UI podman. PMM-12573 Update podman via UI. Aug 6, 2024
@@ -1,5 +1,5 @@
PMM_WATCHTOWER_HOST=http://watchtower:8080
PMM_WATCHTOWER_TOKEN=123
PMM_SERVER_UPDATE_VERSION=docker.io/perconalab/pmm-server:3-dev-container
PMM_DEV_UPDATE_DOCKER_IMAGE=docker.io/perconalab/pmm-server:3-dev-container
Copy link
Member Author

Choose a reason for hiding this comment

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

it will be dropped before GA

@@ -409,6 +423,27 @@ func (up *Updater) checkWatchtowerHost() error {
return nil
}

func (up *Updater) updateEnvironmentVariables(filename string, name string) error {
if len(strings.Split(name, "/")) < 3 {
name = "docker.io/" + name
Copy link
Member Author

Choose a reason for hiding this comment

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

podman requires full name to update.

@@ -1,5 +1,5 @@
PMM_WATCHTOWER_HOST=http://watchtower:8080
PMM_WATCHTOWER_TOKEN=123
PMM_SERVER_UPDATE_VERSION=docker.io/perconalab/pmm-server:3-dev-container
PMM_DEV_UPDATE_DOCKER_IMAGE=docker.io/perconalab/pmm-server:3-dev-container
PMM_IMAGE={{ pmm_server_image_name }}
PMM_DISTRIBUTION_METHOD={{ pmm_distribution_method }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Just small thing there is missing empty line at end of file.

PMM_WATCHTOWER_HOST=http://watchtower:8080
PMM_WATCHTOWER_TOKEN=123
PMM_IMAGE=docker.io/perconalab/pmm-server:3-dev-latest
PMM_DISTRIBUTION_METHOD=ami
Copy link
Contributor

Choose a reason for hiding this comment

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

Just small thing there is missing empty line at end of file.

@BupycHuk BupycHuk enabled auto-merge (squash) October 21, 2024 13:45
@BupycHuk BupycHuk merged commit 50d1e9a into v3 Oct 21, 2024
31 checks passed
@BupycHuk BupycHuk deleted the PMM-12573-update-ui-podman branch October 21, 2024 13:55
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