cigate

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cigate releases push deploys parked behind wait_for_ci: a janitor task polls GitHub's check runs + commit statuses for each waiting_ci deployment and turns green into a queued build, red into an error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gate

type Gate struct {
	Store    repo.Store
	Engine   *deploy.Engine
	GH       *githubapp.Client
	Notifier *notify.Notifier
}

Gate is the janitor task. One tick scans every parked row; verdicts are deduped per commit within a tick (several tiles often track one repo).

func (*Gate) Name

func (g *Gate) Name() string

func (*Gate) Run

func (g *Gate) Run(ctx context.Context) (int64, error)

Jump to

Keyboard shortcuts

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