/bin folder has become overwhelmed with different development tools and scripts.
We put everything there: local automations, CI/CD helpers, PAAS release scripts,
Dockerfile helpers, etc.
It becomes too hard to find appropriate tools for your problem in that mess.
I had several revisions on decomposing the
/bin scripts and the whole directory, but I still have not found one solution.
I have played with subfolders
/bin/heorku/release and prefixes
/bin/ci-setup. Each strategy has pros & cons.
But I have found that developers do not use CI/CD scripts locally, which means we could move them out from the
Exploring some GitHub Actions documentation, I found this neat folder:
/.automation. And I got that this what I have looked.
/.automation is an excellent place to hide some ninja scripts which developers would not like to read or maintain.
So, all my last
bin/ci-setup will become:
.automation/tests/setup. Or if I need to put composed steps for GitHub Actions, I'll have
Here is a good example: https://github.com/github/super-linter/tree/main/.automation
If you enjoyed this story, we recommend reading our latest tech stories and trending tech stories.