zlacker

[return to "Automating a Software Company with GitHub Actions"]
1. ryanma+G5[view] [source] 2021-08-19 14:41:43
>>marius+(OP)
LOL a software company is more, so much more, than CI. I thought I was going to read something novel about using GitHub actions for tracking sales leads or customer success or something.
◧◩
2. k__+3e[view] [source] 2021-08-19 15:16:16
>>ryanma+G5
Seems like the article and also comments here imply just that.

GitHub Actions aren't focused on CI, so they are much more useful.

◧◩◪
3. clipra+ZG[view] [source] 2021-08-19 17:28:38
>>k__+3e
> GitHub Actions aren't focused on CI, so they are much more useful.

Compared to what? ie.. Jenkins, CircleCI, Gitlab's CI/CD...none of them are "focused on CI", and can more or less do anything you want them to. I'm not trying to be argumentative, but I'm having trouble thinking of a CI/CD system that is more(or less) focused on CI than Github actions is - do you have some examples?

◧◩◪◨
4. yjftsj+gN[view] [source] 2021-08-19 17:58:52
>>clipra+ZG
I'm not familiar with GH, but gitlab is definitely focused on building/running things from a commit in a repo to the point of making it awkward to do ad hoc actions or tasks not clearly tied to one repo. You can do it, but it's harder and has weird restrictions.
◧◩◪◨⬒
5. dnsmic+KS[view] [source] 2021-08-19 18:29:19
>>yjftsj+gN
We started using Pipeline schedules in my past job to regularly trigger pipelines to e.g. rebuild Docker build images, clear caches and other sorts where you normally need shell access to a cronjob.

https://docs.gitlab.com/ee/ci/pipelines/schedules.html

Similarly, you can trigger pipelines from various angles https://docs.gitlab.com/ee/ci/triggers/ using the API.

If you are looking to combine it with events on-demand, the webhooks may come in handy. https://docs.gitlab.com/ee/user/project/integrations/webhook...

Agreed, some adhoc actions are project specific, though you can programmatically walk through them in API client code, for example searching for a group and triggering all project's pipelines.

https://python-gitlab.readthedocs.io/en/stable/gl_objects/gr... https://python-gitlab.readthedocs.io/en/stable/gl_objects/pi...

[go to top]