Comment by hk1337

1 year ago

I suppose I am confused by what you mean with, "writing bash scripts".

Like, are you _literally_ scripting in the value of an item or are you just equating that they are similar?

Literal being:

get_number_of_lines:

  command: >

     #!/bin/bash

     wc -l

Yes, this is how Gitlab pipelines work. It's actually easier to just inline the script most of the time than have a bucket of misc scripts lying around. Especially since you have hooks like before/after_script which would be really awkward to externalize.