-
Notifications
You must be signed in to change notification settings - Fork 129
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
Conversation
Codecov ReportAttention: Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 }} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
4b06c24
to
6a7efaf
Compare
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:
If this PR is related to some other PRs in this or other repositories, please provide links to those PRs: