-
Notifications
You must be signed in to change notification settings - Fork 167
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: use 🛻 pickup from api #2310
Conversation
pickup pulls dags into E-IPFS, so this PR updates the api and cron jobs to reflect that in our db. - Update the pinning service add and update api routes to record `ElasticIpfs` as the service that the pin is queued on. - Update pins and pins-failed cron jobs to check pin status in pickup instead of cluster Fixes #2309 TODO - [ ] add `PICKUP_BASIC_AUTH_TOKEN` as a secret to the repo for cron jobs. - [ ] update `CLUSTER-*` api env vars. License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Deploying with Cloudflare Pages
|
This is blocked on pickup validator improvements web3-storage/pickup#97 |
pins: [ | ||
{ | ||
status: 'PinQueued', | ||
service: 'ElasticIpfs', // via pickup | ||
}, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do this to override the default pin info that createUpload
would set if we didn't provide this. New pins via pickup are provided via E-IPFS.
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
cron changes now in #2339 License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
so we can set them in advance of deploy, and have the new code make use of them when it goes live. License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
License: MIT Signed-off-by: Oli Evans <oli@protocol.ai>
Raised an issue for the dev worker deploy fail #2349 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✨
🤖 I have created a release *beep* *boop* --- ## [4.3.0](api-v4.2.1...api-v4.3.0) (2023-03-22) ### Features * use 🛻 pickup from api ([#2310](#2310)) ([e327bb3](e327bb3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
pickup pulls dags into E-IPFS, so this PR updates the api to reflect that.
ElasticIpfs
as the service that the pin is queued on.GET /pins/:req-id
to check for a status change from pickup and update out DB, so we can inform users early when a pin request is pinned or failed.Cron changes are in #2339
Fixes #2309
TODO
PICKUP_BASIC_AUTH_TOKEN
as a secret to the repo for cron jobs.PICKUP_BASIC_AUTH_TOKEN
as worker secret for dev, staging, and prodLicense: MIT
Signed-off-by: Oli Evans oli@protocol.ai