Tanzu Developer Center Feed Processor 2.0
This is meant to be a logical successor to the original feeds processor.
The program pulls in data from the GraphQL API for my blog, and then makes it available as Markdown and HTML in the developer-advocacy/activity-feeds
repository, in the output
branch. This way, an automatic process in the Tanzu Developer Center can periodically pull in the new feeds.
The program also pulls down the latest-and-greatest blogs that I've written on the official Spring blog and submits a Github pull request to the Tanzu Developer Center Github with all the new changes.
It's deployed as a CronJob
on my Kubernetes cluster that runs periodically. You can kick off an instance of the CronJob
manually with
kubectl create job --from=cronjob/tdc-activity-feed-cronjob tdc-activity-feed-cronjob-$RANDOM
A Github Personal Access Token
Make sure when you provision it that the token supports repo
, admin:org
, delete_repo
, and project
.