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

chore: change ipfs default to remote mode and remove bundled ceramic-one #3261

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

dav1do
Copy link
Contributor

@dav1do dav1do commented Jul 17, 2024

Description

The default IPFS mode is now remote with localhost:5101 (ceramic-one). We no longer support starting the ceramic-one binary automatically in bundled mode outside of tests. It didn't provide a super elegant startup as we don't have a good cross platform install method for node so couldn't guarantee the defaults and it isn't how we want people to run things anyway. It also had some issues stopping, especially when errors occur during start up and rather than rework that handling, we're moving away from the option.

This changes the default config options to remote ceramic one, so it doesn't "just work" if you run node ceramic.js daemon like it would before. If you previously had bundled mode in your config, you will get an error saying it's not supported and you should pass a url.

Note

The local CI still passes as we're starting in bundled mode for the tests, however, the daemon is no longer able to do that so the verifyImage task fails. It will require validating and merging the changes in pipeline-tools first before this is fully green.

How Has This Been Tested?

Ran daemon locally and CI.

PR checklist

Before submitting this PR, please make sure:

  • I have tagged the relevant reviewers and interested parties
  • I have updated the READMEs of affected packages
  • I have made corresponding changes to the documentation

References:

Please list relevant documentation (e.g. tech specs, articles, related work etc.) relevant to this change, and note if the documentation has been updated.

Copy link

linear bot commented Jul 17, 2024

AES-231: remove-bundled-mode-and-default-to-c1-url-as-localhost5101

edited as I put 230 instead of 231 in the branch name

Copy link

linear bot commented Jul 18, 2024

@dav1do dav1do force-pushed the chore/aes-230-remove-c1-bundled branch from afc75b1 to a35e90d Compare July 18, 2024 19:05
packages/cli/src/ceramic-daemon.ts Outdated Show resolved Hide resolved
Copy link

linear bot commented Jul 18, 2024

Co-authored-by: Spencer T Brody <spencer+github@3box.io>
Copy link
Contributor

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link

linear bot commented Jul 18, 2024

@dav1do dav1do merged commit 962546e into develop Jul 18, 2024
7 checks passed
@dav1do dav1do deleted the chore/aes-230-remove-c1-bundled branch July 18, 2024 21:08
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.

3 participants