Skip to content

Conversation

nickhudkins
Copy link
Contributor

@nickhudkins nickhudkins commented Oct 8, 2025

Initial attempt at dispatching workflow custom event on remote repositories:

Added a python script that uses tomllib to read the contents of pyproject.toml and publish an event (Call GitHub API) that we will consume to trigger a workflow (which will be used in the remote repositories) that handles updating whatever relevant dependencies we need to update.

The known use case today is to update Dockerfile(s) in the remote repositories listed.

@nickhudkins nickhudkins force-pushed the feat/auto-update-techdocs-container branch from 8796cc2 to 79c9847 Compare October 8, 2025 03:29
@nickhudkins nickhudkins marked this pull request as ready for review October 8, 2025 03:37
@nickhudkins nickhudkins requested review from a team and awanlin as code owners October 8, 2025 03:37
"--event-type",
dest="event_type",
type=str,
default="MKDOCS_TECHDOCS_CORE::PUBLISHED_NEW_VERSION",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why I chose this, it likely doesn't need to be terribly highly-specified, but figured I'd namespace it at least.

@nickhudkins nickhudkins force-pushed the feat/auto-update-techdocs-container branch from 79c9847 to 02cb235 Compare October 8, 2025 04:04
@nickhudkins nickhudkins marked this pull request as draft October 8, 2025 13:57
Copy link
Collaborator

@awanlin awanlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on @nickhudkins, I'd like to lean on renovate for this. I'm also unsure about how the Core Backstage Maintainers will feel about this. I think getting renovate working is probably the sweet spot as you can update the TechDocs Docker image in config.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants