Skip to content

pionl/bitbar-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

17cd1d4 · Mar 8, 2023

History

8 Commits
Mar 13, 2020
Mar 8, 2023
Apr 6, 2018

Repository files navigation

BitBar BitBar plugin for GitLab CI

Shows currently running pipelines from your GitLab in your bar.

BitBar Example showing BitCoins plugin

Interested in more advanced GitLab bar integration? Let me know ([email protected]). This implementation is just quick solution.

Install

Copy the plugin to your BitBar plugins directory. Edit the file and add your gitlab instances to INSTANCES.

INSTANCES = [
    {
        # Your private key for accessing gitlab: User -> Settings -> Access tokens -> add personal access token with api scope
        'privateToken': 'token',
        # Gitlab URL
        'url': 'https://gitlab.example.com',
        # Define your server and projects (name: id)
        # To get id go to project -> Settings -> General -> General project settings
        'projects': {
            "React": 3,
        },
    },
]

Ensure that the gitlab url is working (urlopen does not follow redirects) #1


If you have long builds, change the refresh rate (by changing file name).