-
Notifications
You must be signed in to change notification settings - Fork 8
Publish to IPNS from Circle CI #11
base: master
Are you sure you want to change the base?
Conversation
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
Nice! |
This is great! though publishing to IPNS wont work, unless you run CI every few hours. the reason is that IPNS needs to be republished over time. We'll be changing that to allow other nodes to re-share records-- it's a major protocol issue. |
OK... Options:
|
mh shouldn't the republisher take care of that? @whyrusleeping |
ooh, the publishing daemon is ephemeral, within circleci. tricky. |
@harlantwood both SGTM. if we do a service we host, then:
|
improve shell execution & wget options License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
License: MIT Signed-off-by: Harlan T Wood <code+harlan@harlantwood.net>
I'm going to leave this PR open for now, in hopes that this will change:
|
@lgierth When do we think that will change, for IPNS? Is that in the roadmap? |
When the code for this repo changes, we rebuild the JS bundle on Circle CI, check everything into IPFS, publish to IPNS (always the same peer ID / private key), then request all assets from the gateway.
See test below: I changed the text of the
exists
column header to(exists)
and republished:@jbenet lots of this should be reusable for autodeploys of the website, and whatever else ... ipfs-inactive/website#17 & ipfs-inactive/website#75