git-server-pipelines

command module
v0.0.0-...-b158578 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

GitLab Pipelines BitBar Plugin

Requirements

Install

go build -o git-server-pipelines.20s.cgo git-server-pipelines.20s.go

Move git-server-pipelines.20s.cgo to your BitBar Plugins Folder.

Configuration

Create a ~/bitbar/gitlab-config.yaml.

daysUntilInactive: { only projects with pipeline builds fewer days ago are listed }
servers:
  github:
    - name: { your own name for this github server }
      token: { personal access token }
      repositories:
        - { owner/name of a repository or pattern }
        - test-owner/test-repository
        - other-test-owner/*
        - '*/*'
        #  a */* can get you into trouble with github's ratelimiting
  gitlab:
    - name: { your own name for this gitlab server }
      baseURL: { api-base e.g. https://gitlab.example.com/api/v4 }
      token: { access-token with read_api scope }
      projects:
        - { path_with_namespace of a project or pattern }
        - test-namespace/test-project
        - other-test-namespace/*
        - '*/*'

Pattern matching with filepath.Match

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址