Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.08 KB

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