-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add Puppet 8 support #173
Add Puppet 8 support #173
Conversation
I saw similar issues for the modules of @opus-codium, and a ModuleSync update helped. #170 was about it but I got stuck by ENTREPRISE LINUX issues. A quick fix of dropping CentOS 7 is I guess not acceptable 🙃 |
I think CentOS 7 is so old and we've the option to support EL8 and EL9, I think it's fine to drop CentOS 7 if it helps moving forward. |
b6cb300
to
fc09867
Compare
fc09867
to
91c9b79
Compare
91c9b79
to
b088766
Compare
and_return('id' => 777, 'token' => '3bz5wqfDiYBhxoUNuGVu') | ||
|
||
expect(described_object.task(params)).to eq('id' => 777, 'token' => '3bz5wqfDiYBhxoUNuGVu') | ||
expect(described_object.task(**params)).to eq('id' => 777, 'token' => '3bz5wqfDiYBhxoUNuGVu') |
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.
This fix
wrong number of arguments (given 1, expected 0)
@@ -15,17 +15,17 @@ | |||
describe '.task' do | |||
it 'can unregister a runner' do | |||
allow(PuppetX::Gitlab::Runner).to receive(:unregister). | |||
with('https://gitlab.example.org', token: 'abcdef1234'). | |||
with('https://gitlab.example.org', { token: 'abcdef1234' }). |
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.
This fix:
PuppetX::Gitlab::Runner received :unregister with unexpected arguments
expected: ("https://gitlab.example.org", {:token=>"abcdef1234"}) (keyword arguments)
got: ("https://gitlab.example.org", {:token=>"abcdef1234"}) (options hash)
Please stub a default value first if message might be received with other args as well.
5b84a85
to
2d84376
Compare
Comparing Puppet 7 and 8, we have this error with Puppet 8:
This led me to: |
2d84376
to
9e32310
Compare
9e32310
to
9b2ada9
Compare
Now that puppetlabs/puppetlabs-concat#789 is released in puppetlabs-concat 9.0.1, this will maybe pass with Puppet 8? Close and re-open to give it another try. |
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 like CI is happy now.
Add Puppet 8 support
No description provided.