Skip to content

Set PREV_VERSION to 13 on el10 PG 16 images - #663

Open
ShimShtein wants to merge 1 commit into
sclorg:masterfrom
ShimShtein:fix_prev_version_docs_16
Open

ShimShtein wants to merge 1 commit into
sclorg:masterfrom
ShimShtein:fix_prev_version_docs_16

Conversation

@ShimShtein

@ShimShtein ShimShtein commented Jul 1, 2026 •

Copy link
Copy Markdown

Fixes #661 The binaries inside the container for the previous version are from version 13, let's set the default ENV variables to match the packages.

Summary by CodeRabbit

  • Chores
    • Updated the PostgreSQL 16 container configuration to use PostgreSQL 13 as the referenced previous major version in supported image builds.
    • Applied the same environment setting update across both Linux image variants, with no other visible runtime or port changes.

Fixes sclorg#661
The binaries inside the container for the previous version are
from version 13, let's set the default ENV variables to match
the packages.
@coderabbitai

coderabbitai Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a02f3697-66ab-4985-b91c-da8adc215fd0

📥 Commits

Reviewing files that changed from the base of the PR and between f1c89bc and 0b4e201.

📒 Files selected for processing (2)
  • 16/Dockerfile.c10s
  • 16/Dockerfile.rhel10

📝 Walkthrough

Walkthrough

Both PostgreSQL 16 Dockerfiles (c10s and rhel10 variants) have their POSTGRESQL_PREV_VERSION environment variable value changed from 15 to 13, correcting the previous major version reference used for upgrade tooling.

Changes

PREV_VERSION correction

Layer / File(s) Summary
Update POSTGRESQL_PREV_VERSION value
16/Dockerfile.c10s, 16/Dockerfile.rhel10
POSTGRESQL_PREV_VERSION ENV setting changed from 15 to 13 in both Dockerfiles while POSTGRESQL_VERSION=16 remains unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Related issues: #661 (PostgreSQL 16 images based on EL10 have an incorrect POSTGRESQL_PREV_VERSION set)

Suggested labels: bug, el10

Suggested reviewers: phracek, praiskup

🐰 A hop, a fix, a tiny tweak,
from fifteen down to thirteen's peek,
the upgrade path now works just right,
my carrot patch sleeps sound tonight.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating PREV_VERSION to 13 for EL10 PostgreSQL 16 images.
Linked Issues check ✅ Passed The Dockerfile changes set POSTGRESQL_PREV_VERSION to 13 in both EL10 PostgreSQL 16 images, matching issue #661.
Out of Scope Changes check ✅ Passed The PR only updates the previous PostgreSQL version value in the two targeted Dockerfiles and adds no unrelated changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

Pull Request validation

Failed

