r10k 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.mkd +40 -13
  4. data/Gemfile +1 -2
  5. data/README.mkd +25 -0
  6. data/Rakefile +3 -0
  7. data/doc/dynamic-environments/configuration.mkd +91 -14
  8. data/doc/dynamic-environments/workflow-guide.mkd +3 -3
  9. data/doc/puppetfile.mkd +89 -40
  10. data/integration/Gemfile +2 -0
  11. data/integration/Rakefile +41 -0
  12. data/integration/tests/purging/content_not_purged_at_root.rb +89 -0
  13. data/integration/tests/purging/default_purging.rb +125 -0
  14. data/integration/tests/user_scenario/basic_workflow/negative/neg_bad_git_module_ref.rb +1 -1
  15. data/lib/r10k.rb +8 -1
  16. data/lib/r10k/action/deploy/deploy_helpers.rb +3 -3
  17. data/lib/r10k/action/deploy/environment.rb +35 -14
  18. data/lib/r10k/action/deploy/module.rb +4 -4
  19. data/lib/r10k/action/puppetfile/check.rb +1 -1
  20. data/lib/r10k/action/puppetfile/install.rb +1 -1
  21. data/lib/r10k/action/runner.rb +3 -3
  22. data/lib/r10k/deployment.rb +8 -4
  23. data/lib/r10k/deployment/config.rb +1 -1
  24. data/lib/r10k/environment/base.rb +32 -3
  25. data/lib/r10k/environment/git.rb +19 -6
  26. data/lib/r10k/feature.rb +6 -6
  27. data/lib/r10k/forge/module_release.rb +4 -6
  28. data/lib/r10k/git.rb +7 -7
  29. data/lib/r10k/git/alternates.rb +1 -1
  30. data/lib/r10k/git/cache.rb +2 -2
  31. data/lib/r10k/git/rugged/bare_repository.rb +29 -9
  32. data/lib/r10k/git/rugged/credentials.rb +8 -8
  33. data/lib/r10k/git/rugged/thin_repository.rb +17 -3
  34. data/lib/r10k/git/rugged/working_repository.rb +12 -5
  35. data/lib/r10k/git/shellgit/thin_repository.rb +5 -1
  36. data/lib/r10k/git/shellgit/working_repository.rb +16 -2
  37. data/lib/r10k/git/stateful_repository.rb +33 -23
  38. data/lib/r10k/initializers.rb +1 -1
  39. data/lib/r10k/keyed_factory.rb +2 -2
  40. data/lib/r10k/logging.rb +1 -1
  41. data/lib/r10k/module.rb +4 -3
  42. data/lib/r10k/module/base.rb +3 -2
  43. data/lib/r10k/module/forge.rb +9 -4
  44. data/lib/r10k/module/git.rb +39 -22
  45. data/lib/r10k/module/local.rb +1 -1
  46. data/lib/r10k/module/metadata_file.rb +1 -1
  47. data/lib/r10k/module/svn.rb +3 -1
  48. data/lib/r10k/puppetfile.rb +72 -11
  49. data/lib/r10k/settings.rb +20 -0
  50. data/lib/r10k/settings/collection.rb +2 -2
  51. data/lib/r10k/settings/container.rb +1 -1
  52. data/lib/r10k/settings/enum_definition.rb +11 -3
  53. data/lib/r10k/settings/helpers.rb +2 -2
  54. data/lib/r10k/settings/list.rb +1 -1
  55. data/lib/r10k/settings/loader.rb +6 -6
  56. data/lib/r10k/settings/uri_definition.rb +1 -1
  57. data/lib/r10k/source/base.rb +2 -2
  58. data/lib/r10k/source/git.rb +4 -4
  59. data/lib/r10k/svn/working_dir.rb +1 -1
  60. data/lib/r10k/util/basedir.rb +9 -9
  61. data/lib/r10k/util/license.rb +3 -3
  62. data/lib/r10k/util/purgeable.rb +50 -24
  63. data/lib/r10k/util/setopts.rb +1 -1
  64. data/lib/r10k/util/subprocess.rb +3 -3
  65. data/lib/r10k/util/symbolize_keys.rb +1 -1
  66. data/lib/r10k/version.rb +1 -1
  67. data/locales/config.yaml +21 -0
  68. data/r10k.gemspec +3 -0
  69. data/spec/fixtures/unit/puppetfile/valid-forge-with-version/Puppetfile +1 -0
  70. data/spec/fixtures/unit/puppetfile/valid-forge-without-version/Puppetfile +1 -0
  71. data/spec/fixtures/unit/util/purgeable/managed_one/expected_1 +0 -0
  72. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_expected_1 +0 -0
  73. data/spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_unmanaged_1 +0 -0
  74. data/spec/fixtures/unit/util/purgeable/managed_one/unmanaged_1 +0 -0
  75. data/spec/fixtures/unit/util/purgeable/managed_two/expected_2 +0 -0
  76. data/spec/fixtures/unit/util/purgeable/managed_two/unmanaged_2 +0 -0
  77. data/spec/integration/git/stateful_repository_spec.rb +39 -21
  78. data/spec/r10k-mocks/mock_config.rb +4 -0
  79. data/spec/spec_helper.rb +3 -0
  80. data/spec/unit/action/deploy/environment_spec.rb +71 -13
  81. data/spec/unit/environment/base_spec.rb +71 -0
  82. data/spec/unit/forge/module_release_spec.rb +7 -10
  83. data/spec/unit/git/stateful_repository_spec.rb +6 -6
  84. data/spec/unit/module/git_spec.rb +156 -5
  85. data/spec/unit/module_spec.rb +3 -3
  86. data/spec/unit/puppetfile_spec.rb +115 -0
  87. data/spec/unit/util/purgeable_spec.rb +230 -0
  88. metadata +45 -18
  89. data/integration/test_run_scripts/README.mkd +0 -5
  90. data/integration/test_run_scripts/all_tests-rugged-pe-centos6.sh +0 -20
  91. data/integration/test_run_scripts/all_tests-rugged-pe-rhel7.sh +0 -20
  92. data/integration/test_run_scripts/all_tests-rugged-pe-sles11.sh +0 -20
  93. data/integration/test_run_scripts/all_tests-rugged-pe-ubuntu1204.sh +0 -20
  94. data/integration/test_run_scripts/all_tests-rugged-pe-ubuntu1404.sh +0 -20
  95. data/integration/test_run_scripts/all_tests-shellgit-pe-centos6.sh +0 -20
  96. data/integration/test_run_scripts/all_tests-shellgit-pe-rhel7.sh +0 -20
  97. data/integration/test_run_scripts/all_tests-shellgit-pe-sles11.sh +0 -20
  98. data/integration/test_run_scripts/all_tests-shellgit-pe-ubuntu1204.sh +0 -20
  99. data/integration/test_run_scripts/all_tests-shellgit-pe-ubuntu1404.sh +0 -20
  100. data/integration/test_run_scripts/basic_functionality/all_tests-pe-centos6.sh +0 -20
  101. data/integration/test_run_scripts/command_line/all_tests-pe-centos6.sh +0 -20
  102. data/integration/test_run_scripts/git_source/all_tests-pe-centos6.sh +0 -20
  103. data/integration/test_run_scripts/user_scenario/basic_workflow/all_tests-pe-centos6.sh +0 -20
  104. data/integration/test_run_scripts/user_scenario/complex_workflow/all_tests-pe-centos6.sh +0 -20
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2016-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: gettext-setup
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.5'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.5'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rspec
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +136,20 @@ dependencies:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
138
  version: '3.1'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: yard
