Closed mvlassis closed 3 days ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6569.
This message was autogenerated
After a discussion with @kimwnasptd we have concluded on the following:
git-sync
allows us to fetch information from a git repository on a configurable timeoutgit-sync
also allows us to specify a command that will run when the timeout is reached. We can configure it to run /charm/bin/pebble notify
so that the charm can be notified and run the code we want.I have created a small demo to demonstrate the feasibility of the workload:
git-sync
image, which successfully pulls from a public Github repo.Now the remaining parts are:
git-sync
as a workload container, that can successfully pull from a private repo using SSH keys. As a demo, the charm could hardcode the key, but later we will use juju configs. Additionally, the charm should inject a script named notify-pebble.sh
(or something similar) that is a simple wrapper for the Pebble notify event that we will use.Thus, we will split this further exploration into 2 tasks.
Closing this part, the next parts of the exploration are https://github.com/canonical/github-profiles-automator/issues/5 and https://github.com/canonical/github-profiles-automator/issues/6.
Context
In order to build the
github-profiles-automator
charm, we need to be able to fetch information about the wanted profiles from a given Github repository. This task is about the exploration on how that can be implemented in Python.What needs to get done
Definition of Done