TIL how to alter gitlab-ci include-directives

We have a set of common pipeline jobs that are shared among different projects in Gitlab. We include them like this:

include:
  - project: 'shared/gitlab/linting'
    ref: master
    file:
      - markdown.yml
      - ansible.yml

When you do this, these included jobs get executed with the runner that is defined in the …

more ...


TIL there’s a limit on Gitlabs job output

And it is (at least for my instance) 4194304 bytes. That is 4,19 mb. You can easily achieve this by running some Ansible playbooks in diff-mode that unpack many files. :)

Job's log exceeded limit of 4194304 bytes.

Job execution will continue but no more output will be collected.
more ...

TIL how to ship an executable with Poetry

I wanted to build an executable python script on PyPi, so it can be run like MyPackage instead of python MyPackage.py.

Finding out how to do this with Poetry was hard. Googling for “Python [distribute\|publish] executable” didn’t yield any useful results. I don’t even know how …

more ...