Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit 98a9894

Browse files
committed
Merge pull request #24 from hypriot/upgrade-docker-tools
Update docker 1.10.0, docker-compose 1.6.0
2 parents ed5e67e + 9069559 commit 98a9894

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

builder/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ QEMU_ARCH="arm"
2828
export HYPRIOT_IMAGE_VERSION
2929

3030
# specific versions of kernel/firmware and docker tools
31-
export DOCKER_ENGINE_VERSION="1.9.1-1"
32-
export DOCKER_COMPOSE_VERSION="1.5.2-80"
31+
export DOCKER_ENGINE_VERSION="1.10.0-1"
32+
export DOCKER_COMPOSE_VERSION="1.6.0-27"
3333
export DOCKER_MACHINE_VERSION="0.4.1-72"
3434

3535
# create build directory for assembling our image filesystem

builder/test-integration/spec/hypriotos-docker/docker-swarm_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
end
1111

1212
describe command('docker images hypriot/rpi-swarm') do
13-
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*483554c63182 / }
13+
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*5eab982fa301 / }
1414
its(:exit_status) { should eq 0 }
1515
end

builder/test-integration/spec/hypriotos-image/docker-compose_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
describe command('dpkg -l docker-compose') do
88
its(:stdout) { should match /ii docker-compose/ }
9-
its(:stdout) { should match /1.5.2-80/ }
9+
its(:stdout) { should match /1.6.0-27/ }
1010
its(:exit_status) { should eq 0 }
1111
end
1212

@@ -17,6 +17,6 @@
1717
end
1818

1919
describe command('docker-compose --version') do
20-
its(:stdout) { should match /1.5.2/m }
20+
its(:stdout) { should match /1.6.0/m }
2121
its(:exit_status) { should eq 0 }
2222
end

builder/test-integration/spec/hypriotos-image/docker_spec.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
describe command('dpkg -l docker-hypriot') do
88
its(:stdout) { should match /ii docker-hypriot/ }
9-
its(:stdout) { should match /1.9.1-1/ }
9+
its(:stdout) { should match /1.10.0-1/ }
1010
its(:exit_status) { should eq 0 }
1111
end
1212

@@ -35,7 +35,7 @@
3535

3636
describe file('/var/lib/docker') do
3737
it { should be_directory }
38-
it { should be_mode 700 }
38+
it { should be_mode 701 }
3939
it { should be_owned_by 'root' }
4040
end
4141

@@ -47,13 +47,13 @@
4747
end
4848

4949
describe command('docker -v') do
50-
its(:stdout) { should match /Docker version 1.9.1, build/ }
50+
its(:stdout) { should match /Docker version 1.10.0, build/ }
5151
its(:exit_status) { should eq 0 }
5252
end
5353

5454
describe command('docker version') do
55-
its(:stdout) { should match /Client:. Version: 1.9.1. API version: 1.21/m }
56-
its(:stdout) { should match /Server:. Version: 1.9.1. API version: 1.21/m }
55+
its(:stdout) { should match /Client:. Version: 1.10.0. API version: 1.22/m }
56+
its(:stdout) { should match /Server:. Version: 1.10.0. API version: 1.22/m }
5757
its(:exit_status) { should eq 0 }
5858
end
5959

0 commit comments

Comments
 (0)