1/x A few weeks ago someone, i think @jrbowes, shared a link to this nifty tool ..
https://github.com/manifoldco/promptui …
so this got me thinking...
instead of passing static flags to CLI, I build a dynamic list of supported k8s dev namespaces (from a gitops repo)..
-
Prikaži ovu nit
-
2/x ... select a namespace using promptui optionally, build a dynamic list of container image tags. E.g., last 5, last 5 for a given ticket based on some naming convention, etc. then this CLI tool clones gitops repo IN MEMORY, updates desired state with new container version..
1 reply 0 proslijeđenih tweetova 0 korisnika označava da im se sviđaPrikaži ovu nit -
3/x ... commits IN MEMORY, opens PR, waits for CI checks to complete, merges & removes branch. CLI DONE. Another CI "polls" this gitops repo which, upon detecting changes, deploys desired state. Finally, a slack notification reminds me the cluster has been updated.
1 reply 0 proslijeđenih tweetova 0 korisnika označava da im se sviđaPrikaži ovu nit
4/x ... used this for in-memory git stuff: https://github.com/src-d/go-git and the GitHub client: https://github.com/google/go-github … Might make for an interesting meetup talk/blog post. Wonder how other teams do it.
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.