🔴 Failed or pending statuses:

  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 18[error]
  • Testing Farm - RHEL10 - PyTest - OpenShift 4 - 18[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 15[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 12[error]
  • Testing Farm - RHEL10 - PyTest - OpenShift 4 - 16[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 13[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 13[error]
  • Testing Farm - RHEL9 - PyTest - OpenShift 4 - 16[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 15[error]
  • Testing Farm - RHEL8 - PyTest - OpenShift 4 - 16[error]
  • Distgen check[failure]

🔴 Review - Missing review from a member (1 required)


Triggered by Workflow Run

@pkubatrh

Copy link
Copy Markdown
Member

[test-all]

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - 16Fedora-latestx86_64✅ passed26.10.2026 08:58:0211min 54stest pipeline
Fedora - PyTest - 16Fedora-latestx86_64✅ passed26.10.2026 08:58:0212min 51stest pipeline
CentOS Stream 10 - 16CentOS-Stream-10x86_64✅ passed26.10.2026 08:58:0414min 1stest pipeline
Fedora - PyTest - 15Fedora-latestx86_64✅ passed26.10.2026 08:58:0413min 41stest pipeline
Fedora - PyTest - 18Fedora-latestx86_64✅ passed26.10.2026 08:58:3312min 54stest pipeline
CentOS Stream 10 - 18CentOS-Stream-10x86_64✅ passed26.10.2026 08:58:0315min 7stest pipeline
CentOS Stream 9 - 13CentOS-Stream-9x86_64✅ passed26.10.2026 08:58:1815min 7stest pipeline
CentOS Stream 9 - 18CentOS-Stream-9x86_64✅ passed26.10.2026 08:58:0416min 24stest pipeline
CentOS Stream 9 - PyTest - 16CentOS-Stream-9x86_64✅ passed26.10.2026 08:58:0318min 12stest pipeline
CentOS Stream 9 - PyTest - 18CentOS-Stream-9x86_64✅ passed26.10.2026 08:58:0318min 41stest pipeline
Fedora - 18Fedora-latestx86_64✅ passed26.10.2026 09:16:2311min 39stest pipeline
CentOS Stream 10 - PyTest - 16CentOS-Stream-10x86_64✅ passed26.10.2026 09:14:3815min 19stest pipeline
CentOS Stream 9 - PyTest - 13CentOS-Stream-9x86_64✅ passed26.10.2026 09:14:2316min 9stest pipeline
CentOS Stream 9 - PyTest - 15CentOS-Stream-9x86_64✅ passed26.10.2026 09:14:2619min 3stest pipeline
CentOS Stream 10 - PyTest - 18CentOS-Stream-10x86_64✅ passed26.10.2026 09:18:2417min 33stest pipeline
Fedora - 15Fedora-latestx86_64✅ passed26.10.2026 09:32:4711min 34stest pipeline
RHEL10 - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 09:12:2438min 12stest pipeline
RHEL8 - 13RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 09:18:2737min 31stest pipeline
RHEL10 - Unsubscribed host - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 08:58:021h 1min 49stest pipeline
RHEL9 - Unsubscribed host - PyTest - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:12:5949min 28stest pipeline
RHEL8 - 16RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 09:10:1953min 51stest pipeline
RHEL9 - PyTest - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:12:2450min 28stest pipeline
RHEL10 - Unsubscribed host - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 08:58:031h 7min 54stest pipeline
RHEL9 - Unsubscribed host - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 08:58:061h 6min 50stest pipeline
RHEL10 - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 09:36:5228min 50stest pipeline
RHEL9 - PyTest - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:12:2955min 5stest pipeline
RHEL9 - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:30:5937min 49stest pipeline
RHEL8 - 15RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 09:28:4941min 29stest pipeline
RHEL9 - Unsubscribed host - 15RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 08:58:021h 12min 52stest pipeline
RHEL10 - PyTest - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 08:58:041h 14min 28stest pipeline
RHEL8 - 12RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 08:58:031h 17min 11stest pipeline
CentOS Stream 9 - 16CentOS-Stream-9x86_64✅ passed26.10.2026 10:00:2815min 24stest pipeline
RHEL8 - PyTest - 16RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 08:58:041h 20min 16stest pipeline
RHEL9 - PyTest - 15RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:45:0535min 26stest pipeline
RHEL9 - PyTest - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 08:58:041h 24min 12stest pipeline
RHEL9 - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:34:4946min 57stest pipeline
RHEL9 - Unsubscribed host - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 09:52:4741min 55stest pipeline
RHEL8 - PyTest - 12RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 08:58:041h 36min 36stest pipeline
RHEL8 - PyTest - 15RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 09:56:5142min 54stest pipeline
RHEL10 - Unsubscribed host - PyTest - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 10:09:0232min 23stest pipeline
RHEL10 - PyTest - 16RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 10:07:1534min 38stest pipeline
RHEL10 - Unsubscribed host - PyTest - 18RHEL-10.2-Nightlyx86_64✅ passed26.10.2026 10:09:5534min 5stest pipeline
RHEL9 - 13RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 10:12:2737min 9stest pipeline
RHEL9 - 15RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 10:11:1838min 31stest pipeline
RHEL9 - PyTest - OpenShift 4 - 18RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 10:22:3631min 4stest pipeline
RHEL10 - PyTest - OpenShift 4 - 18RHEL-10.2-Nightlyx86_64❌ error26.10.2026 10:41:2314min 57stest pipeline
RHEL9 - PyTest - OpenShift 4 - 15RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 10:14:4043min 28stest pipeline
RHEL8 - PyTest - OpenShift 4 - 12RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 10:16:4842min 5stest pipeline
RHEL10 - PyTest - OpenShift 4 - 16RHEL-10.2-Nightlyx86_64❌ error26.10.2026 10:23:2135min 4stest pipeline
RHEL8 - PyTest - OpenShift 4 - 13RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 10:20:4239min 56stest pipeline
RHEL9 - Unsubscribed host - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 10:06:3754min 36stest pipeline
RHEL9 - Unsubscribed host - PyTest - 16RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 10:06:4256min 44stest pipeline
RHEL9 - Unsubscribed host - PyTest - 15RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 10:04:4958min 23stest pipeline
RHEL8 - PyTest - 13RHEL-8.10.0-Nightlyx86_64✅ passed26.10.2026 10:03:581h 5min 37stest pipeline
RHEL9 - Unsubscribed host - PyTest - 18RHEL-9.8.0-Nightlyx86_64✅ passed26.10.2026 10:04:561h 7min 54stest pipeline
RHEL9 - PyTest - OpenShift 4 - 13RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 10:16:311h 1min 4stest pipeline
RHEL9 - PyTest - OpenShift 4 - 16RHEL-9.8.0-Nightlyx86_64❌ error26.10.2026 10:36:4144min 30stest pipeline
RHEL8 - PyTest - OpenShift 4 - 15RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 10:21:341h 2min 10stest pipeline
RHEL8 - PyTest - OpenShift 4 - 16RHEL-8.10.0-Nightlyx86_64❌ error26.10.2026 10:35:0954min 32stest pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PostgreSQL 16 images based on EL10 have an incorrect POSTGRESQL_PREV_VERSION set

2 participants