127
155
  requirement: !ruby/object:Gem::Requirement
@@ -153,6 +181,7 @@ files:
153
181
  - Gemfile
154
182
  - LICENSE
155
183
  - README.mkd
184
+ - Rakefile
156
185
  - bin/r10k
157
186
  - doc/common-patterns.mkd
158
187
  - doc/dynamic-environments.mkd
@@ -171,6 +200,7 @@ files:
171
200
  - doc/updating-your-puppetfile.mkd
172
201
  - integration/Gemfile
173
202
  - integration/README.mkd
203
+ - integration/Rakefile
174
204
  - integration/configs/README.mkd
175
205
  - integration/configs/pe/centos-5-64mda
176
206
  - integration/configs/pe/centos-6-64mda
@@ -213,22 +243,6 @@ files:
213
243
  - integration/scripts/setup_r10k_env_ubuntu1004.sh
214
244
  - integration/scripts/setup_r10k_env_ubuntu1204.sh
215
245
  - integration/scripts/setup_r10k_env_ubuntu1404.sh
216
- - integration/test_run_scripts/README.mkd
217
- - integration/test_run_scripts/all_tests-rugged-pe-centos6.sh
218
- - integration/test_run_scripts/all_tests-rugged-pe-rhel7.sh
219
- - integration/test_run_scripts/all_tests-rugged-pe-sles11.sh
220
- - integration/test_run_scripts/all_tests-rugged-pe-ubuntu1204.sh
221
- - integration/test_run_scripts/all_tests-rugged-pe-ubuntu1404.sh
222
- - integration/test_run_scripts/all_tests-shellgit-pe-centos6.sh
223
- - integration/test_run_scripts/all_tests-shellgit-pe-rhel7.sh
224
- - integration/test_run_scripts/all_tests-shellgit-pe-sles11.sh
225
- - integration/test_run_scripts/all_tests-shellgit-pe-ubuntu1204.sh
226
- - integration/test_run_scripts/all_tests-shellgit-pe-ubuntu1404.sh
227
- - integration/test_run_scripts/basic_functionality/all_tests-pe-centos6.sh
228
- - integration/test_run_scripts/command_line/all_tests-pe-centos6.sh
229
- - integration/test_run_scripts/git_source/all_tests-pe-centos6.sh
230
- - integration/test_run_scripts/user_scenario/basic_workflow/all_tests-pe-centos6.sh
231
- - integration/test_run_scripts/user_scenario/complex_workflow/all_tests-pe-centos6.sh
232
246
  - integration/tests/Puppetfile/HTTPS_PROXY_effects_git_source.rb
