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 #323 from hypriot/docker-19-03-3
Browse files Browse the repository at this point in the history
Update Docker 19.03.3
  • Loading branch information
StefanScherer authored Oct 10, 2019
2 parents f928d0a + 1e0eec7 commit 259b103
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 20 deletions.
4 changes: 0 additions & 4 deletions builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster $DOCKER

c_rehash

# set up hypriot rpi repository for raspbian specific packages
echo 'deb https://packagecloud.io/Hypriot/rpi/raspbian/ buster main' >> /etc/apt/sources.list.d/hypriot.list
curl -L https://packagecloud.io/Hypriot/rpi/gpgkey | apt-key add -

RPI_ORG_FPR=CF8A1AF502A2AA2D763BAE7E82B129927FA3303E RPI_ORG_KEY_URL=http://archive.raspberrypi.org/debian/raspberrypi.gpg.key
get_gpg "${RPI_ORG_FPR}" "${RPI_ORG_KEY_URL}"

Expand Down
6 changes: 0 additions & 6 deletions builder/files/etc/apt/preferences.d/hypriot

This file was deleted.

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 @@ -14,7 +14,7 @@

describe command('dpkg -l docker-ce') do
its(:stdout) { should match /ii docker-ce/ }
its(:stdout) { should match /5:19.03.2~3-0~raspbian/ }
its(:stdout) { should match /5:19.03.3~3-0~raspbian/ }
its(:stdout) { should match /armhf/ }
its(:exit_status) { should eq 0 }
end
Expand Down Expand Up @@ -42,7 +42,7 @@
it { should be_owned_by 'root' }
end

describe file('/usr/sbin/runc') do
describe file('/usr/bin/runc') do
it { should be_file }
it { should be_mode 755 }
it { should be_owned_by 'root' }
Expand Down Expand Up @@ -87,13 +87,13 @@
end

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

describe command('docker version') do
its(:stdout) { should match /Client: Docker Engine - Community. Version: 19.03.2. API version: 1.40/m }
its(:stdout) { should match /Server: Docker Engine - Community. Engine:. Version: 19.03.2. API version: 1.40/m }
its(:stdout) { should match /Client: Docker Engine - Community. Version: 19.03.3. API version: 1.40/m }
its(:stdout) { should match /Server: Docker Engine - Community. Engine:. Version: 19.03.3. API version: 1.40/m }
its(:exit_status) { should eq 0 }
end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
require 'spec_helper'

describe file('/etc/apt/sources.list.d/hypriot.list') do
it { should be_file }
it { should be_mode 644 }
it { should be_owned_by 'root' }
it { should contain 'deb https://packagecloud.io/Hypriot/rpi/raspbian/ buster main' }
it { should_not be_file }
end

describe package('apt-transport-https') do
Expand Down
2 changes: 1 addition & 1 deletion versions.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export KERNEL_BUILD="1.20190819-1"
# export KERNEL_URL=https://62-32913687-gh.circle-artifacts.com/0/home/circleci/project/output/20180320-092128/raspberrypi-kernel_20180320-092128_armhf.deb
# export KERNEL_VERSION="4.19.66"
export DOCKER_CE_CHANNEL="stable" # stable, test or edge
export DOCKER_CE_VERSION="5:19.03.2~3-0~raspbian-buster"
export DOCKER_CE_VERSION="5:19.03.3~3-0~raspbian-buster"
export DOCKER_COMPOSE_VERSION="1.23.2"
export DOCKER_MACHINE_VERSION="0.16.2"

0 comments on commit 259b103

Please sign in to comment.