Categorygithub.com/cosee-gitlab/lock
modulepackage
0.4.2
Repository: https://github.com/cosee-gitlab/lock.git
Documentation: pkg.go.dev

# README

glock Build Status

some jobs in a CI/CD pipeline just aren't designed to run in parallel

$ glock -help

Usage of glock:
  -expiration duration
        time after the lock gets removed, even if unlock isn't called (default 15m0s)
  -key string
        (optional) locking key
  -lock
        should I aquire a lock? Returns 0 if lock is aquired and not 0 if error occured or lock wasn't granted
  -scope string
        can be job, stage or project (default "job")
  -unlock
        unlock the locked thing
  -v int
        (default 3) set verbosity level (3: Warning, 4: Info, 5: Debug) (default 3)

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Structs

No description provided by the author