Closed ojeytonwilliams closed 3 years ago
Here's my notes from before I thought "hey, is this even a good idea?" (I didn't code a lot yet, I decided to write it out first to know what to do):
Workflows:
To do:
Also, this is why I think GitHub Actions is significantly faster than Travis CI (Travis CI runs these builds in ~2 minutes): https://github.com/jmerle/devdocs-ci-testing/actions
And here's the workflow: https://github.com/jmerle/devdocs-ci-testing/blob/master/.github/workflows/build.yml
Your reasoning with respect to the automation makes perfect sense. The current workflow isn't bad at all and gives opportunity for quick solutions (such as re-running the scraper three times in a row to get around spurious HTTP errors). A few scrapers rely on manually downloaded docs (such as python), a few scrapers rely on manually compiled docs (such as ruby) – automating those steps seems almost impossible (given reasonable time constraints).
This was originally posted by @jmerle in Gitter, I'm re-posting it here so it does not get buried:
Now that I've spent some serious time on thinking about implementation of the QA and deployment automation ideas, I don't think it's actually a good thing to implement now. The current situation of reviewing and deploying a PR is (assuming no review comments for simplicity):
With automation it would be:
There are two issues I see with this now, the first one being the most important:
Whilst I agree that this automation enables some best practices and it goes against much of what I have said about this so far, I'm reluctant to implement it now as maintainer productivity is more important to me than following these best practices with our current backlog in mind. I would therefore suggest keeping the current situation for now, with only making the switch from Travis to GitHub Actions for now as the latter is way faster in my tests.