this post was submitted on 19 Jun 2023
3 points (80.0% liked)

DevOps

1695 readers
1 users here now

DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.

Rules:

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[–] Sheldan 2 points 1 year ago (1 children)

I should get more into it, but one thing I am always not sure about: How do you test them? Have them on a separate branch (or even repo) and then trigger them? That seems a bit restrictive

[–] RandomDevOpsDude 1 points 1 year ago* (last edited 1 year ago)

Yes, usually most things can be tested on a different branch and just set the workflow to trigger from the branch rather than main. There are some cases where this doesn't work great, however, like testing triggers for pull requests, since then you have to have a 2nd branch to PR to the test branch.

There is also nectos/act, although I don't personally use it, I have heard it helps with faster development of workflows (and saves cost if you are not self hosting runners).