Ability to update to a different docker tag

Description

* Problem statement:

Users might install PMM with non-default tag like percona/pmm-server:3.1.0, but watchtower doesn't support upgrade for non-equal docker tags.
Our QA team need to be able to test upgrade, so we need to make it possible to upgrade to non-same and non-latest docker tag.

  • Design (if applicable):*

 

* Acceptance criteria:

Users are able to upgrade from one image tag to another.
Users are able to change docker tag to update after start.

Out of scope:

 

Suggested implementation:

 Ability to provide some file to select next update version.

How to test:

 

Details:
Right now watchtower can upgrade only to the same docker tag like
percona/pmm-server:latest → percona/pmm-server:latest

but we need to support
percona/pmm-server:3.1.0 → percona/pmm-server:3.2.0
or
percona/pmm-server:3.0.0 → perconalab/pmm-server:dev-latest

Feature will not be documented, only for internal usage

How to test

instructions below is additional to instructions in
Test with

  • Use PMM_DEV_UPDATE_DOCKER_IMAGE to update to any docker container

  • Create file /etc/pmm-server-update-version.json with a structure like below to get a notification about new version and update to it

How to document

None

tested by

Smart Checklist

hide

Activity

Show:

Dan Sindelka April 19, 2023 at 2:58 PM

Moving tickets back to in progress as FB currently cannot be build. Testing can continue when FB is ready

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Smart Checklist Progress

Smart Checklist

Created December 9, 2022 at 1:47 PM
Updated December 2, 2024 at 3:05 PM
Resolved June 24, 2024 at 8:43 AM