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

Commit

Permalink
Merge pull request #24 from hypriot/upgrade-docker-tools
Browse files Browse the repository at this point in the history
Update docker 1.10.0, docker-compose 1.6.0
  • Loading branch information
DieterReuter committed Feb 12, 2016
2 parents ed5e67e + 9069559 commit 98a9894
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ QEMU_ARCH="arm"
export HYPRIOT_IMAGE_VERSION

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

# create build directory for assembling our image filesystem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
end

describe command('docker images hypriot/rpi-swarm') do
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*483554c63182 / }
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*5eab982fa301 / }
its(:exit_status) { should eq 0 }
end
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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

Expand All @@ -17,6 +17,6 @@
end

describe command('docker-compose --version') do
its(:stdout) { should match /1.5.2/m }
its(:stdout) { should match /1.6.0/m }
its(:exit_status) { should eq 0 }
end
10 changes: 5 additions & 5 deletions builder/test-integration/spec/hypriotos-image/docker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

describe command('dpkg -l docker-hypriot') do
its(:stdout) { should match /ii docker-hypriot/ }
its(:stdout) { should match /1.9.1-1/ }
its(:stdout) { should match /1.10.0-1/ }
its(:exit_status) { should eq 0 }
end

Expand Down Expand Up @@ -35,7 +35,7 @@

describe file('/var/lib/docker') do
it { should be_directory }
it { should be_mode 700 }
it { should be_mode 701 }
it { should be_owned_by 'root' }
end

Expand All @@ -47,13 +47,13 @@
end

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

describe command('docker version') do
its(:stdout) { should match /Client:. Version: 1.9.1. API version: 1.21/m }
its(:stdout) { should match /Server:. Version: 1.9.1. API version: 1.21/m }
its(:stdout) { should match /Client:. Version: 1.10.0. API version: 1.22/m }
its(:stdout) { should match /Server:. Version: 1.10.0. API version: 1.22/m }
its(:exit_status) { should eq 0 }
end

Expand Down

0 comments on commit 98a9894

Please sign in to comment.