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