TIL how to work with Gitlab-CI’s Pull Policy

In a .gitlab-ci.yml job, if you do not specify a tag for an image, the latest tag is used by default.

The default configuration of the gitlab-runner to pull Docker images is if-not-present, which means the image is only loaded if it is not already present. This in turn …

more ...


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 ...