@cryptotaxi247 / kubo / commits / 7b79f69c7

docs: internal testing as code

galargh committed Nov 15, 2022 at 18:18 UTC 7b79f69c78f84e6117f78f1d78ef5be8cdf4a727
1 file changed +33 -18
docs/RELEASE_ISSUE_TEMPLATE.md
+33 -18
@@ -348,24 +348,6 @@ Checklist:
348 - [ ] Matrix https://matrix.to/#/#ipfs-chatter:ipfs.io
349 - [ ] Mention [early testers](https://github.com/ipfs/go-ipfs/tree/master/docs/EARLY_TESTERS.md) in the comment under the release issue ([example](https://github.com/ipfs/kubo/issues/9319#issuecomment-1311002478)).
350 - [ ] **Stage 3 - Internal Testing**
351 - - [ ] Library Testing.
352 - - [ ] [interop](https://github.com/ipfs/interop)
353 - - [ ] Clone the `ipfs/interop` repo locally.
354 - - [ ] Create a new branch (`kubo-release-vX.Y.Z-rcn`) from `master`.
355 - - [ ] Update `go-ipfs` version to `vX.Y.Z-rcN` in [package.json](https://github.com/ipfs/interop/blob/master/package.json).
356 - - [ ] Run `npm install` locally
357 - - [ ] Push the `kubo-release-vX.Y.Z-rcn` branch to GitHub and create a draft PR from that branch ([example](https://github.com/ipfs/interop/pull/511)).
358 - - [ ] [go-ipfs-api](https://github.com/ipfs/go-ipfs-api)
359 - - [ ] Create a branch with kubo version pinned in the [test setup action](https://github.com/ipfs/go-ipfs-api/blob/master/.github/actions/go-test-setup/action.yml) ([example](https://github.com/ipfs/go-ipfs-api/commit/d156b808cc3aebafba65a38e5dd6993543a50e82)).
360 - - [ ] Ensure that CI is green.
361 - - [ ] Delete the branch.
362 - - [ ] [go-ipfs-http-client](https://github.com/ipfs/go-ipfs-http-client)
363 - - [ ] Create a branch with kubo version pinned in the [test setup action](https://github.com/ipfs/go-ipfs-http-client/blob/master/.github/actions/go-test-setup/action.yml) ([example](https://github.com/ipfs/go-ipfs-http-client/commit/8a057960d26f1c60fffef09be3b05ec3f2e71bba)).
364 - - [ ] Ensure that CI is green.
365 - - [ ] Delete the branch.
366 - - [ ] [WebUI](https://github.com/ipfs-shipyard/ipfs-webui)
367 - - [ ] Run [CI workflow](https://github.com/ipfs/ipfs-webui/actions/workflows/ci.yml) with `vX.Y.Z-rcN` for the `kubo-version` input.
368 - - [ ] Ensure that CI is green.
351 - [ ] Infrastructure Testing.
352 - [ ] Update the issue against [bifrost-infra](https://github.com/protocol/bifrost-infra) ([example](https://github.com/protocol/bifrost-infra/issues/2109)).
353 - [ ] Mention @protocol/bifrost-team in the issue to let them know the release is ready
@@ -380,12 +362,45 @@ Checklist:
362 - [ ] Push to a branch ([example](https://github.com/ipfs/ipfs-desktop/pull/1826/commits/b0a23db31ce942b46d95965ee6fe770fb24d6bde))
363 - [ ] Open a draft PR to track through the final release ([example](https://github.com/ipfs/ipfs-desktop/pull/1826))
364 - [ ] Ensure CI tests pass
365 + <details>
366 + # checkout new branch
367 + git checkout -b kubo-release-v0.17.0
368 +
369 + # replace the go-ipfs version in package.json
370 + sed -i 's/"go-ipfs": ".*"/"go-ipfs": "0.17.0-rc1"/' package.json
371 +
372 + # update package-lock.json
373 + npm install
374 +
375 + # commit the change
376 + git add package.json package-lock.json
377 + git commit -m "chore: bump kubo version to v0.17.0-rc1"
378 +
379 + # push the change
380 + git push origin kubo-release-v0.17.0
381 +
382 + # open a PR
383 + gh api /repos/ipfs/ipfs-desktop/pulls \
384 + --method POST \
385 + -f title='chore: bump kubo version to v0.17.0-rc1' \
386 + -f head='kubo-release-v0.17.0' \
387 + -f base='main' \
388 + -f title='chore: bump kubo version to v0.17.0' \
389 + -F draft=true
390 + </details>
391 - [ ] [IPFS Companion](https://github.com/ipfs-shipyard/ipfs-companion)
392 - [ ] Start kubo daemon of the version to release.
393 - [ ] Start a fresh chromium or chrome instance using `chromium --user-data-dir=$(mktemp -d)` (macos `/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=$(mktemp -d)`)
394 - [ ] Start a fresh firefox instance using `firefox --profile $(mktemp -d)` (macos `/Applications/Firefox.app/Contents/MacOS/firefox --profile $(mktemp -d)`)
395 - [ ] Install IPFS Companion from [vendor-specific store](https://github.com/ipfs/ipfs-companion/#readme).
396 - [ ] Check that the comunication between Kubo daemon and IPFS companion is working properly checking if the number of connected peers changes.
397 + <details>
398 + curl --retry 5 --no-progress-meter --output kubo.tar.gz https://dist.ipfs.tech/kubo/v0.17.0-rc1/kubo_v0.17.0-rc1_darwin-arm64.tar.gz
399 + tar -xzvf kubo.tar.gz
400 + export IPFS_PATH=$(mktemp -d)
401 + ./kubo/ipfs init
402 + ./kubo/ipfs daemon &
403 + </details>
404 - [ ] **Stage 5 - Release** - _ONLY FOR FINAL RELEASE_
405 - [ ] Prepare the `release` branch.
406 - [ ] Bump the version in `version.go` in the `release-vX.Y.Z` branch to `vX.Y.Z`.