distributions
distributions copied to clipboard
Should we check how many peers there are when pinning?
We're waiting for 2 pin confirmations in https://github.com/ipfs/distributions/blob/master/scripts/ci/pin-to-cluster.sh#L21.
In https://github.com/ipfs/distributions/actions/runs/3126268124/jobs/5072181286 it was the case that there was only 1 peer in the peer_map so it was impossible to satisfy this requirement. I suggest we fail the job immediately if that's the case.
Discovered during https://github.com/ipfs/kubo/issues/9237
Failing fast when there are not enough cluster peers to have a minimum of 2 copies sgtm.