simp-rake-helpers 5.9.1 → 5.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/lib/simp/ci/gitlab.rb +226 -0
  4. data/lib/simp/rake/ci.rb +31 -0
  5. data/lib/simp/rake/helpers/version.rb +1 -1
  6. data/lib/simp/rake/pupmod/helpers.rb +3 -0
  7. data/spec/lib/simp/ci/files/global_nodesets_only/spec/acceptance/nodesets/default.yml +41 -0
  8. data/spec/lib/simp/ci/files/global_nodesets_only/spec/acceptance/nodesets/oel.yml +41 -0
  9. data/spec/lib/simp/ci/files/job_broken_link_nodeset/spec/acceptance/nodesets/centos.yml +41 -0
  10. data/spec/lib/simp/ci/files/job_broken_link_nodeset/spec/acceptance/nodesets/oel.yml +41 -0
  11. data/spec/lib/simp/ci/files/job_broken_link_nodeset/spec/acceptance/suites/default/class_spec.rb +0 -0
  12. data/spec/lib/simp/ci/files/job_broken_link_nodeset/spec/acceptance/suites/default/nodesets +1 -0
  13. data/spec/lib/simp/ci/files/job_invalid_nodeset/spec/acceptance/nodesets/default.yml +41 -0
  14. data/spec/lib/simp/ci/files/job_invalid_nodeset/spec/acceptance/nodesets/oel.yml +41 -0
  15. data/spec/lib/simp/ci/files/job_invalid_nodeset/spec/acceptance/suites/default/class_spec.rb +0 -0
  16. data/spec/lib/simp/ci/files/job_invalid_nodeset/spec/acceptance/suites/default/nodesets +1 -0
  17. data/spec/lib/simp/ci/files/job_invalid_suite/spec/acceptance/nodesets/default.yml +41 -0
  18. data/spec/lib/simp/ci/files/job_invalid_suite/spec/acceptance/nodesets/oel.yml +41 -0
  19. data/spec/lib/simp/ci/files/job_invalid_suite/spec/acceptance/suites/default/class_spec.rb +0 -0
  20. data/spec/lib/simp/ci/files/job_invalid_suite/spec/acceptance/suites/default/nodesets +1 -0
  21. data/spec/lib/simp/ci/files/job_missing_nodeset/spec/acceptance/nodesets/default.yml +41 -0
  22. data/spec/lib/simp/ci/files/job_missing_nodeset/spec/acceptance/nodesets/oel.yml +41 -0
  23. data/spec/lib/simp/ci/files/job_missing_nodeset/spec/acceptance/suites/default/class_spec.rb +0 -0
  24. data/spec/lib/simp/ci/files/job_missing_nodeset/spec/acceptance/suites/default/nodesets +1 -0
  25. data/spec/lib/simp/ci/files/job_missing_suite_and_nodeset/spec/acceptance/nodesets/default.yml +41 -0
  26. data/spec/lib/simp/ci/files/job_missing_suite_and_nodeset/spec/acceptance/nodesets/oel.yml +41 -0
  27. data/spec/lib/simp/ci/files/job_missing_suite_and_nodeset/spec/acceptance/suites/default/class_spec.rb +0 -0
  28. data/spec/lib/simp/ci/files/job_missing_suite_and_nodeset/spec/acceptance/suites/default/nodesets +1 -0
  29. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/nodesets/default.yml +41 -0
  30. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/nodesets/oel.yml +41 -0
  31. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/suites/default/class_spec.rb +0 -0
  32. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/suites/default/nodesets +1 -0
  33. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/suites/feature-1/feature-1_spec.rb +0 -0
  34. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/suites/feature_2/feature_2_spec.rb +0 -0
  35. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/suites/feature_2/nodesets/default.yml +35 -0
  36. data/spec/lib/simp/ci/files/multiple_invalid_jobs/spec/acceptance/suites/feature_2/nodesets/oel.yml +35 -0
  37. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/nodesets/default.yml +41 -0
  38. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/nodesets/oel.yml +41 -0
  39. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/suites/default/class_spec.rb +0 -0
  40. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/suites/default/nodesets +1 -0
  41. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/suites/feature-1/feature-1_spec.rb +0 -0
  42. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/suites/feature_2/feature_2_spec.rb +0 -0
  43. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/suites/feature_2/nodesets/default.yml +35 -0
  44. data/spec/lib/simp/ci/files/multiple_valid_jobs/spec/acceptance/suites/feature_2/nodesets/oel.yml +35 -0
  45. data/spec/lib/simp/ci/files/no_acceptance_tests/spec/spec_helper.rb +0 -0
  46. data/spec/lib/simp/ci/files/no_gitlab_config_with_tests/spec/acceptance/nodesets/default.yml +41 -0
  47. data/spec/lib/simp/ci/files/no_gitlab_config_with_tests/spec/acceptance/nodesets/oel.yml +41 -0
  48. data/spec/lib/simp/ci/files/no_gitlab_config_with_tests/spec/acceptance/suites/default/class_spec.rb +0 -0
  49. data/spec/lib/simp/ci/files/no_gitlab_config_with_tests/spec/acceptance/suites/default/nodesets +1 -0
  50. data/spec/lib/simp/ci/files/no_gitlab_config_without_tests/spec/acceptance/nodesets/default.yml +41 -0
  51. data/spec/lib/simp/ci/files/no_gitlab_config_without_tests/spec/acceptance/nodesets/oel.yml +41 -0
  52. data/spec/lib/simp/ci/files/no_gitlab_config_without_tests/spec/acceptance/suites/default/nodesets +1 -0
  53. data/spec/lib/simp/ci/files/suite_skeleton_only/spec/acceptance/nodesets/centos.yml +41 -0
  54. data/spec/lib/simp/ci/files/suite_skeleton_only/spec/acceptance/nodesets/default.yml +1 -0
  55. data/spec/lib/simp/ci/files/suite_skeleton_only/spec/acceptance/nodesets/oel.yml +41 -0
  56. data/spec/lib/simp/ci/files/suite_skeleton_only/spec/acceptance/suites/default/nodesets +1 -0
  57. data/spec/lib/simp/ci/files/valid_job_global_nodeset/spec/acceptance/nodesets/default.yml +41 -0
  58. data/spec/lib/simp/ci/files/valid_job_global_nodeset/spec/acceptance/nodesets/oel.yml +41 -0
  59. data/spec/lib/simp/ci/files/valid_job_global_nodeset/spec/acceptance/suites/default/class_spec.rb +0 -0
  60. data/spec/lib/simp/ci/files/valid_job_nodeset_dir_link/spec/acceptance/nodesets/default.yml +41 -0
  61. data/spec/lib/simp/ci/files/valid_job_nodeset_dir_link/spec/acceptance/nodesets/oel.yml +41 -0
  62. data/spec/lib/simp/ci/files/valid_job_nodeset_dir_link/spec/acceptance/suites/default/class_spec.rb +0 -0
  63. data/spec/lib/simp/ci/files/valid_job_nodeset_dir_link/spec/acceptance/suites/default/nodesets +1 -0
  64. data/spec/lib/simp/ci/files/valid_job_nodeset_link/spec/acceptance/suites/default/class_spec.rb +0 -0
  65. data/spec/lib/simp/ci/files/valid_job_nodeset_link/spec/acceptance/suites/default/nodesets/centos.yml +41 -0
  66. data/spec/lib/simp/ci/files/valid_job_nodeset_link/spec/acceptance/suites/default/nodesets/default.yml +1 -0
  67. data/spec/lib/simp/ci/files/valid_job_nodeset_link/spec/acceptance/suites/default/nodesets/oel.yml +41 -0
  68. data/spec/lib/simp/ci/files/valid_job_suite_nodeset/spec/acceptance/suites/default/class_spec.rb +0 -0
  69. data/spec/lib/simp/ci/files/valid_job_suite_nodeset/spec/acceptance/suites/default/nodesets/default.yml +41 -0
  70. data/spec/lib/simp/ci/files/valid_job_suite_nodeset/spec/acceptance/suites/default/nodesets/oel.yml +41 -0
  71. data/spec/lib/simp/ci/gitlab_spec.rb +246 -0
  72. metadata +69 -2
