Skip to content

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

License

Notifications You must be signed in to change notification settings

cosee-gitlab/lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •