News for hackers. Stuff that matters.
Re:Write Gitlab CI Pipelines in Python Code by delusional on Thursday April 29, 2021 @05:46PM (#26987204)
We use bamboo at my job, and it's java that generates a yaml file that is then shoved into bamboo. It's a completely shitshow. why would i use a turing complete language to generate a declarative yaml file containing turing complete shell scripts? Why not just write the shell script in the first place?
Re:Write Gitlab CI Pipelines in Python Code by lyjackal on Thursday April 29, 2021 @07:05PM (#26987951)
Because the shell scripts are only run from _within_ pipeline steps. Gitlab CI yaml has no way of conditionally creating the pipeline steps, or the step's contents.