Skip to content

replace r10k template with native puppet code #129

replace r10k template with native puppet code

replace r10k template with native puppet code #129

Triggered via pull request July 28, 2023 20:51
Status Cancelled
Total duration 1m 47s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
28s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Puppet / 8 (Ruby 3.2)
Canceling since a higher priority waiting request for '613/merge' exists
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L12
r10k::config on gentoo-2-x86_64 with defaults is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Function Call, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L26
r10k::config on gentoo-2-x86_64 modified file locations and ownership is expected to contain Class[r10k::params] Failure/Error: it { is_expected.to contain_class('r10k::params') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7)
Canceling since a higher priority waiting request for '613/merge' exists
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L28
r10k::config on gentoo-2-x86_64 modified file locations and ownership is expected to contain File[r10k.yaml] with ensure => "file", owner => "root", group => "root", mode => "0644" and path => "/etc/r10k.yaml" Failure/Error: expect(subject).to contain_file('r10k.yaml').with( ensure: 'file', owner: 'root', group: 'root', mode: '0644', path: '/etc/r10k.yaml' ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7)
The operation was canceled.
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L46
r10k::config on gentoo-2-x86_64 set to value true and a configfile specified is expected to contain File[symlink_r10k.yaml] with ensure => "link", path => "/etc/r10k.yaml" and target => "/etc/puppetlabs/r10k/r10k.yaml" Failure/Error: expect(subject).to contain_file('symlink_r10k.yaml').with( ensure: 'link', path: '/etc/r10k.yaml', target: '/etc/puppetlabs/r10k/r10k.yaml' ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L62
r10k::config on gentoo-2-x86_64 Managing r10k with rugged turned on via git_settings is expected to contain File[r10k.yaml] with content =~ /git:\n.*private_key: "\/root\/\.ssh\/id_dsa"\n.*provider: rugged\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{git:\n.*private_key: "/root/\.ssh/id_dsa"\n.*provider: rugged\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L77
r10k::config on gentoo-2-x86_64 managing git repository settings is expected to contain File[r10k.yaml] with content =~ /git:\n\s+repositories:\n\s+- remote: https:\/\/github\.com\/voxpupuli\/fake_repo\n\s+proxy: http:\/\/some\.proxy\.com\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{git:\n\s+repositories:\n\s+- remote: https://github\.com/voxpupuli/fake_repo\n\s+proxy: http://some\.proxy\.com\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L87
r10k::config on gentoo-2-x86_64 manage forge settings of r10k via forge_settings is expected to contain File[r10k.yaml] with content =~ /forge:\n.*baseurl: https:\/\/forgeapi\.puppetlabs\.com\n.*proxy: https:\/\/proxy\.example\.com:3128\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{forge:\n.*baseurl: https://forgeapi\.puppetlabs\.com\n.*proxy: https://proxy\.example\.com:3128\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L102
r10k::config on gentoo-2-x86_64 with optional parameter postrun specified with array of system call "/usr/bin/curl -F deploy=done http://my-app.site/endpoint" is expected to contain File[r10k.yaml] with content =~ /^.*:postrun: \["\/usr\/bin\/curl", "-F", "deploy=done", "http:\/\/my-app\.site\/endpoint"\]\n.*$/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^.*:postrun: \["/usr/bin/curl", "-F", "deploy=done", "http://my-app\.site/endpoint"\]\n.*$}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L112
r10k::config on gentoo-2-x86_64 with empty proxy is expected to contain File[r10k.yaml] with content !~ /^:proxy: .*$/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').without_content(%r{^:proxy: .*$}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L122
r10k::config on gentoo-2-x86_64 with proxy is expected to contain File[r10k.yaml] with content =~ /^:proxy: https:\/\/proxy.local:8080$/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^:proxy: https://proxy.local:8080$}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: parameter 'git_settings' expects a Hash value, got Undef parameter 'forge_settings' expects a Hash value, got Undef parameter 'deploy_settings' expects a Hash value, got Undef parameter 'postrun' expects an Array value, got Undef (line: 2, column: 1) on node fv-az456-736.pz3zgpkwtp5upndvo5fpvb2pcg.dx.internal.cloudapp.net