Module gcip.lib.rules

Functions

def not_on_branch(branch_name: str) ‑> Rule
def not_on_main() ‑> Rule
def not_on_master() ‑> Rule
def on_branch(branch_name: str) ‑> Rule
def on_main() ‑> Rule
def on_master() ‑> Rule
def on_merge_request_events() ‑> Rule
def on_pipeline_trigger() ‑> Rule
if: '$CI_PIPELINE_SOURCE == "pipeline"'

From https://docs.gitlab.com/ee/ci/yaml/

|pipeline|For multi-project pipelines created by using the API with CI_JOB_TOKEN, or the trigger keyword.|

def on_success() ‑> Rule
def on_tags() ‑> Rule