Skip to content

a program to periodically synchronize the tanzu developer portal profile page with my latest-and-greatest

Notifications You must be signed in to change notification settings

developer-advocacy/joshlong-tanzu-developer-center-blog-cronjob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a program to periodically synchronize the tanzu developer portal profile page with my latest-and-greatest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published