Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: kubo v0.29.0 #1088

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Comment on lines -31 to -32
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 Reduced the number of confirmations to 1 to decouple release process from the collab cluster state until we have internal refactor from https://github.com/ipshipyard/waterworks-infra/issues/177 finished.

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::"
Loading