233
247
  - integration/tests/Puppetfile/HTTP_PROXY_effects_forge_source.rb
234
248
  - integration/tests/README.mkd
@@ -256,6 +270,8 @@ files:
256
270
  - integration/tests/git_source/negative/neg_git_unauthorized_https.rb
257
271
  - integration/tests/git_source/negative/neg_git_unauthorized_ssh.rb
258
272
  - integration/tests/git_source/negative/neg_git_unicode_branch.rb
273
+ - integration/tests/purging/content_not_purged_at_root.rb
274
+ - integration/tests/purging/default_purging.rb
259
275
  - integration/tests/user_scenario/basic_workflow/multi_env_1000_branches.rb
260
276
  - integration/tests/user_scenario/basic_workflow/multi_env_custom_forge_git_module.rb
261
277
  - integration/tests/user_scenario/basic_workflow/multi_env_custom_forge_git_module_static.rb
@@ -392,6 +408,7 @@ files:
392
408
  - lib/r10k/util/subprocess/subprocess_error.rb
393
409
  - lib/r10k/util/symbolize_keys.rb
394
410
  - lib/r10k/version.rb
411
+ - locales/config.yaml
395
412
  - r10k.gemspec
396
413
  - r10k.yaml.example
397
414
  - spec/fixtures/empty/.empty
