Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.
/ plzrebase Public archive

👷 A GitLab CI ready image which fails if the current branch is too outdated from master.

License

Notifications You must be signed in to change notification settings

kiwicom/plzrebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plzrebase

A GitLab CI ready image which fails if the current branch is too outdated from master.

Secret Variables to set:

  • PLZREBASE_THRESHOLD - How many commits behind are permitted, 50 by default
  • PLZREBASE_BRANCH_TO_COMPARE - master by default
  • PLZREBASE_BRANCH_PREFIX_EXCLUDE - Comma-separated prefixes to exclude (e.g.: release,dev)
  • PLZREBASE_SLACK_WEBHOOK_URL - Incoming webhook URL
  • PLZREBASE_SLACK_CHANNEL - Defaults to webhook channel

Example CI config:

stages:
  - build
  - test
  [ ... ]

build: 
  stage: build
  [ ... ]

plzrebase:
  stage: build
  image: kiwicom/plzrebase
  script:
   - plzrebase

About

👷 A GitLab CI ready image which fails if the current branch is too outdated from master.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages