-
Notifications
You must be signed in to change notification settings - Fork 162
feat: Add PostgreSQL container deployment for BuildStreaM job persistence #3891
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
base: pub/build_stream
Are you sure you want to change the base?
Conversation
Venu-p1
commented
Jan 28, 2026
- Deploy postgres:16 via Systemd Quadlet (omnia_core → postgres → build_stream)
- Add postgres_password to credential utility (user-prompted)
- Wire DATABASE_URL to BuildStream container
…ence - Deploy postgres:16 via Systemd Quadlet (omnia_core → postgres → build_stream) - Add postgres_password to credential utility (user-prompted) - Wire DATABASE_URL to BuildStream container - Add DB dependencies (sqlalchemy, psycopg2-binary, alembic)
…g container and other names to match build_stream
|
@Rajeshkumar-s2, please review |
|
run omnia-checkers |
| # postgres credentials | ||
| postgres_user: "" | ||
| postgres_password: "" | ||
| postgres_db_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.
DB name can be part of build_stream_config.yml
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.
credentials only should be part of omnia credential file
common/library/module_utils/input_validation/schema/credential_rules.json
Show resolved
Hide resolved
Rajeshkumar-s2
left a comment
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.
The Python changes looks good to me
| pulp_base_url: "https://{{ admin_nic_ip }}:2225" | ||
|
|
||
| # PostgreSQL configuration (from postgres role) | ||
| postgres_user: "build_stream_user" |
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.
postgres user should not be default. it should be via input
| - { username: docker_username, password: docker_password } | ||
| mandatory: | ||
| - { password: pulp_password } | ||
| - { password: postgres_password } |
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.
postgres user to be updated