@@ -0,0 +1 @@
1
+ spec/lib/simp/ci/files/job_broken_link_nodeset/spec/acceptance/suites/default/../../nodesets
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: centos/7
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: centos/7
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: centos/6
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: centos/7
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: onyxpoint/oel-7-x86_64
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: onyxpoint/oel-7-x86_64
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: onyxpoint/oel-7-x86_64
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: onyxpoint/oel-7-x86_64
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1 @@
1
+ spec/lib/simp/ci/files/job_invalid_nodeset/spec/acceptance/suites/default/../../nodesets
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: centos/7
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: centos/7
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: centos/6
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: centos/7
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: onyxpoint/oel-7-x86_64
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: onyxpoint/oel-7-x86_64
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: onyxpoint/oel-7-x86_64
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: onyxpoint/oel-7-x86_64
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1 @@
1
+ spec/lib/simp/ci/files/job_invalid_suite/spec/acceptance/suites/default/../../nodesets
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: centos/7
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: centos/7
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: centos/6
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: centos/7
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: onyxpoint/oel-7-x86_64
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: onyxpoint/oel-7-x86_64
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: onyxpoint/oel-7-x86_64
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: onyxpoint/oel-7-x86_64
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1 @@
1
+ spec/lib/simp/ci/files/job_missing_nodeset/spec/acceptance/suites/default/../../nodesets
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: centos/7
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: centos/7
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: centos/6
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: centos/7
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: onyxpoint/oel-7-x86_64
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: onyxpoint/oel-7-x86_64
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: onyxpoint/oel-7-x86_64
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: onyxpoint/oel-7-x86_64
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1 @@
1
+ spec/lib/simp/ci/files/job_missing_suite_and_nodeset/spec/acceptance/suites/default/../../nodesets
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: centos/7
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: centos/7
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: centos/6
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: centos/7
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>
@@ -0,0 +1,41 @@
1
+ <%
2
+ if ENV['BEAKER_HYPERVISOR']
3
+ hypervisor = ENV['BEAKER_HYPERVISOR']
4
+ else
5
+ hypervisor = 'vagrant'
6
+ end
7
+ -%>
8
+ HOSTS:
9
+ client:
10
+ roles:
11
+ - default
12
+ - master
13
+ - client
14
+ platform: el-7-x86_64
15
+ box: onyxpoint/oel-7-x86_64
16
+ hypervisor: <%= hypervisor %>
17
+ server-1:
18
+ roles:
19
+ - server
20
+ platform: el-7-x86_64
21
+ box: onyxpoint/oel-7-x86_64
22
+ hypervisor: <%= hypervisor %>
23
+ server-2:
24
+ roles:
25
+ - server
26
+ platform: el-6-x86_64
27
+ box: onyxpoint/oel-7-x86_64
28
+ hypervisor: <%= hypervisor %>
29
+ server-3:
30
+ roles:
31
+ - failover_server
32
+ platform: el-7-x86_64
33
+ box: onyxpoint/oel-7-x86_64
34
+ hypervisor: <%= hypervisor %>
35
+ CONFIG:
36
+ log_level: verbose
37
+ type: aio
38
+ vagrant_memsize: 256
39
+ <% if ENV['BEAKER_PUPPET_COLLECTION'] -%>
40
+ puppet_collection: <%= ENV['BEAKER_PUPPET_COLLECTION'] %>
41
+ <% end -%>