wslc-wip 0.18.0 → 0.18.2
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/wip/cli.rb +3 -3
- data/lib/wip/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f4750c407f5fe6be96d5e079e090d8d8a9aea434479bbbfcfe628db1ba1b993
|
|
4
|
+
data.tar.gz: e3a71ba96464b059bcfb04e48c4512848f56564efa91aa0a05f6efbf4380e8aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adf6898a0e0bb8f15cc755fd64f6d7a86abfcadb915c2cf934171276ea80a76671fb423c57778c89b120684a4db211dc540f6e87e3d154b9c989e24bdbfe2904
|
|
7
|
+
data.tar.gz: a871127bfbc45d40c43e08efe282e134b2e021df7af7c9209fe60c443e1158b13a8b7f7328664c453fe1ffce30c51b3ee8cc77d2b39a78c92298de303e8be7bc
|
data/lib/wip/cli.rb
CHANGED
|
@@ -312,14 +312,14 @@ module Wip
|
|
|
312
312
|
# `wip up` invocation, mirroring ensure_sync_image's "build once, not every tick"
|
|
313
313
|
# approach. A no-op for mode: container/compose and for build:-less services.
|
|
314
314
|
def ensure_compose_images
|
|
315
|
-
load_config.compose_build_specs.
|
|
315
|
+
load_config.compose_build_specs.each_pair { |name, spec| build_compose_image(name, spec) }
|
|
316
316
|
end
|
|
317
317
|
|
|
318
318
|
# Stages spec['context'] the same way `wip build` does, so a .dockerignore next to
|
|
319
319
|
# a compose-native service's build: is honored and progress is reported here too.
|
|
320
|
-
def build_compose_image(spec)
|
|
320
|
+
def build_compose_image(name, spec)
|
|
321
321
|
extra = compose_build_extra(spec)
|
|
322
|
-
warn "wip:
|
|
322
|
+
warn "wip: building service '#{name}' (tag: #{spec['tag']}) from #{spec['context']}"
|
|
323
323
|
progress = StagingProgress.new
|
|
324
324
|
BuildContext.new(spec['context']).stage(on_progress: progress.method(:tick)) do |staged_context|
|
|
325
325
|
progress.finish
|
data/lib/wip/version.rb
CHANGED