sambot 0.1.85 → 0.1.86
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.
- checksums.yaml +4 -4
- data/lib/sambot/commands/images.rb +21 -0
- data/lib/sambot/domain/gcp/images.rb +0 -0
- data/lib/sambot/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 847c6268b647b6f66ac58bce6f70325abf48a1ad
|
|
4
|
+
data.tar.gz: 10882e17be7f4088989a04d95dd3d30e87b6caff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ed756b22508b14aef4d3100dcbc811cbff632d947f2cc43a6609919c9a853a062142ecbbd874a7092e5438d652f6ad9e31f9ae528a1c08b58b75b877a0db79e
|
|
7
|
+
data.tar.gz: 6f1b5be68528b074a094ad0c2882808e29a936e1cce8da85c2f5808da9f2ee84336794afb952218c8e758f56850b42adb7f55a348be5377735cb5c1254e89be7
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module Sambot
|
|
2
|
+
module Commands
|
|
3
|
+
|
|
4
|
+
class Images < Thor
|
|
5
|
+
|
|
6
|
+
ApplicationError = Sambot::Domain::Common::ApplicationError
|
|
7
|
+
Runtime = Sambot::Domain::Common::Runtime
|
|
8
|
+
Config = Sambot::Domain::Common::Config
|
|
9
|
+
|
|
10
|
+
namespace 'images'
|
|
11
|
+
|
|
12
|
+
desc "cleanup", "Removes obsolete images"
|
|
13
|
+
def cleanup
|
|
14
|
+
Runtime.ensure_latest
|
|
15
|
+
rescue ApplicationError => e
|
|
16
|
+
error(e.message)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
File without changes
|
data/lib/sambot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sambot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.86
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Olivier Kouame
|
|
@@ -288,6 +288,7 @@ files:
|
|
|
288
288
|
- lib/sambot.rb
|
|
289
289
|
- lib/sambot/cli.rb
|
|
290
290
|
- lib/sambot/commands/cookbook.rb
|
|
291
|
+
- lib/sambot/commands/images.rb
|
|
291
292
|
- lib/sambot/commands/packer.rb
|
|
292
293
|
- lib/sambot/commands/session.rb
|
|
293
294
|
- lib/sambot/commands/workstation.rb
|
|
@@ -301,6 +302,7 @@ files:
|
|
|
301
302
|
- lib/sambot/domain/common/template_provider.rb
|
|
302
303
|
- lib/sambot/domain/cookbook.rb
|
|
303
304
|
- lib/sambot/domain/dns.rb
|
|
305
|
+
- lib/sambot/domain/gcp/images.rb
|
|
304
306
|
- lib/sambot/domain/packer.rb
|
|
305
307
|
- lib/sambot/domain/session.rb
|
|
306
308
|
- lib/sambot/domain/ssh/config_file.rb
|