Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d7c25b6ce5 | |||
|
9f430fa6d2
|
|||
|
05a04ac832
|
|||
| 2dfbc073ed | |||
| e2c00c2afb | |||
|
|
b3b03a9744 | ||
|
|
d845e3443a | ||
|
|
ae5a27d100 | ||
|
|
200552d1b7 | ||
|
|
856b48d015 | ||
|
|
9fd88a7da3 | ||
|
|
2552847d7e | ||
|
|
b6028ffff8 | ||
|
|
f25802a6ce | ||
| 5c31191ff8 | |||
|
|
7dc20eea12 | ||
|
|
1d09c15108 |
@@ -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:
|
||||
|
||||
@@ -10,7 +10,7 @@ GRAPH
|
||||
build-essential (8.1.1)
|
||||
mingw (>= 1.1)
|
||||
seven_zip (>= 0.0.0)
|
||||
ipfs (0.4.0)
|
||||
ipfs (0.4.2)
|
||||
ark (>= 0.0.0)
|
||||
mingw (2.1.0)
|
||||
seven_zip (>= 0.0.0)
|
||||
|
||||
@@ -64,7 +64,7 @@ kitchen verify # Run the integration tests for Ubuntu 16.04, 18.06 and Debian 9
|
||||
|
||||
## License and Authors
|
||||
|
||||
Authors: Kosmos Developers mail@kosmos.org
|
||||
Authors: Kosmos Developers mail@kosmos.org
|
||||
Copyright: 2018-2019, [Kosmos Developers](https://kredits.kosmos.org/)
|
||||
|
||||
```
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
node.default['ipfs']['version'] = '0.4.21'
|
||||
node.default['ipfs']['checksum'] = 'a7ec5ddc4d52f818cbf3853a80f7ec17f9fde9128f039485dbe1889cf673d562'
|
||||
node.default['ipfs']['version'] = '0.7.0'
|
||||
node.default['ipfs']['checksum'] = 'ef7c3f1bcae94c13c6e1033855ff99bb8e19089e01ea5018437847854c8c811f'
|
||||
|
||||
node.default['ipfs']['ulimit'] = 64000
|
||||
node.default['ipfs']['memory_max'] = '512M'
|
||||
|
||||
@@ -2,9 +2,9 @@ name 'ipfs'
|
||||
maintainer 'Kosmos Developers'
|
||||
maintainer_email 'mail@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/Configures ipfs'
|
||||
description 'Installs/Configures go-ipfs'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '0.4.0'
|
||||
version '0.7.0'
|
||||
|
||||
supports %w(ubuntu debian)
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ ark 'ipfs' do
|
||||
url "https://dist.ipfs.io/go-ipfs/v#{version}/go-ipfs_v#{version}_linux-amd64.tar.gz"
|
||||
checksum node['ipfs']['checksum']
|
||||
has_binaries ['ipfs']
|
||||
notifies :restart, 'service[ipfs]', :delayed
|
||||
end
|
||||
|
||||
execute 'ipfs init --empty-repo' do
|
||||
|
||||
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user