Closed xmcai2016 closed 5 months ago
Our AWS pipeline should take care of creating the docker image for this new integration To create a cron task, go to AWS EventBridge and create a schedule
Update: Need to integrate this with the new Spade retrieval bot
Still pending the new Bitswap worker to get merged into Spade RB repo.
For this task, make a new branch on the Spade Retrieval Bot repo. Copy what I've started on this branch: https://github.com/data-preservation-programs/RetrievalBot/pull/34 , it has the .env file templated out and some of the build commands too
The code to do this is already merged in here https://github.com/data-preservation-programs/RetrievalBot/pull/28
However, the retrieval worker code is not ready yet. Pending this: https://github.com/data-preservation-programs/RetrievalBot/pull/33 to get merged first.
Once that one is merged, we can start running this integration. To do this, we need to add a step to the pipeline to run the Spadev0. I started a branch for this here: https://github.com/data-preservation-programs/RetrievalBot/pull/34
We need to set up a cron task to run it (once per day should be plenty) - not sure how to do this exactly but @xinaxu should know. The code needs to do this: