Module gcip.lib.rules
Functions
def not_on_branch(branch_name: str) ‑> Ruledef not_on_main() ‑> Ruledef not_on_master() ‑> Ruledef on_branch(branch_name: str) ‑> Ruledef on_main() ‑> Ruledef on_master() ‑> Ruledef on_merge_request_events() ‑> Ruledef 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