Merge pull request #31 from netmanagers/master

Tests for `archives`, changelog update
This commit is contained in:
N 2018-10-04 10:36:49 +01:00 committed by GitHub
commit 72b21110c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 1 deletions

View file

@ -49,7 +49,7 @@ provisioner:
verifier:
name: inspec
sudo: false
sudo: true
# cli, documentation, html, progress, json, json-min, json-rspec, junit
reporter:
- cli

View file

@ -17,3 +17,23 @@ packages formula
0.0.4 (2018-03-06)
- Allow to specify held system packages also as a list (#10)
0.0.5 (2018-03-14)
- Add snap support
0.0.6 (2018-04-09)
- Add snap with classic confinement support
0.0.7 (2018-07-11)
- Fix pip/gems for FreeBSD
0.0.8 (2018-08-23)
- Add archive support
0.0.9 (2018-10-03)
- Add support for plain files using arcihve

View file

@ -0,0 +1,21 @@
### ARCHIVE PKGS
control 'Archive packages' do
title 'should be downloaded and installed'
desc '(only testing in the Debian platform, as these are OS-independent'
only_if do
os.debian?
end
%w(
docker-compose.yml
phantomjs-2.1.1-linux-x86_64.tar.bz2
).each do |f|
describe file("/usr/local/src/#{f}") do
it { should exist }
end
end
describe file('/usr/local/bin/kubectl') do
it { should be_executable }
end
end