-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conversation
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.
I don't think the test failure is related. |
Correct, it's a bad test that was (accidentally) broken by theforeman/smart_proxy_dynflow@d6e6a73 |
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 |
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.
@adamruzicka would you mind having a look here whether the test fix looks sane to you? :)
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.
Looks good, thank you.
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.
formal ack of changes done by @ekohl
Thanks for the test fixes |
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.