kameleon-builder 2.10.9 → 2.10.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGES +263 -243
- data/lib/kameleon/cli.rb +62 -67
- data/lib/kameleon/context.rb +1 -1
- data/lib/kameleon/engine.rb +147 -101
- data/lib/kameleon/recipe.rb +26 -5
- data/lib/kameleon/shell.rb +2 -2
- data/lib/kameleon/step.rb +5 -3
- data/lib/kameleon/utils.rb +1 -1
- data/lib/kameleon/version.rb +1 -1
- data/tests/recipes/test_recipe_checkpoints.yaml +77 -0
- metadata +4 -2
data/CHANGES
CHANGED
@@ -1,6 +1,33 @@
|
|
1
1
|
Kameleon CHANGELOG
|
2
2
|
==================
|
3
3
|
|
4
|
+
Version 2.10.11
|
5
|
+
---------------
|
6
|
+
|
7
|
+
Released on October 10th 2023
|
8
|
+
|
9
|
+
- Rework the checkpointing code.
|
10
|
+
- Make build --from-checkpoint not activate the checkpointing without the --enable-checkpointing option.
|
11
|
+
- Add the -F alias for the build --from-checkpoint option and allow passing the microstrep slug instead of it's id.
|
12
|
+
- Add the build --begin-checkpoint (or -B) and --end-checkpoint (or -E) options that allows giving the window of steps to checkpoint.
|
13
|
+
- Remove the dryrun command and add the --dryrun (or -d) switch to the build action.
|
14
|
+
- Make build --dryrun --list-checkpoints (or -d -l) to show possible checkpoints for the recipe.
|
15
|
+
|
16
|
+
Version 2.10.10
|
17
|
+
---------------
|
18
|
+
|
19
|
+
Released on June 13th 2023
|
20
|
+
|
21
|
+
- Set kameleon build --microstep-checkpoint option to "all" by default.
|
22
|
+
- Rework the kameleon checkpoint documentation and more.
|
23
|
+
- Rework the kameleon build options.
|
24
|
+
- Add the on_checkpoint=only keyword, allowing a step to be run only when checkpoint is activated.
|
25
|
+
- Add the on_checkpoint=disabled keyword, allowing a step to be never be checkpointed.
|
26
|
+
- Add the $${checkpointing_enabled} global variable, value is "true" or "false" whether checkpointing is enabled or not.
|
27
|
+
- Fix error in kameleon info: variable not found $${checkpointing_enabled} / $${persistent_cache}.
|
28
|
+
- Make the context_reload command less verbose by default, and some other commands by side effects.
|
29
|
+
- Other cosmetic fixes.
|
30
|
+
|
4
31
|
Version 2.10.9
|
5
32
|
--------------
|
6
33
|
|
@@ -9,7 +36,7 @@ Released on April 27th 2023
|
|
9
36
|
- Add the --microstep-checkpoint option to enable creating checkpoint on all microsteps.
|
10
37
|
- Add timing info for microsteps and microstep checkpoints in verbose mode.
|
11
38
|
- Minor fixes.
|
12
|
-
- Enable using a python venv for bumpversion (.gitignore, .envrc)
|
39
|
+
- Enable using a python venv for bumpversion (.gitignore, .envrc).
|
13
40
|
|
14
41
|
Version 2.10.8
|
15
42
|
--------------
|
@@ -17,29 +44,30 @@ Version 2.10.8
|
|
17
44
|
Released on October 21st 2022
|
18
45
|
|
19
46
|
- Fix a fatal error with the pipe command: make sure the destination context is started.
|
20
|
-
- Avoid git warning when running kameleon repo update: use git pull --ff-only
|
47
|
+
- Avoid git warning when running kameleon repo update: use git pull --ff-only.
|
21
48
|
|
22
49
|
Version 2.10.7
|
23
50
|
--------------
|
24
51
|
|
25
52
|
Released on December 02nd 2021
|
26
53
|
|
27
|
-
- Add support for the .filter file to filter recipes/template lists
|
54
|
+
- Add support for the .filter file to filter recipes/template lists.
|
28
55
|
|
29
56
|
Version 2.10.6
|
30
57
|
--------------
|
31
58
|
|
32
59
|
Released on November 24th 2021
|
33
60
|
|
34
|
-
- Add the option filter for the template and recipe listings
|
35
|
-
- Preserve permission of files when importing template
|
61
|
+
- Add the option filter for the template and recipe listings.
|
62
|
+
- Preserve permission of files when importing template.
|
36
63
|
|
37
64
|
Version 2.10.5
|
38
65
|
--------------
|
39
66
|
|
40
67
|
Released on July 29th 2021
|
41
68
|
|
42
|
-
- Remove polipo from the software dependencies as it is not maintained anymore.
|
69
|
+
- Remove polipo from the software dependencies as it is not maintained anymore.
|
70
|
+
This breaks the caching feature.
|
43
71
|
- Some changes to allow a debian packaging.
|
44
72
|
- Update authors.
|
45
73
|
- Change the version information file and update scripts accordingly.
|
@@ -49,55 +77,55 @@ Version 2.10.4
|
|
49
77
|
|
50
78
|
Released on May 11th 2020
|
51
79
|
|
52
|
-
- Fix support for extend ERB
|
53
|
-
- Add the `kameleon template erb` command
|
54
|
-
- Fix bash completion
|
55
|
-
- Cosmetic code fixes
|
80
|
+
- Fix support for extend ERB.
|
81
|
+
- Add the `kameleon template erb` command.
|
82
|
+
- Fix bash completion.
|
83
|
+
- Cosmetic code fixes.
|
56
84
|
|
57
85
|
Version 2.10.3
|
58
86
|
--------------
|
59
87
|
|
60
88
|
Released on April 10th 2020
|
61
89
|
|
62
|
-
- Rework kameleon template list: add color add progress bar
|
63
|
-
- Make bash completion understand the subcommands
|
64
|
-
- Fix the command help ->
|
65
|
-
- Add support for custom extend erb templates
|
90
|
+
- Rework kameleon template list: add color add progress bar.
|
91
|
+
- Make bash completion understand the subcommands.
|
92
|
+
- Fix the command help -> `kameleon <command> -h`.
|
93
|
+
- Add support for custom extend erb templates.
|
66
94
|
|
67
95
|
Version 2.10.2
|
68
96
|
--------------
|
69
97
|
|
70
98
|
Released on April 09th 2020
|
71
99
|
|
72
|
-
- Fix cli help for the repository and template sub-commands
|
73
|
-
- Add the git remote url and branch to kameleon repo list
|
74
|
-
- Add the 'kameleon repository remove' command
|
100
|
+
- Fix cli help for the repository and template sub-commands.
|
101
|
+
- Add the git remote url and branch to kameleon repo list.
|
102
|
+
- Add the 'kameleon repository remove' command.
|
75
103
|
|
76
104
|
Version 2.10.1
|
77
105
|
-------------
|
78
106
|
|
79
107
|
Released on March 21th 2020
|
80
108
|
|
81
|
-
- Fix regression in 2.10.0 with the build directory creation
|
109
|
+
- Fix regression in 2.10.0 with the build directory creation.
|
82
110
|
|
83
111
|
Version 2.10.0
|
84
112
|
-------------
|
85
113
|
|
86
114
|
Released on March 21th 2020
|
87
115
|
|
88
|
-
- Rework usage (cosmetic fixes)
|
89
|
-
- Drop the `kameleon template repository` action (same as `kameleon repository`)
|
90
|
-
- Make `kameleon dag` and `kameleon dryrun` standalone actions instead of `kameleon info` options
|
91
|
-
- Add the `kamelon dag --recipes-only
|
92
|
-
- Make `kameleon dag` show distincly the extended recipe among the ancestors
|
93
|
-
- Add the `kameleon export` action
|
116
|
+
- Rework usage (cosmetic fixes).
|
117
|
+
- Drop the `kameleon template repository` action (same as `kameleon repository`).
|
118
|
+
- Make `kameleon dag` and `kameleon dryrun` standalone actions instead of `kameleon info` options.
|
119
|
+
- Add the `kamelon dag --recipes-only`.
|
120
|
+
- Make `kameleon dag` show distincly the extended recipe among the ancestors.
|
121
|
+
- Add the `kameleon export` action.
|
94
122
|
|
95
123
|
Version 2.9.4
|
96
124
|
-------------
|
97
125
|
|
98
126
|
Released on December 12th 2018
|
99
127
|
|
100
|
-
- Minor fixes
|
128
|
+
- Minor fixes.
|
101
129
|
- NB: the 2.9.3 version was lost in space...
|
102
130
|
|
103
131
|
|
@@ -106,8 +134,8 @@ Version 2.9.2
|
|
106
134
|
|
107
135
|
Released on February 21st 2018
|
108
136
|
|
109
|
-
- Enforce the number of sub commands for the rescue and test commands
|
110
|
-
- Support nested aliases
|
137
|
+
- Enforce the number of sub commands for the rescue and test commands.
|
138
|
+
- Support nested aliases.
|
111
139
|
|
112
140
|
Version 2.9.1
|
113
141
|
-------------
|
@@ -121,58 +149,58 @@ Version 2.9.0
|
|
121
149
|
|
122
150
|
Released on June 29th 2017
|
123
151
|
|
124
|
-
- Bump to a new minor version due to the addition of the test and group commands
|
125
|
-
- Refresh documentation
|
152
|
+
- Bump to a new minor version due to the addition of the test and group commands.
|
153
|
+
- Refresh documentation.
|
126
154
|
|
127
155
|
Version 2.8.4
|
128
156
|
-------------
|
129
157
|
|
130
|
-
- Fix the build usage message
|
131
|
-
- Fix the cache compression options: allow no compression
|
132
|
-
- Add the test and group commands for microsteps
|
158
|
+
- Fix the build usage message.
|
159
|
+
- Fix the cache compression options: allow no compression.
|
160
|
+
- Add the test and group commands for microsteps.
|
133
161
|
|
134
162
|
Version 2.8.3
|
135
163
|
-------------
|
136
164
|
|
137
|
-
- Patch the doc and the default new recipe template
|
165
|
+
- Patch the doc and the default new recipe template.
|
138
166
|
|
139
167
|
Version 2.8.2
|
140
168
|
-------------
|
141
169
|
|
142
170
|
Released on September 06th 2016
|
143
171
|
|
144
|
-
- Make kameleon new and template import works
|
172
|
+
- Make kameleon new and template import works.
|
145
173
|
|
146
174
|
Version 2.8.1
|
147
175
|
-------------
|
148
176
|
|
149
|
-
- Manage problem with gem update
|
177
|
+
- Manage problem with gem update.
|
150
178
|
|
151
179
|
Version 2.8.0
|
152
180
|
-------------
|
153
181
|
|
154
182
|
Released on September 05th 2016
|
155
183
|
|
156
|
-
- Add the possibility to overload extend with backend
|
184
|
+
- Add the possibility to overload extend with backend.
|
157
185
|
|
158
186
|
Version 2.7.8
|
159
187
|
-------------
|
160
188
|
|
161
|
-
- Fix info data resolution (fix #78)
|
189
|
+
- Fix info data resolution (fix #78).
|
162
190
|
|
163
191
|
Version 2.7.7
|
164
192
|
-------------
|
165
193
|
|
166
194
|
Released on September 01st 2016
|
167
195
|
|
168
|
-
- Add some warning to avoid global CLI option misuse
|
196
|
+
- Add some warning to avoid global CLI option misuse.
|
169
197
|
|
170
198
|
Version 2.7.6
|
171
199
|
-------------
|
172
200
|
|
173
201
|
Released on August 31st 2016
|
174
202
|
|
175
|
-
- Fix step variable resolution for composed variable (#79), and containing
|
203
|
+
- Fix step variable resolution for composed variable (#79), and containing.
|
176
204
|
uuid (#90).
|
177
205
|
|
178
206
|
Version 2.7.5
|
@@ -180,63 +208,63 @@ Version 2.7.5
|
|
180
208
|
|
181
209
|
Released on August 31st 2016
|
182
210
|
|
183
|
-
- Fix last problem with Kameleon_data_dir (again)
|
211
|
+
- Fix last problem with Kameleon_data_dir (again).
|
184
212
|
|
185
213
|
Version 2.7.4
|
186
214
|
-------------
|
187
215
|
|
188
216
|
Released on August 29th 2016
|
189
217
|
|
190
|
-
- Fix Kameleon_data_dir is not rendering correctly with {} (#85)
|
218
|
+
- Fix Kameleon_data_dir is not rendering correctly with {} (#85).
|
191
219
|
|
192
220
|
Version 2.7.3
|
193
221
|
-------------
|
194
222
|
|
195
223
|
Released on June 20th 2016
|
196
224
|
|
197
|
-
- The info command can now handle multiple recipes
|
198
|
-
- Colorized the output of the info command
|
199
|
-
- Added the dryrun option to the info command
|
200
|
-
- Added the dag option to the info command: draw a GraphViz dag for recipes
|
225
|
+
- The info command can now handle multiple recipes.
|
226
|
+
- Colorized the output of the info command.
|
227
|
+
- Added the dryrun option to the info command.
|
228
|
+
- Added the dag option to the info command: draw a GraphViz dag for recipes.
|
201
229
|
|
202
230
|
Version 2.7.2
|
203
231
|
-------------
|
204
232
|
|
205
233
|
Released on February 17th 2016
|
206
234
|
|
207
|
-
- Added ``interactive_cmd`` option to set a more apropriate interactive shell command
|
208
|
-
- Removed bash errexit flag to force bash to trap interruption
|
235
|
+
- Added ``interactive_cmd`` option to set a more apropriate interactive shell command.
|
236
|
+
- Removed bash errexit flag to force bash to trap interruption.
|
209
237
|
|
210
238
|
Version 2.7.1
|
211
239
|
-------------
|
212
240
|
|
213
|
-
- Non-strictly template variable resolution (Fixed #67)
|
241
|
+
- Non-strictly template variable resolution (Fixed #67).
|
214
242
|
|
215
243
|
Version 2.7.0
|
216
244
|
-------------
|
217
245
|
|
218
246
|
Released on December 09th 2015
|
219
247
|
|
220
|
-
- Fixed variables overload when using inheritance
|
221
|
-
- Added support for including global options from a separate file (#57)
|
222
|
-
- Allowed kameleon to fail silently if some error occured during include
|
223
|
-
- Marked all bash variables for export
|
224
|
-
- Sorted variables in ``kameleon info`` dump
|
225
|
-
- Removed duplicate error messages
|
226
|
-
- Shutdown polipo cleanly (#54)
|
227
|
-
- Added offline mode to prevent Polipo from contacting remote servers
|
228
|
-
- Fixed polipo default options to avoid "206 partial responses" (#54)
|
229
|
-
- Made only one checkpoint per macrostep to improve performance
|
230
|
-
- Made polipo log file unique for each user to avoid "Permission denied" error
|
231
|
-
- Added new keyword in ZSH completion
|
248
|
+
- Fixed variables overload when using inheritance.
|
249
|
+
- Added support for including global options from a separate file (#57).
|
250
|
+
- Allowed kameleon to fail silently if some error occured during include.
|
251
|
+
- Marked all bash variables for export.
|
252
|
+
- Sorted variables in ``kameleon info`` dump.
|
253
|
+
- Removed duplicate error messages.
|
254
|
+
- Shutdown polipo cleanly (#54).
|
255
|
+
- Added offline mode to prevent Polipo from contacting remote servers.
|
256
|
+
- Fixed polipo default options to avoid "206 partial responses" (#54).
|
257
|
+
- Made only one checkpoint per macrostep to improve performance.
|
258
|
+
- Made polipo log file unique for each user to avoid "Permission denied" error.
|
259
|
+
- Added new keyword in ZSH completion.
|
232
260
|
|
233
261
|
Version 2.6.7
|
234
262
|
-------------
|
235
263
|
|
236
|
-
Released on October
|
264
|
+
Released on October 1st 2015
|
237
265
|
|
238
|
-
- Decreased polipo exit timeout (120 to 5s)
|
239
|
-
- Passed only recipe files (not directories) to the cache to fixed persistant cache crash
|
266
|
+
- Decreased polipo exit timeout (120 to 5s).
|
267
|
+
- Passed only recipe files (not directories) to the cache to fixed persistant cache crash.
|
240
268
|
|
241
269
|
|
242
270
|
Version 2.6.6
|
@@ -244,40 +272,40 @@ Version 2.6.6
|
|
244
272
|
|
245
273
|
Released on September 14th 2015
|
246
274
|
|
247
|
-
- set default ``cache_archive_compression`` to gzip
|
275
|
+
- set default ``cache_archive_compression`` to gzip.
|
248
276
|
|
249
277
|
Version 2.6.5
|
250
278
|
-------------
|
251
279
|
|
252
280
|
Released on September 14th 2015
|
253
281
|
|
254
|
-
- Fixed the proxy-cache to allow big files
|
255
|
-
- Added ``--proxy`` and ``--proxy-credentials`` options to set a global proxy for kameleon
|
256
|
-
- Added ``proxy_local``, ``proxy_out`` and ``proxy_in`` kameleon recipe variables to get proxy address from recipe
|
257
|
-
- Enabled ERB templating in the user environement files
|
258
|
-
- Renamed ``--proxy-path`` option to ``--polipo-path
|
282
|
+
- Fixed the proxy-cache to allow big files.
|
283
|
+
- Added ``--proxy`` and ``--proxy-credentials`` options to set a global proxy for kameleon.
|
284
|
+
- Added ``proxy_local``, ``proxy_out`` and ``proxy_in`` kameleon recipe variables to get proxy address from recipe.
|
285
|
+
- Enabled ERB templating in the user environement files.
|
286
|
+
- Renamed ``--proxy-path`` option to ``--polipo-path``.
|
259
287
|
|
260
288
|
Version 2.6.4
|
261
289
|
-------------
|
262
290
|
|
263
|
-
Released on September
|
291
|
+
Released on September 7th 2015
|
264
292
|
|
265
|
-
- Fixed kameleon data variables resolution
|
293
|
+
- Fixed kameleon data variables resolution.
|
266
294
|
|
267
295
|
Version 2.6.3
|
268
296
|
-------------
|
269
297
|
|
270
298
|
Released on August 25th 2015
|
271
299
|
|
272
|
-
- Don't fail now if a context was closed
|
300
|
+
- Don't fail now if a context was closed.
|
273
301
|
|
274
302
|
Version 2.6.2
|
275
303
|
-------------
|
276
304
|
|
277
305
|
Released on August 25th 2015
|
278
306
|
|
279
|
-
- Added ``cache_archive_compression`` option to choose compression tool
|
280
|
-
- Tried using curl before wget
|
307
|
+
- Added ``cache_archive_compression`` option to choose compression tool.
|
308
|
+
- Tried using curl before wget.
|
281
309
|
|
282
310
|
|
283
311
|
Version 2.6.1
|
@@ -285,69 +313,65 @@ Version 2.6.1
|
|
285
313
|
|
286
314
|
Released on August 12th 2015
|
287
315
|
|
288
|
-
- Cli global parameters overwrite all recipe key:value parameters
|
316
|
+
- Cli global parameters overwrite all recipe key:value parameters.
|
289
317
|
|
290
318
|
Version 2.6.0
|
291
319
|
-------------
|
292
320
|
|
293
321
|
Released on May 13th 2015
|
294
322
|
|
295
|
-
- Added --list-checkpoints to ``kameleon build`` command
|
296
|
-
- Removed ``kameleon checkpoints`` and ``kameleon clean`` commands
|
297
|
-
- Displayed error information in normal and verbose mode
|
298
|
-
- Fixed ruby 1.8.7 compatibility
|
299
|
-
- Added Zsh completion (See completion)
|
323
|
+
- Added --list-checkpoints to ``kameleon build`` command.
|
324
|
+
- Removed ``kameleon checkpoints`` and ``kameleon clean`` commands.
|
325
|
+
- Displayed error information in normal and verbose mode.
|
326
|
+
- Fixed ruby 1.8.7 compatibility.
|
327
|
+
- Added Zsh completion (See completion).
|
300
328
|
|
301
329
|
Version 2.5.0
|
302
330
|
-------------
|
303
331
|
|
304
332
|
Released on Jan 27th 2015
|
305
333
|
|
306
|
-
- Allowed user to get custom shell environement by adding shell script
|
307
|
-
- Added option ``--verbose`` to allow user debugging
|
308
|
-
- Added option ``--from-cache`` to the ``kameleon info`` subcommand
|
309
|
-
- Enabled bash xtrace in verbose mode
|
310
|
-
- Checked appropriate proxy cache server start
|
311
|
-
- Fixed recipe path in proxy cache metadata
|
312
|
-
- Forced proxy cache to use IPv4
|
313
|
-
- Improved UI with more color and less output messages
|
314
|
-
|
334
|
+
- Allowed user to get custom shell environement by adding shell script.
|
335
|
+
- Added option ``--verbose`` to allow user debugging.
|
336
|
+
- Added option ``--from-cache`` to the ``kameleon info`` subcommand.
|
337
|
+
- Enabled bash xtrace in verbose mode.
|
338
|
+
- Checked appropriate proxy cache server start.
|
339
|
+
- Fixed recipe path in proxy cache metadata.
|
340
|
+
- Forced proxy cache to use IPv4.
|
341
|
+
- Improved UI with more color and less output messages.
|
315
342
|
|
316
343
|
Version 2.4.0
|
317
344
|
-------------
|
318
345
|
|
319
346
|
Released on Dec 23rd 2014
|
320
347
|
|
321
|
-
- Supported recipe attached data
|
322
|
-
- Introduced a new shell command execution mechanism, to prevent kameleon from waiting forever if the command act weird (Fixed #39)
|
323
|
-
- Improved the customization of steps with inheritance
|
324
|
-
- Allowed to set global variables from cli during build using ``--global key:value
|
325
|
-
- Moved repository command to the upper level (``kameleon repository``)
|
326
|
-
|
348
|
+
- Supported recipe attached data.
|
349
|
+
- Introduced a new shell command execution mechanism, to prevent kameleon from waiting forever if the command act weird (Fixed #39).
|
350
|
+
- Improved the customization of steps with inheritance.
|
351
|
+
- Allowed to set global variables from cli during build using ``--global key:value ..``.
|
352
|
+
- Moved repository command to the upper level (``kameleon repository``).
|
327
353
|
|
328
354
|
Version 2.3.5
|
329
355
|
-------------
|
330
356
|
|
331
357
|
Released on Dec 2nd 2014
|
332
358
|
|
333
|
-
- Fixed kameleon 2.3.4 regressions about ``kameleon build
|
334
|
-
|
359
|
+
- Fixed kameleon 2.3.4 regressions about ``kameleon build``.
|
335
360
|
|
336
361
|
Version 2.3.4
|
337
362
|
-------------
|
338
363
|
|
339
364
|
Released on Nov 26th 2014
|
340
365
|
|
341
|
-
- Fixed kameleon 2.3.3 regressions about the template import
|
342
|
-
|
366
|
+
- Fixed kameleon 2.3.3 regressions about the template import.
|
343
367
|
|
344
368
|
Version 2.3.3
|
345
369
|
-------------
|
346
370
|
|
347
371
|
Released on Nov 26th 2014
|
348
372
|
|
349
|
-
- Minor improvements
|
350
|
-
- Fixed issue with listing the templates avaiable in a repository
|
373
|
+
- Minor improvements.
|
374
|
+
- Fixed issue with listing the templates avaiable in a repository.
|
351
375
|
|
352
376
|
Version 2.3.2
|
353
377
|
-------------
|
@@ -369,120 +393,116 @@ Version 2.3.0
|
|
369
393
|
|
370
394
|
Released on Oct 16th 2014
|
371
395
|
|
372
|
-
- Handled Ctrl-C to make a breakpoint instead of quitting. (Fixed #29)
|
373
|
-
- Stored kameleon user configuration file in ``~/.kameleon.d/config`` (Fixed #24)
|
374
|
-
- Fixed ``kameleon new`` to take an absolute or relative path and place the recipe in a subdir (Fixed #22)
|
375
|
-
- Moved builtin recipes to an external repository
|
376
|
-
- Renamed ``--cache`` option to ``--enable-cache
|
377
|
-
- Renamed ``--checkpoint`` option to ``--enable-checkpoint
|
378
|
-
- Removed ``kameleon import`` command
|
379
|
-
- Removed ``kameleon templates`` command
|
380
|
-
- Added ``kameleon info`` to display detailed information about a recipe
|
381
|
-
- Added ``kameleon list`` to list all defined recipes in the current directory
|
382
|
-
- Added ``kameleon template info`` to display detailed information about a template
|
383
|
-
- Added ``kameleon template import`` to import a template
|
384
|
-
- Added ``kameleon template list`` to list all available templates
|
385
|
-
- Added ``kameleon template repository`` to manage external git recipes repositories
|
386
|
-
|
396
|
+
- Handled Ctrl-C to make a breakpoint instead of quitting. (Fixed #29).
|
397
|
+
- Stored kameleon user configuration file in ``~/.kameleon.d/config`` (Fixed #24).
|
398
|
+
- Fixed ``kameleon new`` to take an absolute or relative path and place the recipe in a subdir (Fixed #22).
|
399
|
+
- Moved builtin recipes to an external repository: See [http://kameleon.imag.fr/repository.html](Docs) (Fixed #24).
|
400
|
+
- Renamed ``--cache`` option to ``--enable-cache``.
|
401
|
+
- Renamed ``--checkpoint`` option to ``--enable-checkpoint``.
|
402
|
+
- Removed ``kameleon import`` command.
|
403
|
+
- Removed ``kameleon templates`` command.
|
404
|
+
- Added ``kameleon info`` to display detailed information about a recipe.
|
405
|
+
- Added ``kameleon list`` to list all defined recipes in the current directory.
|
406
|
+
- Added ``kameleon template info`` to display detailed information about a template.
|
407
|
+
- Added ``kameleon template import`` to import a template.
|
408
|
+
- Added ``kameleon template list`` to list all available templates.
|
409
|
+
- Added ``kameleon template repository`` to manage external git recipes repositories.
|
387
410
|
|
388
411
|
Version 2.2.5
|
389
412
|
-------------
|
390
413
|
|
391
414
|
Released on Sep 19th 2014
|
392
415
|
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
416
|
+
- [template] Customized vm memory size before vagrant export.
|
417
|
+
- [template] Configured virtualbox to use ``82540EM`` driver for ethX interfaces.
|
418
|
+
- [template][debian] installed man-db and net-tools with debootstrap.
|
419
|
+
- [template][centos] Removed traces of mac address from network configuration.
|
420
|
+
- [template][centos] installed man package.
|
421
|
+
- [template][centos] Set OS type to ``Redhat_64`` in virtualbox.
|
422
|
+
- [template][debian] Added security and backports repository.
|
423
|
+
- [template][debian] Added debian security and backports repositories.
|
424
|
+
- [template][debian] Removed ntp from all debian recipes.
|
425
|
+
- [template][centos] Added ``single-request-reopen`` option to network config (centos).
|
426
|
+
- [template][centos] Fixed corrupted rpm database.
|
406
427
|
|
407
428
|
Version 2.2.4
|
408
429
|
-------------
|
409
430
|
|
410
431
|
Released on Sep 2nd 2014
|
411
432
|
|
412
|
-
- [template] Added the ``-cpu host`` option to qemu to improve performances
|
413
|
-
- [template] Made centos image as close as possible as default Centos installation
|
414
|
-
- [template] Configured SELinux for Fedora and Centos
|
415
|
-
- [template] Fixed Grid'5000 export step
|
416
|
-
- [template] Extended vagrant recipes from virtualbox recipes
|
417
|
-
- [core] Adding the step elapsed time to the Kamelon output
|
418
|
-
- [proxy cache] Restructured persistent cache and improved caching of pipes
|
419
|
-
- [proxy cache] Added ``ProxyAdrres`` paramter to polipo to take into account all the host network interfaces
|
433
|
+
- [template] Added the ``-cpu host`` option to qemu to improve performances.
|
434
|
+
- [template] Made centos image as close as possible as default Centos installation.
|
435
|
+
- [template] Configured SELinux for Fedora and Centos.
|
436
|
+
- [template] Fixed Grid'5000 export step.
|
437
|
+
- [template] Extended vagrant recipes from virtualbox recipes.
|
438
|
+
- [core] Adding the step elapsed time to the Kamelon output.
|
439
|
+
- [proxy cache] Restructured persistent cache and improved caching of pipes.
|
440
|
+
- [proxy cache] Added ``ProxyAdrres`` paramter to polipo to take into account all the host network interfaces.
|
420
441
|
|
421
442
|
Version 2.2.3
|
422
443
|
-------------
|
423
444
|
Released on Aug 19th 2014
|
424
445
|
|
425
|
-
- [template] The extlinux MBR path has changed because jessie is not frozen (Fix #17)
|
446
|
+
- [template] The extlinux MBR path has changed because jessie is not frozen (Fix #17).
|
426
447
|
|
427
448
|
Version 2.2.2
|
428
449
|
-------------
|
429
450
|
|
430
451
|
Released on July 23rd 2014
|
431
452
|
|
432
|
-
- [core] Added ``-h`` CLI option to print help
|
433
|
-
- [core] Added ``--templates-path`` CLI option to set different templates directory
|
434
|
-
- [core] Fixed regression about recipe ancestors loading
|
453
|
+
- [core] Added ``-h`` CLI option to print help.
|
454
|
+
- [core] Added ``--templates-path`` CLI option to set different templates directory.
|
455
|
+
- [core] Fixed regression about recipe ancestors loading.
|
435
456
|
|
436
457
|
Version 2.2.1
|
437
458
|
-------------
|
438
459
|
|
439
460
|
Released on July 22nd 2014
|
440
461
|
|
441
|
-
- [core] Switch to default yaml parser (psych) and removed syck from dependencies
|
442
|
-
- [core] Loaded a recipe with all ancestors
|
462
|
+
- [core] Switch to default yaml parser (psych) and removed syck from dependencies.
|
463
|
+
- [core] Loaded a recipe with all ancestors.
|
443
464
|
|
444
465
|
Version 2.2.0
|
445
466
|
-------------
|
446
467
|
|
447
468
|
Released on July 20th 2014
|
448
469
|
|
449
|
-
- [proxy cache] Added ``proxy_cache`` recipe option to context_in/out to enable
|
450
|
-
|
451
|
-
- [proxy cache]
|
452
|
-
- [proxy cache]
|
453
|
-
- [
|
454
|
-
- [proxy_cache]
|
455
|
-
- [
|
456
|
-
- [package] Removed
|
457
|
-
- [
|
458
|
-
- [core]
|
459
|
-
- [core] Added
|
460
|
-
- [core]
|
461
|
-
- [core]
|
462
|
-
- [core]
|
463
|
-
- [
|
464
|
-
- [template]
|
465
|
-
- [template]
|
466
|
-
- [template]
|
467
|
-
- [template]
|
468
|
-
- [template]
|
469
|
-
- [template]
|
470
|
-
- [template]
|
471
|
-
- [template]
|
472
|
-
- [template]
|
473
|
-
- [template]
|
474
|
-
- [template]
|
475
|
-
- [template]
|
476
|
-
- [template]
|
477
|
-
- [template]
|
478
|
-
- [template]
|
479
|
-
- [template]
|
480
|
-
- [template]
|
481
|
-
- [template]
|
482
|
-
- [template]
|
483
|
-
- [template]
|
484
|
-
- [template]
|
485
|
-
- [template] Added new templates :
|
470
|
+
- [proxy cache] Added ``proxy_cache`` recipe option to context_in/out to enable persistant cache for every context.
|
471
|
+
- [proxy cache] Added ``--cache-path`` CLI option to set different cache directory.
|
472
|
+
- [proxy cache] Shared cache directory between recipes by default.
|
473
|
+
- [proxy cache] No more internal cache for debootstrap.
|
474
|
+
- [proxy_cache] Polipo does not use default config file anymore.
|
475
|
+
- [proxy_cache] Recipe is now stored in cache at the end.
|
476
|
+
- [package] Removed diffy from dependencies.
|
477
|
+
- [package] Removed log4r-color from dependencies.
|
478
|
+
- [core] Rewrote checkpoint mechanism. (allow to run multiple commands).
|
479
|
+
- [core] Added ``--script`` CLI option to enable non-interactive mode.
|
480
|
+
- [core] Added ``reload_context`` command that reloads the context from the recipe.
|
481
|
+
- [core] From now on, Kameleon tries to clean all contexts without blocking the shell.
|
482
|
+
- [core] Improved cleaning contexts upon interruption.
|
483
|
+
- [core] If microstep is marked as ``redo`` or ``skip`` (on checkpoint), the ID will be independent from other steps.
|
484
|
+
- [template] Grouped templates by virtualization tools.
|
485
|
+
- [template] Removed extlinux timeout for debian.
|
486
|
+
- [template] Configured apt to install recommended packages by default.
|
487
|
+
- [template] Added architecture type in templates description.
|
488
|
+
- [template] Forced killing qemu with sigterm signal.
|
489
|
+
- [template] Removed ssh ControlPath option.
|
490
|
+
- [template] Used parted tool in script mode.
|
491
|
+
- [template] Added a timeout during startup and shutdown VMs.
|
492
|
+
- [template] Restored eth0 as default interface in Fedora (net.ifnames=0 biosdevname=0).
|
493
|
+
- [template] Ensured that the checkpoint was disabled at the beginning of the recipe.
|
494
|
+
- [template] Make sure that qemu is stopped at the end.
|
495
|
+
- [template] Replaced netcat by socat.
|
496
|
+
- [template] Removed duplicated ubuntu repository (restricted).
|
497
|
+
- [template] Used a debian-jessie iso to bootstrap the out_context with a minimal linux system.
|
498
|
+
- [template] Hide default kameleon state files.
|
499
|
+
- [template] Enabled debug mode with ``KAMELEON_DEBUG=1`` environment variable.
|
500
|
+
- [template] Added ``download_file`` alias that uses curl/wget or python to download files.
|
501
|
+
- [template] Enabled kvm only if available.
|
502
|
+
- [template] Do not run qemu with nohup (Use ``-daemonize`` instead).
|
503
|
+
- [template] Improved context_out/in log readability.
|
504
|
+
- [template] Removed fedora-rawhide templates.
|
505
|
+
- [template] Added new templates:
|
486
506
|
|
487
507
|
- qemu/archlinux-desktop-i686
|
488
508
|
- qemu/archlinux-i686
|
@@ -516,38 +536,38 @@ Version 2.1.3
|
|
516
536
|
|
517
537
|
Released on June 16th 2014
|
518
538
|
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
539
|
+
- [core] Loading dependent gems based on the users ruby version.
|
540
|
+
- [core] Getting back compatibility with ruby 1.8.7.
|
541
|
+
- [core] Don't fail if context is not ready.
|
542
|
+
- [core] Minor bug fixes.
|
543
|
+
- [template] Set a small timeout with netcat.
|
544
|
+
- [template] Added new debian 7 appliance with kameleon.
|
525
545
|
|
526
546
|
Version 2.1.0
|
527
547
|
-------------
|
528
548
|
|
529
549
|
Released on June 12th 2014
|
530
550
|
|
531
|
-
- [core] Fixed psych yaml parsing (#1)
|
532
|
-
- [core] Changed option ``--no-no-color`` to ``--color
|
533
|
-
- [core] Saved the contexts state files in their WORKDIR (#3)
|
534
|
-
- [core] Set context in/out/local cmd to /bin/bash by default (#5)
|
535
|
-
- [core] Made global section non mandatory
|
536
|
-
- [core] Made writing embedded step in recipe possible (#12)
|
537
|
-
- [core] Improved the readability of logs and the progress bar
|
538
|
-
- [core] Moved aliases and checkpoints folders to steps
|
539
|
-
- [core] Removed the ``recipes`` folder and the ``workspace`` (#2)
|
540
|
-
- [core] Make a safe copy with ``kameleon new`` command
|
541
|
-
- [core] Added a simple extend recipe feature (#11)
|
542
|
-
- [core] Introduced the keyword "@base" in the extended recipes (#11)
|
543
|
-
- [core] Don't log identifier of microstep during build process
|
544
|
-
- [core] Added ``kameleon import`` command (#11)
|
545
|
-
- [core] Added ``--clean`` option to ``kameleon build`` command
|
546
|
-
- [core] Added the lazy context initialization (#10)
|
547
|
-
- [core] Set the variable ``KAMELEON_WORKDIR`` for all contexts
|
548
|
-
- [core] Used ``KAMELEON_WORKDIR`` when working with PIPE
|
549
|
-
- [core] Added persistent cache feature to Kameleon, So far it is caching just packages comming from the network using Polipo
|
550
|
-
- [template] Added new templates
|
551
|
+
- [core] Fixed psych yaml parsing (#1).
|
552
|
+
- [core] Changed option ``--no-no-color`` to ``--color``.
|
553
|
+
- [core] Saved the contexts state files in their WORKDIR (#3).
|
554
|
+
- [core] Set context in/out/local cmd to /bin/bash by default (#5).
|
555
|
+
- [core] Made global section non mandatory.
|
556
|
+
- [core] Made writing embedded step in recipe possible (#12).
|
557
|
+
- [core] Improved the readability of logs and the progress bar.
|
558
|
+
- [core] Moved aliases and checkpoints folders to steps.
|
559
|
+
- [core] Removed the ``recipes`` folder and the ``workspace`` (#2).
|
560
|
+
- [core] Make a safe copy with ``kameleon new`` command.
|
561
|
+
- [core] Added a simple extend recipe feature (#11).
|
562
|
+
- [core] Introduced the keyword "@base" in the extended recipes (#11).
|
563
|
+
- [core] Don't log identifier of microstep during build process.
|
564
|
+
- [core] Added ``kameleon import`` command (#11).
|
565
|
+
- [core] Added ``--clean`` option to ``kameleon build`` command.
|
566
|
+
- [core] Added the lazy context initialization (#10).
|
567
|
+
- [core] Set the variable ``KAMELEON_WORKDIR`` for all contexts.
|
568
|
+
- [core] Used ``KAMELEON_WORKDIR`` when working with PIPE.
|
569
|
+
- [core] Added persistent cache feature to Kameleon, So far it is caching just packages comming from the network using Polipo.
|
570
|
+
- [template] Added new templates:
|
551
571
|
|
552
572
|
- archlinux
|
553
573
|
- archlinux-desktop
|
@@ -563,42 +583,42 @@ Released on June 12th 2014
|
|
563
583
|
- ubuntu-14.04
|
564
584
|
- ubuntu-14.04-desktop
|
565
585
|
- vagrant-debian7
|
566
|
-
- [template] Installed the extlinux bootloader depending on distributions
|
567
|
-
- [template] New way to bootstrap fedora using Liveos image
|
568
|
-
- [template] Installed linux kernel and extlinux bootloader from bootstrap section
|
569
|
-
- [template] Used parted instead of sfdisk
|
570
|
-
- [template] Added save_as_qed step
|
571
|
-
- [template] Removed insecure ssh key before any export
|
572
|
-
- [template] Added shell auto-completion for bash, zsh and fish shell
|
573
|
-
- [template] Default user group is sudo
|
574
|
-
- [template] Added a new qemu/kvm template with full-snapshot support
|
575
|
-
- [template] Ability to add user in multiple groups (with usermod -G)
|
576
|
-
- [template] Improved I/O performance with qemu/kvm
|
577
|
-
- [template] Removed force-unsafe-io for dpkg to avoid corrupted filesystem
|
578
|
-
- [template] Used qemu by default instead of chroot
|
579
|
-
- [template] Added option to disable debootstrap cache
|
580
|
-
- [template] Refactor qcow2 backing file checkpoints
|
581
|
-
- [template] Make QEMU checkpoint more robust and avoid disk corruption
|
582
|
-
- [template] Major revision of steps to make it easier to use in different templates
|
583
|
-
- [template] Rename steps for more semantic consistency
|
584
|
-
- [template] Making the 'save_appliance' step not dependent on the state of the machine
|
585
|
-
- [template] Enabled cache for arch_bootstrap
|
586
|
-
- [template] Added openssh in arch-bootstrap and enabled sshd.service/dhcp.service
|
587
|
-
- [template] Added user 'nobody' to allow sshd to run in the archlinux virtual machine
|
588
|
-
- [template] Enabled checkpoints (backing-file) only in the "setup" stage
|
589
|
-
- [template] Fixed .ssh and authorized_keys permissions
|
590
|
-
- [template] Avoid crash of in_context when we send a shutdown command to the virtual machine
|
591
|
-
- [template] Exclude special files with rsync (proc/dev...) when copying rootfs to the disk
|
592
|
-
- [template] Force stop qemu if still running
|
593
|
-
- [template] Make debian-chroot depreciated
|
594
|
-
- [template] Refactor archlinux template to use it with qemu/kvm
|
595
|
-
- [template] Improved the LiveOS fedora bootstrap step to get the system running with qemu/kvm
|
596
|
-
- [template] Refactor fedora20/debian8 templates to use them with qemu/kvm
|
597
|
-
- [template] Set timezone to UTC by default
|
598
|
-
- [template] Used ProxyCommand to improve the debian7-g5k recipe
|
599
|
-
- [aliases] Updated write_file and append_file aliases to support double quotes
|
600
|
-
- [aliases] Defined new aliases for unmounting devices
|
601
|
-
- [docs] More documentation
|
586
|
+
- [template] Installed the extlinux bootloader depending on distributions.
|
587
|
+
- [template] New way to bootstrap fedora using Liveos image.
|
588
|
+
- [template] Installed linux kernel and extlinux bootloader from bootstrap section.
|
589
|
+
- [template] Used parted instead of sfdisk.
|
590
|
+
- [template] Added save_as_qed step.
|
591
|
+
- [template] Removed insecure ssh key before any export.
|
592
|
+
- [template] Added shell auto-completion for bash, zsh and fish shell.
|
593
|
+
- [template] Default user group is sudo.
|
594
|
+
- [template] Added a new qemu/kvm template with full-snapshot support.
|
595
|
+
- [template] Ability to add user in multiple groups (with usermod -G).
|
596
|
+
- [template] Improved I/O performance with qemu/kvm.
|
597
|
+
- [template] Removed force-unsafe-io for dpkg to avoid corrupted filesystem.
|
598
|
+
- [template] Used qemu by default instead of chroot.
|
599
|
+
- [template] Added option to disable debootstrap cache.
|
600
|
+
- [template] Refactor qcow2 backing file checkpoints.
|
601
|
+
- [template] Make QEMU checkpoint more robust and avoid disk corruption.
|
602
|
+
- [template] Major revision of steps to make it easier to use in different templates.
|
603
|
+
- [template] Rename steps for more semantic consistency.
|
604
|
+
- [template] Making the 'save_appliance' step not dependent on the state of the machine.
|
605
|
+
- [template] Enabled cache for arch_bootstrap.
|
606
|
+
- [template] Added openssh in arch-bootstrap and enabled sshd.service/dhcp.service.
|
607
|
+
- [template] Added user 'nobody' to allow sshd to run in the archlinux virtual machine.
|
608
|
+
- [template] Enabled checkpoints (backing-file) only in the "setup" stage.
|
609
|
+
- [template] Fixed .ssh and authorized_keys permissions.
|
610
|
+
- [template] Avoid crash of in_context when we send a shutdown command to the virtual machine.
|
611
|
+
- [template] Exclude special files with rsync (proc/dev...) when copying rootfs to the disk.
|
612
|
+
- [template] Force stop qemu if still running.
|
613
|
+
- [template] Make debian-chroot depreciated.
|
614
|
+
- [template] Refactor archlinux template to use it with qemu/kvm.
|
615
|
+
- [template] Improved the LiveOS fedora bootstrap step to get the system running with qemu/kvm.
|
616
|
+
- [template] Refactor fedora20/debian8 templates to use them with qemu/kvm.
|
617
|
+
- [template] Set timezone to UTC by default.
|
618
|
+
- [template] Used ProxyCommand to improve the debian7-g5k recipe.
|
619
|
+
- [aliases] Updated write_file and append_file aliases to support double quotes.
|
620
|
+
- [aliases] Defined new aliases for unmounting devices.
|
621
|
+
- [docs] More documentation.
|
602
622
|
|
603
623
|
|
604
624
|
Version 2.0.0
|
@@ -606,5 +626,5 @@ Version 2.0.0
|
|
606
626
|
|
607
627
|
Released on February 17th 2014
|
608
628
|
|
609
|
-
Initial public release of kameleon 2
|
629
|
+
- Initial public release of kameleon 2.
|
610
630
|
|