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 #25 from hypriot/update-versions
Browse files Browse the repository at this point in the history
Upgrade versions for rootfs and Docker engine
  • Loading branch information
DieterReuter committed Feb 12, 2016
2 parents 98a9894 + 26aca02 commit 53b45a9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BUILD_RESULT_PATH="/workspace"
BUILD_PATH="/build"

# where to store our base file system
HYPRIOT_OS_VERSION="v0.7.1"
HYPRIOT_OS_VERSION="v0.7.2"
ROOTFS_TAR="rootfs-armhf-${HYPRIOT_OS_VERSION}.tar.gz"
ROOTFS_TAR_PATH="$BUILD_RESULT_PATH/$ROOTFS_TAR"

Expand All @@ -28,7 +28,7 @@ QEMU_ARCH="arm"
export HYPRIOT_IMAGE_VERSION

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
it { should be_file }
it { should be_owned_by 'root' }
its(:content) { should match 'HYPRIOT_OS="HypriotOS/armhf"' }
its(:content) { should match 'HYPRIOT_OS_VERSION="v0.7.1"' }
its(:content) { should match 'HYPRIOT_OS_VERSION="v0.7.2"' }
its(:content) { should match 'HYPRIOT_DEVICE="ODROID C1/C1\+"' }
its(:content) { should match 'HYPRIOT_IMAGE_VERSION=' }
end
8 changes: 4 additions & 4 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.10.0-1/ }
its(:stdout) { should match /1.10.1-1/ }
its(:exit_status) { should eq 0 }
end

Expand Down Expand Up @@ -47,13 +47,13 @@
end

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

describe command('docker version') do
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(:stdout) { should match /Client:. Version: 1.10.1. API version: 1.22/m }
its(:stdout) { should match /Server:. Version: 1.10.1. API version: 1.22/m }
its(:exit_status) { should eq 0 }
end

Expand Down
4 changes: 2 additions & 2 deletions builder/test/os-release_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
expect(stdout).to contain('HYPRIOT_DEVICE="ODROID C1/C1')
end

it "uses os-rootfs version 'HYPRIOT_OS_VERSION=\"v0.7.1\"'" do
expect(stdout).to contain('^HYPRIOT_OS_VERSION="v0.7.1"$')
it "uses os-rootfs version 'HYPRIOT_OS_VERSION=\"v0.7.2\"'" do
expect(stdout).to contain('^HYPRIOT_OS_VERSION="v0.7.2"$')
end

if ENV.fetch('TRAVIS_TAG','') != ''
Expand Down

0 comments on commit 53b45a9

Please sign in to comment.