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

Use the smart_proxy_plugin.yml reusable GHA workflow #95

Merged
merged 4 commits into from
Nov 29, 2024

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 28, 2024

This is largely the same as test-gem, except it verifies that it at least implements support for Ruby versions that the Smart Proxy wants. It also implements the version selector by respecting SMART_PROXY_BRANCH in the Gemfile.

It also cleans up the Jenkins integration.

This is largely the same as test-gem, except it verifies that it at
least implements support for Ruby versions that the Smart Proxy wants.
It also implements the version selector by respecting SMART_PROXY_BRANCH
in the Gemfile.
By using GitHub Actions we no longer need Jenkins.
@ekohl
Copy link
Member Author

ekohl commented Nov 28, 2024

I don't think the test failure is related.

@evgeni
Copy link
Member

evgeni commented Nov 29, 2024

Correct, it's a bad test that was (accidentally) broken by theforeman/smart_proxy_dynflow@d6e6a73

Comment on lines -35 to +41
assert_equal 1, runner.publish_exit_status(0)
runner.publish_exit_status(0)
updates = runner.generate_updates
assert_equal 1, updates[{:suspended_action => nil}].exit_status
runner.publish_data('jid: 12345', 'stdout')
assert_equal 0, runner.publish_exit_status(0)
runner.publish_exit_status(0)
updates = runner.generate_updates
assert_equal 0, updates[{:suspended_action => nil}].exit_status
Copy link
Member

Choose a reason for hiding this comment

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

@adamruzicka would you mind having a look here whether the test fix looks sane to you? :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good, thank you.

Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

formal ack of changes done by @ekohl

@ekohl ekohl merged commit 946e7ee into theforeman:master Nov 29, 2024
11 of 12 checks passed
@ekohl
Copy link
Member Author

ekohl commented Nov 29, 2024

Thanks for the test fixes

@ekohl ekohl deleted the better-ci branch November 29, 2024 14:17
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