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

fix: switch to new dnslink updater #1055

Merged
merged 1 commit into from
Nov 9, 2023
Merged

fix: switch to new dnslink updater #1055

merged 1 commit into from
Nov 9, 2023

Conversation

lidel
Copy link
Member

@lidel lidel commented Nov 8, 2023

This closes #1053 by switching from old JS tool to newly fixed (ipfs-shipyard/dnslink-dnsimple#21) GO one (kudos to @ns4plabs).

We will no longer update .io version, as it will be CNAMEd to _dnslink.dist.ipfs.tech instead.

TODO

  • switch to latest versions of kubo and cluster deps
  • test dnslink-dnsimple@v0.1.0 (go) locally with temporary token
  • update CI to use the new dnslink-dnsimple@v0.1.0 (go) tool
  • set CNAME _dnslink.dist.ipfs.io to point at _dnslink.dist.ipfs.tech so we only need to update .tech from now

Copy link

github-actions bot commented Nov 8, 2023

This change produced no new differences in built artifacts.

@lidel lidel force-pushed the fix/dnslink-updater branch from dcc92ac to 7009472 Compare November 8, 2023 20:10
@lidel lidel marked this pull request as ready for review November 8, 2023 20:11
Comment on lines +154 to +155
go install github.com/ipfs/dnslink-dnsimple@v0.1.0
dnslink-dnsimple --domain dist.ipfs.tech --record _dnslink --link /ipfs/${{ steps.cid-reader.outputs.CID }}
Copy link
Member Author

Choose a reason for hiding this comment

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

ℹ️ dnslink update is now simplified to this

Copy link

github-actions bot commented Nov 8, 2023

This change produced no new differences in built artifacts.

@@ -91,7 +91,7 @@ async function addFiles (localPath) {
const patchRoot = await addFiles(PATCH_SRC)
console.log(`Patch root is ${patchRoot}`)

const distRoot = await ipfs.dns(DIST_DOMAIN)
Copy link
Member Author

Choose a reason for hiding this comment

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

ℹ️ dns is deprecated, switching to resolve avoids having to deal with bug described in ipfs/kubo#10212

@lidel lidel requested a review from hacdias November 8, 2023 20:38
@lidel
Copy link
Member Author

lidel commented Nov 8, 2023

@hacdias if this looks ok feel free to merge.

lidel added a commit to ipfs/ipfs-webui that referenced this pull request Nov 9, 2023
This solves problem described in ipfs/distributions#1053
by switching to new tool like we did in ipfs/distributions#1055
@hacdias hacdias merged commit 9c17e12 into master Nov 9, 2023
5 checks passed
@hacdias hacdias deleted the fix/dnslink-updater branch November 9, 2023 08:24
lidel added a commit to ipfs/ipfs-webui that referenced this pull request Nov 9, 2023
This solves problem described in ipfs/distributions#1053
by switching to new tool like we did in ipfs/distributions#1055
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate DNSLink TXT record
2 participants