Skip to content

Commit

Permalink
feat: kubo v0.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jun 10, 2024
1 parent c802ba7 commit f42a2a9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

env:
DIST_ROOT: ${{ github.event.inputs.custom_dist_root || '/ipns/dist.ipfs.tech' }} # content root used for calculating diff to build
KUBO_VER: 'v0.28.0' # kubo daemon used for chunking and applying diff
KUBO_VER: 'v0.28.0' # kubo daemon used for chunking and applying diff
CLUSTER_CTL_VER: 'v1.0.8' # ipfs-cluster-ctl used for pinning

concurrency:
Expand Down Expand Up @@ -161,12 +161,14 @@ jobs:
CLUSTER_USER: ${{ secrets.CLUSTER_USER }}
CLUSTER_PASSWORD: ${{ secrets.CLUSTER_PASSWORD }}
uses: ./.github/actions/setup-ipfs
timeout-minutes: 30
timeout-minutes: 5
- run: ./dockerized make publish
- run: git status
- name: Read CID of updated DAG
id: cid-reader
run: echo "CID=$(tail -1 ./versions)" >> $GITHUB_OUTPUT
run: |
tail -1 ./versions
echo "CID=$(tail -1 ./versions)" >> $GITHUB_OUTPUT
- name: Pin new website to ipfs-websites.collab.ipfscluster.io
run: ./scripts/ci/pin-to-cluster.sh
env:
Expand All @@ -175,7 +177,7 @@ jobs:
PIN_ADD_EXTRA_ARGS: ""
CLUSTER_USER: ${{ secrets.CLUSTER_USER }}
CLUSTER_PASSWORD: ${{ secrets.CLUSTER_PASSWORD }}
timeout-minutes: 60
timeout-minutes: 120
- name: Update PR status with preview link
run: ./scripts/ci/github-preview-link.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 16.15.1
golang 1.22.3
golang 1.22.4
2 changes: 1 addition & 1 deletion dists/go-ipfs/current
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.28.0
v0.29.0
1 change: 1 addition & 0 deletions dists/go-ipfs/versions
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,4 @@ v0.28.0-rc1
v0.28.0
v0.29.0-rc1
v0.29.0-rc2
v0.29.0
2 changes: 1 addition & 1 deletion dists/kubo/current
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.28.0
v0.29.0
1 change: 1 addition & 0 deletions dists/kubo/versions
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ v0.28.0-rc1
v0.28.0
v0.29.0-rc1
v0.29.0-rc2
v0.29.0
8 changes: 4 additions & 4 deletions scripts/ci/pin-to-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ echo "::group::waiting until pinned"
--host "/dnsaddr/ipfs-websites.collab.ipfscluster.io" \
--basic-auth "${CLUSTER_USER}:${CLUSTER_PASSWORD}" \
status "$PIN_CID" | tee cluster-pin-status
if [[ $(jq '.peer_map[].status' cluster-pin-status | grep '"pinned"' | wc -l) -ge 2 ]]; then
echo "Got 2 pin confirmations, finishing the workflow"
if [[ $(jq '.peer_map[].status' cluster-pin-status | grep '"pinned"' | wc -l) -ge 1 ]]; then
echo "Got first pin confirmation, finishing the workflow"
break
else
echo "(sleeping for 15 seconds)"
sleep 15
echo "Still waiting for at least one pin confirmation, sleeping for 1 minute.."
sleep 60
fi
done
echo "::endgroup::"

0 comments on commit f42a2a9

Please sign in to comment.