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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7f2cc063288405718638b01fd6af260ddc7482c
4
- data.tar.gz: 8f7245de7de0c008004cb5eb0250011db6b4d8cf
3
+ metadata.gz: 847c6268b647b6f66ac58bce6f70325abf48a1ad
4
+ data.tar.gz: 10882e17be7f4088989a04d95dd3d30e87b6caff
5
5
  SHA512:
6
- metadata.gz: 2f72cdbbaf0f342afa8104e91925118b881bf03271d974e1d78867010f979c720d0102981269b2fc0576fb986fb2dc99f247abd180b34c3ff16a012a1f09e49b
7
- data.tar.gz: 6a7d3476f7ee54bf0de6787a77c854d4f6b5c3971545830e3cc85e6ab26bce07b9b3595b58d6962d9139ee80daa2d1a18804a65c1c532e49d9be56593f682d91
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
@@ -1,3 +1,3 @@
1
1
  module Sambot
2
- VERSION = '0.1.85'.freeze
2
+ VERSION = '0.1.86'.freeze
3
3
  end
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.85
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