commit
e2c00c2afb
@ -13,12 +13,10 @@ provisioner:
|
||||
|
||||
verifier:
|
||||
name: inspec
|
||||
root_path: '/opt/verifier' # Needed for the specs to be detected in Docker
|
||||
chef_license: accept
|
||||
|
||||
platforms:
|
||||
- name: ubuntu-16.04
|
||||
driver:
|
||||
image: dokken/ubuntu-16.04
|
||||
pid_one_command: /bin/systemd
|
||||
- name: ubuntu-18.04
|
||||
driver:
|
||||
image: dokken/ubuntu-18.04
|
||||
@ -33,8 +31,3 @@ suites:
|
||||
run_list:
|
||||
- recipe[ipfs::default]
|
||||
attributes:
|
||||
- name: cluster
|
||||
run_list:
|
||||
- recipe[ipfs::cluster]
|
||||
- recipe[ipfs::cluster_service]
|
||||
attributes:
|
||||
|
@ -6,17 +6,14 @@ provisioner:
|
||||
name: chef_zero
|
||||
|
||||
platforms:
|
||||
- name: ubuntu-16.04
|
||||
- name: ubuntu-18.04
|
||||
- name: debian-9
|
||||
|
||||
verifier:
|
||||
chef_license: accept
|
||||
|
||||
suites:
|
||||
- name: default
|
||||
run_list:
|
||||
- recipe[ipfs::default]
|
||||
attributes:
|
||||
- name: cluster
|
||||
run_list:
|
||||
- recipe[ipfs::cluster]
|
||||
- recipe[ipfs::cluster_service]
|
||||
attributes:
|
||||
|
@ -20,7 +20,6 @@ services: docker
|
||||
env:
|
||||
matrix:
|
||||
- INSTANCE=default-debian-9
|
||||
- INSTANCE=default-ubuntu-1604
|
||||
- INSTANCE=default-ubuntu-1804
|
||||
|
||||
before_script:
|
||||
@ -30,7 +29,7 @@ before_script:
|
||||
- cookstyle --version
|
||||
- foodcritic --version
|
||||
|
||||
script: CHEF_LICENSE=accept-no-persist KITCHEN_LOCAL_YAML=.kitchen.dokken.yml CHEF_VERSION=13.10.4 kitchen verify ${INSTANCE}
|
||||
script: CHEF_LICENSE=accept-no-persist KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen test ${INSTANCE}
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
@ -45,10 +45,7 @@ describe 'IPFS' do
|
||||
|
||||
{
|
||||
'Swarm.AddrFilters' => addr_filters.rstrip,
|
||||
'Swarm.DisableBandwidthMetrics' => true,
|
||||
'Swarm.DisableRelay' => true,
|
||||
'Swarm.ConnMgr.HighWater' => 10,
|
||||
'Swarm.ConnMgr.LowWater' => 1,
|
||||
'Gateway.Writable' => true,
|
||||
}.each do |k, v|
|
||||
describe command("IPFS_PATH=/home/ipfs/.ipfs ipfs config '#{k}'") do
|
||||
let(:sudo_options) { '-u ipfs -i' }
|
||||
|
Loading…
x
Reference in New Issue
Block a user