Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[minor] Rotate Db2 versions in release verification pipeline#2065

Merged
terc1997 merged 3 commits intomasterfrom
db12rotate
Jan 16, 2026
Merged

[minor] Rotate Db2 versions in release verification pipeline#2065
terc1997 merged 3 commits intomasterfrom
db12rotate

Conversation

@jainyjoseph
Copy link
Contributor

Description

This PR introduces support for rotating Db2 operand versions (v11 and v12) in the release verification (FVT) pipeline using a user-provided db2_channel=rotate value in dev mode.

When db2_channel is set to rotate, the pipeline dynamically alternates between Db2 v11 and v12 across different environments and/or different execution days. This allows continuous validation of both Db2 versions without requiring manual intervention.

Story

Jira 11100

What’s Changed

  • Added support for db2_channel=rotate as a valid user input in dev mode
  • Release verification (FVT) pipeline now:
  • Automatically selects Db2 v11 or v12 when rotate is specified
  • Alternates Db2 versions across runs, environments, or schedules
  • No impact to non-dev mode or production installations

Test Results

  1. Db2 channel resolution in dev mode:
    db2_channel=rotate
    → Db2 version is selected dynamically (v11 or v12)
  2. Explicit db2_channel=v11|v12
    → Requested version is used
  3. No db2_channel provided
    → Falls back to catalog-defined default

Positives

  • Continuous validation of both Db2 v11 and v12
  • Increased test coverage without duplicating pipelines
  • Early detection of Db2 version-specific regressions
  • Zero manual changes required in the FVT pipeline

NB:
Rotation logic is intentionally limited to dev mode / FVT pipelines
Non-dev flows remain fully deterministic


⚠️ Notes for Reviewers

  • Ensure you have understood the PR guidelines in the Playbook before proceeding with a review.
  • Ensure all sections in the PR template are appropriately completed.

@jainyjoseph jainyjoseph requested a review from a team as a code owner January 16, 2026 11:52
Copy link
Contributor

@terc1997 terc1997 left a comment

Choose a reason for hiding this comment

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

LGTM

@terc1997 terc1997 added this pull request to the merge queue Jan 16, 2026
Merged via the queue into master with commit 1fd6364 Jan 16, 2026
4 checks passed
@terc1997 terc1997 deleted the db12rotate branch January 16, 2026 17:14
@unnati-solanki-git
Copy link
Contributor

This got merged before I confirm. @jainyjoseph Can you please make the change as discussed over slack:

Can we agree on below schedule in that case?
rotate_db2_channel:
Monday: "v110509.0"
Tuesday: "v120101.0"
Wednesday: "v110509.0
Thursday: "v120101.0""
Friday: "v120101.0"
Saturday: "v120101.0""
Sunday: "v120101.0""

 This way, we will make sure that the Maint. schedule on Mon Wed and Fri will have v12 version testing as well.

