[MXS-4568] Test package rebuilding Created: 2023-03-30  Updated: 2023-05-12  Resolved: 2023-05-12

Status: Closed
Project: MariaDB MaxScale
Component/s: Packaging
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: markus makela Assignee: Timofey Turenko
Resolution: Fixed Votes: 0
Labels: None


 Description   

Verify that defining a new packaging release number with the -DMAXSCALE_BUILD_NUMBER=2 works and that a rebuild of an existing package correctly upgrades the package to the new one.

The steps to test are

  1. Build MaxScale normally
  2. Install MaxScale on a machine
  3. Build MaxScale again but this time with -DMAXSCALE_BUILD_NUMBER=2
  4. Check that MaxScale is upgraded to the package with the relese number set to 2


 Comments   
Comment by Johan Wikman [ 2023-03-30 ]

It is not sufficient to test this once. It has to be regularly tested so that once it is needed, one can be certain it works.

Comment by Timofey Turenko [ 2023-05-12 ]

task https://mdbe-buildbot.mariadb.net/#/builders/537 added to BB

  • builds Maxscale
  • builds Maxscale from the same branch with -DMAXSCALE_BUILD_NUMBER=2
  • executes upgrade test from first build to the second

"The version number of this release in x.y.z format" parameter should be `x.y.z-2`

Generated at Thu Feb 08 04:29:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.