Skip to content

Add source-built Horizon dashboard container - #89

Open
HanzJas wants to merge 1 commit into
openstack-k8s-operators:mainfrom
HanzJas:add-horizon-container
Open

Add source-built Horizon dashboard container#89
HanzJas wants to merge 1 commit into
openstack-k8s-operators:mainfrom
HanzJas:add-horizon-container

Conversation

@HanzJas

@HanzJas HanzJas commented Aug 17, 2026

Copy link
Copy Markdown

Package Horizon and the tcib UI plugins as openstack-horizon so it can be build from pinned upstream source.

Assisted-By: Cursor Grok 4.6

@openshift-ci

openshift-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign stuggi for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@HanzJas
HanzJas force-pushed the add-horizon-container branch 2 times, most recently from 24cb3c0 to 15cf5f5 Compare August 18, 2026 04:11

@amoralej amoralej left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The setup of the repos, dependencies and logic of containerfile looks correct. However, it has very horizon specific content. I'd appreciate review from another horizon maintainer.

It should also have an OWNERS file with the list of owners managing horizon container.

Comment on lines +194 to +198
pyver = "%d.%d" % sys.version_info[:2]; \
paths = glob.glob("/usr/lib/python%s/site-packages/*/locale" % pyver); \
paths.append("/usr/share/openstack-dashboard/openstack_dashboard/locale"); \
[subprocess.run(["django-admin", "compilemessages"], cwd=os.path.dirname(p), check=False) \
for p in paths if os.path.isdir(p)]'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No problem with this but out of curiosity, wouldn't be easier doing it in bash?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi @amoralej ,
Originally it was generated as bash, but it did not pass the linter check, see: https://github.com/openstack-k8s-operators/s2i-openstack-containers/actions/runs/32065668388/job/95497065045

That is the reason why it was rewritten in Python.
I changed it back and fixed only the linter issue in bash.

@HanzJas
HanzJas force-pushed the add-horizon-container branch from 15cf5f5 to 8907e4e Compare August 19, 2026 09:33
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 17907c80-5076-4827-92d4-92e63864dba4


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.

@HanzJas
HanzJas force-pushed the add-horizon-container branch 2 times, most recently from c3a0cb1 to 45ec60a Compare August 19, 2026 10:05
Comment thread containers/horizon/OWNERS
@@ -0,0 +1,12 @@
# See the OWNERS docs at https://www.kubernetes.dev/docs/guide/owners/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is the list of owners in horizon-operator for reference https://github.com/openstack-k8s-operators/horizon-operator/blob/main/OWNERS_ALIASES#L4-L8

user names seems to be very different. These user names seems unknown in the org.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks, my bad, should be fine now.

@amoralej

Copy link
Copy Markdown
Contributor

Please rebase on main

Package Horizon and the tcib UI plugins as openstack-horizon
so it can be build from pinned upstream source.

Assisted-By: Cursor Grok 4.6
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants