beaker 1.17.4 → 1.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/HISTORY.md +51 -2
- data/lib/beaker/dsl/ezbake_utils.rb +8 -8
- data/lib/beaker/dsl/helpers.rb +1 -1
- data/lib/beaker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmZlZTljNzQ0NDk2YjczNTc4YmFmMzhjZDdkZjBkYzE4MzQwOTJjNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGNmMDNkZTZlNjU4OTllNTVlZDUyYmRlMDJjYjBkODNiMzk3NGRjZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWYwY2IwOGE5ZGRlY2RjODA5M2JmMjYxY2FiMWE2M2Y5NjIyYjljODAwMDM1
|
10
|
+
YmZmOGZjYzYxM2U1N2UyM2EyMzQ3N2I1NTQxYjhkMjViNzFhM2MxNDc5YmI3
|
11
|
+
NTJiNzVlYmViMGViYWFkYmEwMjdjYjJiYzE0YTY4YTlkZTdlMmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGQwNmZiMzAyNzU4Y2M1MWU4OWI0MmQ2MWM0NTE2NDc0MTg2NGU1ZjdjYTc4
|
14
|
+
NzQyNzg0ZmVlZGU5NzAwODFjMGViNDIzNjM2MDRmMjliOGY2NGQ1NDc4Zjgx
|
15
|
+
MTU2YzI1MWE4OGFkNGYyYmQ3YTI1NjkzZDkwYWU3ZGZjMDY3YjI=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# beaker - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 21 Aug, 2014 (4a96b147)](#LATEST)
|
4
|
+
* [beaker1.17.4 - 21 Aug, 2014 (8e6d070f)](#beaker1.17.4)
|
4
5
|
* [beaker1.17.3 - 20 Aug, 2014 (f8a536c1)](#beaker1.17.3)
|
5
6
|
* [beaker1.17.2 - 15 Aug, 2014 (c6f1f64a)](#beaker1.17.2)
|
6
7
|
* [beaker1.17.1 - 12 Aug, 2014 (72e60299)](#beaker1.17.1)
|
@@ -56,7 +57,55 @@
|
|
56
57
|
* [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
|
57
58
|
|
58
59
|
## Details
|
59
|
-
### <a name = "LATEST">LATEST -
|
60
|
+
### <a name = "LATEST">LATEST - 21 Aug, 2014 (4a96b147)
|
61
|
+
|
62
|
+
* (GEM) version bump for beaker 1.17.5 gem (4a96b147)
|
63
|
+
|
64
|
+
* Merge pull request #415 from waynr/feature/qeng-1110-install-from-ezbake-bugfix (61e56aa7)
|
65
|
+
|
66
|
+
|
67
|
+
```
|
68
|
+
Merge pull request #415 from waynr/feature/qeng-1110-install-from-ezbake-bugfix
|
69
|
+
|
70
|
+
(QENG-1110) Beaker::DSL::EZBakeUtils bugfix
|
71
|
+
```
|
72
|
+
* (QENG-1110) Beaker::DSL::EZBakeUtils bugfix (bd1d91f2)
|
73
|
+
|
74
|
+
|
75
|
+
```
|
76
|
+
(QENG-1110) Beaker::DSL::EZBakeUtils bugfix
|
77
|
+
|
78
|
+
Allows arbitrary arguments to be passed to ezbake command line.
|
79
|
+
|
80
|
+
Signed-off-by: Wayne <wayne@puppetlabs.com>
|
81
|
+
```
|
82
|
+
* Merge pull request #414 from waynr/feature/qeng-1108-create-tmpdir-for-user-fails (716ab3d4)
|
83
|
+
|
84
|
+
|
85
|
+
```
|
86
|
+
Merge pull request #414 from waynr/feature/qeng-1108-create-tmpdir-for-user-fails
|
87
|
+
|
88
|
+
(QENG-1108) Fix chown command to use ':' rather than '.'
|
89
|
+
```
|
90
|
+
* (QENG-1108) Fix chown command to use ':' rather than '.' (c2da3911)
|
91
|
+
|
92
|
+
|
93
|
+
```
|
94
|
+
(QENG-1108) Fix chown command to use ':' rather than '.'
|
95
|
+
|
96
|
+
Signed-off-by: Wayne <wayne@puppetlabs.com>
|
97
|
+
```
|
98
|
+
### <a name = "beaker1.17.4">beaker1.17.4 - 21 Aug, 2014 (8e6d070f)
|
99
|
+
|
100
|
+
* Merge pull request #413 from anodelman/make-gem (8e6d070f)
|
101
|
+
|
102
|
+
|
103
|
+
```
|
104
|
+
Merge pull request #413 from anodelman/make-gem
|
105
|
+
|
106
|
+
create beaker 1.17.4 gem
|
107
|
+
```
|
108
|
+
* (HISTORY) update history for beaker 1.17.4 gem (bd1fe05f)
|
60
109
|
|
61
110
|
* (GEM) version bump for 1.17.4 (1e6a4a8f)
|
62
111
|
|
@@ -57,19 +57,19 @@ module Beaker
|
|
57
57
|
#
|
58
58
|
# @param [String] project_name The name of the ezbake project being worked
|
59
59
|
# on.
|
60
|
-
# @param [String]
|
61
|
-
#
|
60
|
+
# @param [String] project_param_string Parameters to be passed to ezbake
|
61
|
+
# on the command line.
|
62
62
|
# @param [String] ezbake_dir The local directory where the ezbake project
|
63
63
|
# resides or should reside if it doesn't exist
|
64
64
|
# already.
|
65
65
|
#
|
66
|
-
def ezbake_stage project_name,
|
66
|
+
def ezbake_stage project_name, project_param_string, ezbake_dir="tmp/ezbake"
|
67
67
|
ezbake_tools_available?
|
68
68
|
conditionally_clone "gitmirror@github.delivery.puppetlabs.net:puppetlabs-ezbake.git", ezbake_dir
|
69
69
|
|
70
70
|
package_version = ''
|
71
71
|
Dir.chdir(ezbake_dir) do
|
72
|
-
`lein run -- stage #{project_name} #{
|
72
|
+
`lein run -- stage #{project_name} #{project_param_string}`
|
73
73
|
end
|
74
74
|
|
75
75
|
staging_dir = File.join(ezbake_dir, 'target/staging')
|
@@ -92,7 +92,7 @@ module Beaker
|
|
92
92
|
ezbake_tools_available? host
|
93
93
|
|
94
94
|
if not ezbake_config
|
95
|
-
ezbake_stage project_name,
|
95
|
+
ezbake_stage project_name, project_param_string
|
96
96
|
end
|
97
97
|
|
98
98
|
variant, version, arch, codename = host['platform'].to_array
|
@@ -130,18 +130,18 @@ module Beaker
|
|
130
130
|
# this is the name of both a subdirectory of the ezbake_dir/configs dir
|
131
131
|
# and the name of the .clj file in that directory which contains the
|
132
132
|
# project map used by ezbake to create the staging directory.
|
133
|
-
# @param [String]
|
133
|
+
# @param [String] project_param_string The version of the project specified by
|
134
134
|
# project_name which is to be built and installed on the remote host.
|
135
135
|
# @param [String] ezbake_dir The directory to which ezbake should be
|
136
136
|
# cloned; alternatively, if ezbake is already at that directory, it will
|
137
137
|
# be updated from its github master before any ezbake operations are
|
138
138
|
# performed.
|
139
139
|
#
|
140
|
-
def install_from_ezbake host, project_name,
|
140
|
+
def install_from_ezbake host, project_name, project_param_string, env_args={}, ezbake_dir='tmp/ezbake'
|
141
141
|
ezbake_tools_available? host
|
142
142
|
|
143
143
|
if not ezbake_config
|
144
|
-
ezbake_stage project_name,
|
144
|
+
ezbake_stage project_name, project_param_string
|
145
145
|
end
|
146
146
|
|
147
147
|
variant, _, _, _ = host['platform'].to_array
|
data/lib/beaker/dsl/helpers.rb
CHANGED
@@ -301,7 +301,7 @@ module Beaker
|
|
301
301
|
|
302
302
|
if defined? host.tmpdir
|
303
303
|
dir = host.tmpdir(name)
|
304
|
-
on host, "chown #{user}
|
304
|
+
on host, "chown #{user}:#{user} #{dir}"
|
305
305
|
return dir
|
306
306
|
else
|
307
307
|
raise "Host platform not supported by `create_tmpdir_for_user`."
|
data/lib/beaker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.17.
|
4
|
+
version: 1.17.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|