knife-container 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5937e57027e177a13d66e1f73227bc87f1a54922
4
- data.tar.gz: 12cab2846c406813adb906b6cbac375935b490cd
3
+ metadata.gz: 179841a21b19d595e367e8bb8d0e209260afa8be
4
+ data.tar.gz: 192f7ab139054268e518921c79048fc531523e5f
5
5
  SHA512:
6
- metadata.gz: c6ff0b5e388a5b1345b75a424d198a51562f4e4ff3d9a8e119c7f6d53f212709b1fa9b78ec0c9fb79762e59ee19b1484a4005cdab78f01d5b7f771f0adad65b1
7
- data.tar.gz: 6e91bc2ab0070a289128794bc076a6510b699c16b024c20bce1bee8a8d88f7f64a1e0ea98ded54eea231d789de77f2d77e16c5034a04016256a328e4536670e4
6
+ metadata.gz: 254c57e611869bcdea9976bb7358e5aadbfe3e664a700ef3adae92fc8b7c6a5f8d4f1ca8d87eba16fdcab63afa31c06fa8892cc3aabbe8de18e64cd18a475b87
7
+ data.tar.gz: 6ae48b0ca06bab72e4b6bff896a45961aef335251bf5a3c6484ffbeedb52fe7ca181642b1ca1d61106baec313ac8ced8f846bfb92b5f4ab6000b9e8f20dc032a
@@ -0,0 +1,8 @@
1
+ # Knife Container Changelog
2
+
3
+ ## v0.2.1 (2014-08-15)
4
+ * [GH23] Specify hostname during knife container build
5
+
6
+ ## v0.2.0 (2014-07-16)
7
+ * `knife container docker init` - Initialize a Docker context on your local workstation.
8
+ * `knife container docker build` - Build a Docker image on your local workstation.
@@ -222,7 +222,7 @@ class Chef
222
222
  # @return [String]
223
223
  #
224
224
  def node_name
225
- "#{@name_args[0].gsub('/','-')}-build"
225
+ File.read(File.join(chef_repo, ".node_name")).strip
226
226
  end
227
227
 
228
228
  # Extracted from Chef::Knife.delete_object, because it has a
@@ -1,4 +1,4 @@
1
- source "https://api.berkshelf.com"
1
+ source "https://supermarket.getchef.com"
2
2
 
3
3
  <% @cookbooks.each do |cookbook| -%>
4
4
  cookbook "<%= cookbook %>"
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Container
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -313,6 +313,7 @@ describe Chef::Knife::ContainerDockerBuild do
313
313
 
314
314
  describe "#cleanup_artifacts" do
315
315
  let(:argv) { %w[ docker/demo ] }
316
+ before { allow(knife).to receive(:node_name).and_return('docker-demo-build') }
316
317
 
317
318
  context "running in server-mode" do
318
319
  it "should delete the node and client objects from the Chef Server" do
@@ -1,3 +1,3 @@
1
- source "https://api.berkshelf.com"
1
+ source "https://supermarket.getchef.com"
2
2
 
3
3
  cookbook "nginx", "= 2.7.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Duffield
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-11 00:00:00.000000000 Z
11
+ date: 2014-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -152,6 +152,7 @@ files:
152
152
  - ".gitignore"
153
153
  - ".rspec"
154
154
  - ".travis.yml"
155
+ - CHANGELOG.md
155
156
  - CONTRIBUTING.md
156
157
  - Gemfile
157
158
  - LICENSE