karol-czarnecki added a commit that referenced this pull request Jan 23, 2026
commit 191ef3c
Author: JigarPatel2691 <[email protected]>
Date:   Fri Jan 23 16:10:53 2026 +0530

    [patch] Simplify assertion for COS resource ID check (#2079)

commit 485e7a9
Author: Társis Augusto <[email protected]>
Date:   Thu Jan 22 10:31:12 2026 -0300

    [patch] Fix broken conditionals (#2042)

commit 37bb5dc
Author: Alfishan Salar <[email protected]>
Date:   Wed Jan 21 17:06:55 2026 +0530

    [patch] Detect Manage and Facilities for ArcGIS installation : MASCORE-10766 (#2071)

    Co-authored-by: Mahammad Alfishan Salar <[email protected]>

commit cbebf54
Author: jainyjoseph <[email protected]>
Date:   Wed Jan 21 00:43:38 2026 +0530

    [minor] Support catalog-controlled Db2-channel version fallback in Ansible (#2064)

commit 24541be
Author: jainyjoseph <[email protected]>
Date:   Wed Jan 21 00:40:21 2026 +0530

    [patch] Updating schedule for Db2 rotate versions in release verification pipeline (#2072)

commit 1fd6364
Author: jainyjoseph <[email protected]>
Date:   Fri Jan 16 22:42:20 2026 +0530

    [minor] Rotate Db2 versions in release verification pipeline (#2065)

commit b63f3b1
Author: David Parker <[email protected]>
Date:   Thu Jan 15 12:06:40 2026 +0000

    [doc] More documentation enhancements (#2059)

commit 57f3be5
Author: David Parker <[email protected]>
Date:   Tue Jan 13 21:40:39 2026 +0000

    [doc] Enhance Role Documentation - Phase 1 (#2054)

commit 27789b9
Author: David Parker <[email protected]>
Date:   Tue Jan 13 11:56:02 2026 +0000

    [doc] Overhaul role docs (#2053)
karol-czarnecki added a commit that referenced this pull request Jan 26, 2026
commit 35fbaaa
Author: MaxRobak <[email protected]>
Date:   Fri Jan 23 14:53:38 2026 -0500

    [patch] Mongodb subnet nonetype error (#2081)

    Co-authored-by: Max Robakiewicz <[email protected]>

commit 191ef3c
Author: JigarPatel2691 <[email protected]>
Date:   Fri Jan 23 16:10:53 2026 +0530

    [patch] Simplify assertion for COS resource ID check (#2079)

commit 485e7a9
Author: Társis Augusto <[email protected]>
Date:   Thu Jan 22 10:31:12 2026 -0300

    [patch] Fix broken conditionals (#2042)

commit 37bb5dc
Author: Alfishan Salar <[email protected]>
Date:   Wed Jan 21 17:06:55 2026 +0530

    [patch] Detect Manage and Facilities for ArcGIS installation : MASCORE-10766 (#2071)

    Co-authored-by: Mahammad Alfishan Salar <[email protected]>

commit cbebf54
Author: jainyjoseph <[email protected]>
Date:   Wed Jan 21 00:43:38 2026 +0530

    [minor] Support catalog-controlled Db2-channel version fallback in Ansible (#2064)

commit 24541be
Author: jainyjoseph <[email protected]>
Date:   Wed Jan 21 00:40:21 2026 +0530

    [patch] Updating schedule for Db2 rotate versions in release verification pipeline (#2072)

commit 1fd6364
Author: jainyjoseph <[email protected]>
Date:   Fri Jan 16 22:42:20 2026 +0530

    [minor] Rotate Db2 versions in release verification pipeline (#2065)

commit b63f3b1
Author: David Parker <[email protected]>
Date:   Thu Jan 15 12:06:40 2026 +0000

    [doc] More documentation enhancements (#2059)

commit 57f3be5
Author: David Parker <[email protected]>
Date:   Tue Jan 13 21:40:39 2026 +0000

    [doc] Enhance Role Documentation - Phase 1 (#2054)

commit 27789b9
Author: David Parker <[email protected]>
Date:   Tue Jan 13 11:56:02 2026 +0000

    [doc] Overhaul role docs (#2053)
karol-czarnecki added a commit that referenced this pull request Jan 27, 2026
commit a984094
Author: mnivedithaa <[email protected]>
Date:   Tue Jan 27 15:28:28 2026 +0530

    [patch] Check for None in mongo and kafka roles (#2087)

    Co-authored-by: Nivedithaa Mahendran <[email protected]>

commit 678c277
Author: Andrew Whitfield <[email protected]>
Date:   Mon Jan 26 14:55:36 2026 +0000

    [patch] Fix bool checks in backup_restore and ocs provision (#2083)

commit 88207b5
Author: Andrew Whitfield <[email protected]>
Date:   Mon Jan 26 10:20:21 2026 +0000

    [skip ee] Fix skip ee condition (#2084)

commit 35fbaaa
Author: MaxRobak <[email protected]>
Date:   Fri Jan 23 14:53:38 2026 -0500

    [patch] Mongodb subnet nonetype error (#2081)

    Co-authored-by: Max Robakiewicz <[email protected]>

commit 191ef3c
Author: JigarPatel2691 <[email protected]>
Date:   Fri Jan 23 16:10:53 2026 +0530

    [patch] Simplify assertion for COS resource ID check (#2079)

commit 485e7a9
Author: Társis Augusto <[email protected]>
Date:   Thu Jan 22 10:31:12 2026 -0300

    [patch] Fix broken conditionals (#2042)

commit 37bb5dc
Author: Alfishan Salar <[email protected]>
Date:   Wed Jan 21 17:06:55 2026 +0530

    [patch] Detect Manage and Facilities for ArcGIS installation : MASCORE-10766 (#2071)

    Co-authored-by: Mahammad Alfishan Salar <[email protected]>

commit cbebf54
Author: jainyjoseph <[email protected]>
Date:   Wed Jan 21 00:43:38 2026 +0530

    [minor] Support catalog-controlled Db2-channel version fallback in Ansible (#2064)

commit 24541be
Author: jainyjoseph <[email protected]>
Date:   Wed Jan 21 00:40:21 2026 +0530

    [patch] Updating schedule for Db2 rotate versions in release verification pipeline (#2072)

commit 1fd6364
Author: jainyjoseph <[email protected]>
Date:   Fri Jan 16 22:42:20 2026 +0530

    [minor] Rotate Db2 versions in release verification pipeline (#2065)

commit b63f3b1
Author: David Parker <[email protected]>
Date:   Thu Jan 15 12:06:40 2026 +0000

    [doc] More documentation enhancements (#2059)

commit 57f3be5
Author: David Parker <[email protected]>
Date:   Tue Jan 13 21:40:39 2026 +0000

    [doc] Enhance Role Documentation - Phase 1 (#2054)

commit 27789b9
Author: David Parker <[email protected]>
Date:   Tue Jan 13 11:56:02 2026 +0000

    [doc] Overhaul role docs (#2053)
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