Getting gitlab-ci pipeline data into prometheus
Stuff I think is interesting, cool, or otherwise worth sharing™️.
What are we trying to do #
gitlab-ci-pipelines-exporter https://github.com/mvisonneau/gitlab-ci-pipelines-exporter
# Write a minimal config file somewhere on disk
~$ cat <<EOF > $(pwd)/config.yml
gitlab:
url: https://gitlab.example.com
# You can also configure the token using --gitlab-token
# or the $GCPE_GITLAB_TOKEN environment variable
token: <your_token>
projects:
- name: foo/project
- name: bar/project
wildcards:
- owner:
name: foo
kind: group
EOF
config syntax:
https://github.com/mvisonneau/gitlab-ci-pipelines-exporter/blob/main/docs/configuration_syntax.md
How to get from A to Z #
Big outline
colset 1 Left centered column
content leftaligned
content leftaligned
colset 1 Right centered column
content leftaligned
content leftaligned
Column Set two: pair o columns
colset 2 Left centered column
content leftaligned
content leftaligned
colset 2 Right centered column
content leftaligned
content leftaligned
Column Set Three: Single centered column
colset 3 single content leftaligned