Template a shared recipe .drone.yml configuration #68
Labels
No Label
automation
bug
community organising
democracy
design
documentation
duplicate
enhancement
finance
funding
help wanted
invalid
publishing
question
security
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#68
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm sure we have diabolical bash scripts for doing these mass updates and then making making mass typos (😆) which is all fun but now sometimes I need to edit a specific line and my Bash-fu just isn't there.
So, how to template this out?
Current setup in the example recipe repo:
Current need: I want to add a webhook to every recipe repo drone config to fire a request at the soon coming
coop-cloud/drone-apps-json
repository which makes automated releases of theapps.json
.Also, we could probably tweak the triggers/conditions of when a release is fired because now it happens on every commit.
"Template" = "mass-add to the existing repos"?
If so, maybe a job for
mosh
+yq
?I'm down for this tasty exercise in mass-
typoesupdates this week, unless you get there first.mosh
looks rad but I was more thinking of a https://github.com/tmrts/boilr like thingwhere we can template out a file, use if/else/etc. conditionals and then that can generate files which can be copied into the repos? Then we don't have to manually fiddle with line-by-line operations withyq
. Still thinking about this one though...