Skip to content

Commit

Permalink
feat: support public and private gateway on IPLD explore (#1856)
Browse files Browse the repository at this point in the history
* feat: support public and private gateway on IPLD explore

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

* chore(ci): bump to node 16 and latest cluster
* fix(css): make gw links reflow nicer

Co-authored-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
hacdias and lidel committed Jun 6, 2022
1 parent e77afcb commit f3a8865
Show file tree
Hide file tree
Showing 5 changed files with 851 additions and 1,243 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 15
node-version: 16

- name: Cache bigger downloads
uses: actions/cache@v2
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 15
node-version: 16

- name: Cache bigger downloads
uses: actions/cache@v2
Expand All @@ -100,9 +100,9 @@ jobs:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 15
node-version: 16

- name: Download build artifact
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
--basic-auth "$CLUSTER_USER:$CLUSTER_PASSWORD" \
peers ls > cluster-peers-ls
for maddr in $(jq -r '.[].ipfs.addresses[]?' cluster-peers-ls); do
ipfs swarm peering add $maddr &
ipfs swarm connect $maddr &
ipfs swarm peering add "$maddr" &
ipfs swarm connect "$maddr" &
done
ipfs-cluster-ctl --enc=json \
--host "${CLUSTER_HOST}" \
Expand Down
Loading

0 comments on commit f3a8865

Please sign in to comment.