Skip to content
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

23.0.2 - Cherry-picks for content-mismatch with 23.0.1 #631

Merged
merged 4 commits into from
Feb 22, 2024

Conversation

stejskalleos
Copy link
Contributor

I accidentally pushed version 23.0.1 from my repository [0] , making it unavailable in the upstream.

This PR will match the changes with my fork [1] and create a new 23.0.2 version with one additional fix [2]

[0] https://github.com/stejskalleos/foreman_discovery/commits/develop/
[1] https://my.diffend.io/gems/foreman_discovery/23.0.0/23.0.1
[2] 98aee2c

ekohl and others added 4 commits February 20, 2024 09:35
Since 735b40161176be270934998a126b42e90c0e9724[1] the host's facts are
cached, which is great at runtime but it breaks the tests. The cache can
be bypassed by calling it with a list of explicit fact names.

[1]: theforeman/foreman@735b401

(cherry picked from commit 1bb3b25)
Since Foreman 2.0 there has been a UserMenu service that provides the
entire user menu. At some point the UI also changed to retrieve this
dynamically rather than include it in the actual HTML. This rewrites the
test to use the service, rather than testing the base template
indirectly.

(cherry picked from commit 13fa3e7)
Redirect to the correct page after provisioning discovered hosts,
based on user settings.

(cherry picked from commit 1a11647)
The "unit" tests also include system tests.

(cherry picked from commit 248085b)
@stejskalleos stejskalleos merged commit a8d069e into theforeman:23-stable Feb 22, 2024
2 of 5 checks passed
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.

3 participants