Ejemplo n.º 1
0
def copr_build_branch_push():
    return copr_build_model(
        job_config_trigger_type=JobConfigTriggerType.commit,
        job_trigger_model_type=JobTriggerModelType.branch_push,
        name="build-branch",
        task_accepted_time=datetime.now(),
    )
Ejemplo n.º 2
0
def copr_build_release():
    return copr_build_model(
        job_config_trigger_type=JobConfigTriggerType.release,
        job_trigger_model_type=JobTriggerModelType.release,
        tag_name="v1.0.1",
        commit_hash="0011223344",
    )
Ejemplo n.º 3
0
def copr_build_branch_push():
    return copr_build_model(
        job_config_trigger_type=JobConfigTriggerType.commit,
        job_trigger_model_type=JobTriggerModelType.branch_push,
        name="build-branch",
    )
Ejemplo n.º 4
0
 def copr_build_centos_pr(self):
     return copr_build_model(
         repo_name="packit-hello-world",
         repo_namespace="source-git",
         forge_instance="git.stg.centos.org",
     )