With Travis and now GH Actions I find the fastest way to develop is to just push countless commits and incrementally develop my work flow in a live-ish way while asking peers to ignore the email spam on failures.
With Travis and now GH Actions I find the fastest way to develop is to just push countless commits and incrementally develop my work flow in a live-ish way while asking peers to ignore the email spam on failures.
I eventually gave up and have been running Actions on GitHub from a branch, merging into the main one once it works.
* https://github.com/marketplace/actions/debugging-with-tmate
It felt so wrong and amateur and kind of embarrassing.
- if ${{ github.event_name == 'why do you think this is acceptable?" }}
run:|
echo "I need programmatic CI no matter how much you think I don't"
Just let us write our entire pipelines in typescript. People are already using Actions for bitcoin mining, hosting porn, or whatever - if I can do arbitrary shell stuff you're not making my life easier by putting it behind a yaml DSL pretending to be "no code."If it were just typescript with a reasonable library we could run and debug it locally without jumping through hoops.
/rant
The issue is not really the significant indentation of YAML, it is more of the ambiguity of the syntax plus the fact that YAML is a serialization format so it doesn't have many ways to reduce repetition. Now those issues coupled with the significant indentation makes YAML a mess, but those issues doesn't exist in Python.
Once it's working locally I push up and it's usually only a commit or two away from working.
For my private projects, I just make it rain with minor incremental improvements, and once it is green, I rebase and squash.
For shared/OS projects, I'd rather fork it and then work on my fork, so I don't trigger emails or other webhooks.
[0] - https://docs.gitlab.com/ee/ci/quick_start/#ensure-you-have-r...
[1] - https://medium.com/@umutuluer/how-to-test-gitlab-ci-locally-...
I agree with the other comments that CircleCI is my high-bar for "how can a sane person run the build locally?" because I also agree with the other comments that "act" is handy, but only for the most trivial of hello-world builds, and `gitlab-runner exec` is a cruel joke
It's sisyphean.