Commit Graph

2612 Commits

Author SHA1 Message Date
dependabot-preview[bot]
9478792a8e
build(deps): bump github.com/imdario/mergo from 0.3.11 to 0.3.12 (#1325)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.11...0.3.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-15 20:34:43 +01:00
dependabot-preview[bot]
e1beeb0eda
build(deps): bump github.com/ipfs/go-log/v2 from 2.1.1 to 2.1.2 (#1321)
Bumps [github.com/ipfs/go-log/v2](https://github.com/ipfs/go-log) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-14 18:50:57 +01:00
dependabot-preview[bot]
11f16dc3be
build(deps): bump go.opencensus.io from 0.22.6 to 0.23.0 (#1318)
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.6 to 0.23.0.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.6...v0.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-14 18:50:03 +01:00
dependabot-preview[bot]
bdea5a6d19
build(deps): bump github.com/libp2p/go-libp2p-core from 0.8.0 to 0.8.5 (#1314)
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.8.0 to 0.8.5.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.8.0...v0.8.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-14 18:49:26 +01:00
Hector Sanjuan
328af47dc8
Restapi: API libp2p host and client should no longer use secio. (#1316)
Instead they should use noise, and fallback to tls.

This should not break compatibility with previous versions as both old and new
are able to speak tls.

Fixes #1315
2021-02-24 16:10:44 +01:00
dependabot-preview[bot]
5fd606b9d0
build(deps): bump github.com/ugorji/go/codec from 1.1.13 to 1.2.4 (#1308)
Bumps [github.com/ugorji/go/codec](https://github.com/ugorji/go) from 1.1.13 to 1.2.4.
- [Release notes](https://github.com/ugorji/go/releases)
- [Commits](https://github.com/ugorji/go/compare/v1.1.13...v1.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-19 10:14:34 +01:00
Hector Sanjuan
1cf5aa5c00 Update go-ipfs-pinner dependency 2021-02-19 10:13:45 +01:00
Hector Sanjuan
321c894df2 Merge branch 'master' into dependency-upgrades 2021-02-19 10:01:04 +01:00
Hector Sanjuan
fab2ed8149
monitor: remove dependency to go-multicodec (#1313)
go-multicodec has been deprecated and it was just a wrapper.

This switches directly to ugorji/go/codec's msgpack for cluster metrics
serialization.
2021-02-19 09:59:17 +01:00
Sergei Udris
43fa2994ac
feat: make MDNS failure on start non-fatal (#1310)
* feat: make MDNS failure on start non-fatal

- if discovery.NewMdnsService errors on start, show warning "error message, MDNS service will be disabled"
- same as setting MDNSInterval to 0: NewCluster is still created and daemon runs, but without MDNS
2021-02-19 09:47:46 +01:00
Hector Sanjuan
65fbb993d1
Merge pull request #1309 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-block-format-0.0.3
build(deps): bump github.com/ipfs/go-block-format from 0.0.2 to 0.0.3
2021-02-19 09:42:37 +01:00
Hector Sanjuan
c2fbc1cb80
Merge pull request #1307 from ipfs/dependabot/go_modules/dependency-upgrades/go.opencensus.io-0.22.6
build(deps): bump go.opencensus.io from 0.22.5 to 0.22.6
2021-02-19 09:34:24 +01:00
Hector Sanjuan
b9b5700639
Merge pull request #1304 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/google/uuid-1.2.0
build(deps): bump github.com/google/uuid from 1.1.2 to 1.2.0
2021-02-19 09:33:40 +01:00
dependabot-preview[bot]
3fa387a780
build(deps): bump github.com/ipfs/go-block-format from 0.0.2 to 0.0.3
Bumps [github.com/ipfs/go-block-format](https://github.com/ipfs/go-block-format) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/ipfs/go-block-format/releases)
- [Commits](https://github.com/ipfs/go-block-format/compare/v0.0.2...v0.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 12:30:26 +00:00
Hector Sanjuan
f4931291f7
Merge pull request #1305 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ipfs-config-0.12.0
build(deps): bump github.com/ipfs/go-ipfs-config from 0.11.0 to 0.12.0
2021-02-04 13:27:40 +01:00
Hector Sanjuan
aac5195913
Merge pull request #1296 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-path-0.0.9
build(deps): bump github.com/ipfs/go-path from 0.0.8 to 0.0.9
2021-02-04 13:27:10 +01:00
Hector Sanjuan
7ec1f072b5
Merge pull request #1297 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ds-crdt-0.1.19
build(deps): bump github.com/ipfs/go-ds-crdt from 0.1.18 to 0.1.19
2021-02-04 13:26:51 +01:00
Hector Sanjuan
a37331fd64
Merge pull request #1294 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-http-0.2.0
build(deps): bump github.com/libp2p/go-libp2p-http from 0.1.7 to 0.2.0
2021-02-04 13:26:13 +01:00
dependabot-preview[bot]
ab6d3732fa
build(deps): bump go.opencensus.io from 0.22.5 to 0.22.6
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.5 to 0.22.6.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.5...v0.22.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 12:58:52 +00:00
dependabot-preview[bot]
bbd922571a
build(deps): bump github.com/ipfs/go-ipfs-config from 0.11.0 to 0.12.0
Bumps [github.com/ipfs/go-ipfs-config](https://github.com/ipfs/go-ipfs-config) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/ipfs/go-ipfs-config/releases)
- [Commits](https://github.com/ipfs/go-ipfs-config/compare/v0.11.0...v0.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 12:57:55 +00:00
dependabot-preview[bot]
8ef5297960
build(deps): bump github.com/google/uuid from 1.1.2 to 1.2.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 11:31:25 +00:00
Hector Sanjuan
1da34a100b
Merge pull request #1301 from ipfs/feat/add-wait-flag
feat: add --wait flag to ipfs-cluster-ctl add
2021-01-22 13:31:33 +01:00
Oli Evans
5f9d2c90f8
chore: make wait step reachable regardless of flags
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2021-01-21 21:38:05 +00:00
Oli Evans
9cd70599aa
chore: wait after last CID is printed
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2021-01-21 20:43:47 +00:00
Oli Evans
fdd685b219
feat: add --wait flag to ipfs-cluster-ctl add
A "simplest thing that could work" implementation of adding a `--wait` flag to the ipfs-cluster-ctl add command.

Allows CI to wait for cluster to fully replicate the files just added before continuting, or fail if replication fails.

Fixes #1285

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2021-01-21 09:58:27 +00:00
dependabot-preview[bot]
761c285648
build(deps): bump github.com/ipfs/go-ds-crdt from 0.1.18 to 0.1.19
Bumps [github.com/ipfs/go-ds-crdt](https://github.com/ipfs/go-ds-crdt) from 0.1.18 to 0.1.19.
- [Release notes](https://github.com/ipfs/go-ds-crdt/releases)
- [Commits](https://github.com/ipfs/go-ds-crdt/compare/v0.1.18...v0.1.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 12:16:11 +00:00
dependabot-preview[bot]
08542155d3
build(deps): bump github.com/ipfs/go-path from 0.0.8 to 0.0.9
Bumps [github.com/ipfs/go-path](https://github.com/ipfs/go-path) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/ipfs/go-path/releases)
- [Commits](https://github.com/ipfs/go-path/compare/v0.0.8...v0.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 12:15:52 +00:00
dependabot-preview[bot]
3c8f7122a1
build(deps): bump github.com/libp2p/go-libp2p-http from 0.1.7 to 0.2.0
Bumps [github.com/libp2p/go-libp2p-http](https://github.com/libp2p/go-libp2p-http) from 0.1.7 to 0.2.0.
- [Release notes](https://github.com/libp2p/go-libp2p-http/releases)
- [Commits](https://github.com/libp2p/go-libp2p-http/compare/v0.1.7...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 12:15:28 +00:00
Hector Sanjuan
78b3111ed6
Set development version v0.13.1-next 2021-01-14 14:07:49 +01:00
Hector Sanjuan
7d0f5368cb
Release v0.13.1 2021-01-14 14:07:09 +01:00
Hector Sanjuan
1ef23bf3ee release.sh: improve script. 2021-01-14 14:06:53 +01:00
Hector Sanjuan
35b596b450 release.sh: Fix typo in git describe 2021-01-14 14:01:01 +01:00
Hector Sanjuan
14074e2da4 chore: dependency upgrade. go-ds-crdt 2021-01-14 13:59:06 +01:00
Hector Sanjuan
299ce9ca0f
Release candidate v0.13.1-rc1 2021-01-14 00:32:38 +01:00
Hector Sanjuan
f9d67f52e5
Merge pull request #978 from ipfs/feat/alerts
ipfs-cluster-ctl alerts
2021-01-14 00:31:16 +01:00
Hector Sanjuan
dbca14e832
Merge pull request #1291 from ipfs/v0.13.1/changelog
changelog for v0.13.1
2021-01-14 00:20:56 +01:00
Hector Sanjuan
ff55dc36e5
Merge pull request #1290 from ipfs/dependency-upgrades
Dependency upgrades
2021-01-14 00:19:10 +01:00
Hector Sanjuan
7ea11da75f Fix linter problem 2021-01-14 00:18:16 +01:00
Hector Sanjuan
a53861c844 alerts: Fix sharnless tests 2021-01-14 00:17:20 +01:00
Hector Sanjuan
3adc43204a Merge branch 'master' into feat/alerts 2021-01-14 00:05:20 +01:00
Hector Sanjuan
12756e0220 monitor: fix panic in checker
Alert might be launched when no metrics for peer are received at all.
2021-01-14 00:04:40 +01:00
Hector Sanjuan
af42671b14 changelog for v0.13.1 2021-01-13 23:57:37 +01:00
Hector Sanjuan
f93a6ae718 chore: dependency upgrades 2021-01-13 23:35:55 +01:00
Hector Sanjuan
ea6bb02360
Merge pull request #1279 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/prometheus/client_golang-1.9.0
build(deps): bump github.com/prometheus/client_golang from 1.7.1 to 1.9.0
2021-01-13 22:29:32 +01:00
Hector Sanjuan
ec11784912
Merge pull request #1288 from ipfs/fix/pubsub-validation
Fix pubsub validation check
2021-01-13 22:26:36 +01:00
Hector Sanjuan
39a7f5fdad alerts: fix TestClusterAlerts 2021-01-13 22:23:51 +01:00
Hector Sanjuan
82412ca91c crdt: fix pubsub validation for crdt messages
Currently, it was not looking at the signer of the message, but at the
peer that relayed it, to verify the validity of the message.

This caused that under certain gossip graph configurations, some nodes would only
get messages via untrusted peers, and thus be unable to sync the chain.
2021-01-13 22:13:03 +01:00
Hector Sanjuan
7e0d39cdf7 config: Fix some slices being appended the same values twice
trusted_peers and peer_addresses were appended the same info twice when
reparsing the config.

Once when parsing json and once when re-parsing with env-vars.
2021-01-13 22:13:03 +01:00
Hector Sanjuan
90208b45f9 health/alerts endpoint: brush up old PR 2021-01-13 22:09:21 +01:00
Hector Sanjuan
7824dfb4e3
Merge pull request #1287 from ipfs/fix/1286-progress-output
ipfsproxy: fix 'undefined cid' string appeareance in progress output
2021-01-13 21:47:53 +01:00