@@ -402,6 +419,14 @@ files:
402
419
  - spec/fixtures/unit/puppetfile/argument-error/Puppetfile
403
420
  - spec/fixtures/unit/puppetfile/invalid-syntax/Puppetfile
404
421
  - spec/fixtures/unit/puppetfile/load-error/Puppetfile
422
+ - spec/fixtures/unit/puppetfile/valid-forge-with-version/Puppetfile
423
+ - spec/fixtures/unit/puppetfile/valid-forge-without-version/Puppetfile
424
+ - spec/fixtures/unit/util/purgeable/managed_one/expected_1
425
+ - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_expected_1
426
+ - spec/fixtures/unit/util/purgeable/managed_one/managed_subdir_1/subdir_unmanaged_1
427
+ - spec/fixtures/unit/util/purgeable/managed_one/unmanaged_1
428
+ - spec/fixtures/unit/util/purgeable/managed_two/expected_2
429
+ - spec/fixtures/unit/util/purgeable/managed_two/unmanaged_2
405
430
  - spec/fixtures/unit/util/subprocess/runner/no-execute.sh
406
431
  - spec/integration/git/rugged/bare_repository_spec.rb
407
432
  - spec/integration/git/rugged/thin_repository_spec.rb
@@ -483,6 +508,7 @@ files:
483
508
  - spec/unit/util/attempt_spec.rb
484
509
  - spec/unit/util/commands_spec.rb
485
510
  - spec/unit/util/exec_env_spec.rb
511
+ - spec/unit/util/purgeable_spec.rb
486
512
  - spec/unit/util/setopts_spec.rb
487
513
  - spec/unit/util/subprocess/result_spec.rb
488
514
  - spec/unit/util/subprocess/runner/posix_spec.rb
@@ -516,3 +542,4 @@ signing_key:
516
542
  specification_version: 4
517
543
  summary: Puppet environment and module deployment
518
544
  test_files: []
545
+ has_rdoc:
@@ -1,5 +0,0 @@
1
- Test Run Scripts
2
- ===========================
3
-
4
- This folder contains shell scripts for running automated tests locally on your personal machine. The scripts are
5
- organized by test suite.
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=rugged
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/centos-6-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=rugged
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/redhat-7-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=rugged
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/sles-11-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=rugged
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/ubuntu-1204-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=rugged
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/ubuntu-1404-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/centos-6-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/redhat-7-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/sles-11-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/ubuntu-1204-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "test_run_scripts" ]; then
7
- cd ../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/ubuntu-1404-64mda \
16
- --debug \
17
- --tests tests \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "basic_functionality" ]; then
7
- cd ../../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/centos-6-64mda \
16
- --debug \
17
- --tests tests/basic_functionality \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "command_line" ]; then
7
- cd ../../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/centos-6-64mda \
16
- --debug \
17
- --tests tests/command_line \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "git_source" ]; then
7
- cd ../../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/centos-6-64mda \
16
- --debug \
17
- --tests tests/git_source \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib
@@ -1,20 +0,0 @@
1
- #!/bin/bash
2
- SCRIPT_PATH=$(pwd)
3
- BASENAME_CMD="basename ${SCRIPT_PATH}"
4
- SCRIPT_BASE_PATH=`eval ${BASENAME_CMD}`
5
-
6
- if [ $SCRIPT_BASE_PATH = "basic_workflow" ]; then
7
- cd ../../../
8
- fi
9
-
10
- export pe_dist_dir=http://neptune.puppetlabs.lan/2015.2/ci-ready/
11
- export GIT_PROVIDER=shellgit
12
-
13
- beaker \
14
- --preserve-hosts onfail \
15
- --config configs/pe/centos-6-64mda \
16
- --debug \
17
- --tests tests/user_scenario/basic_workflow \
18
- --keyfile ~/.ssh/id_rsa-acceptance \
19
- --pre-suite pre-suite \
20
- --load-path lib