Skip to content

forge fails if you happen to have a PR checked out #461

@jeremylenz

Description

@jeremylenz

I had a Katello PR checked out and ./forge deploy-dev failed with

TASK [git_repository : Clone repository] ****************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {
    "changed": false,
    "cmd": "/bin/git reset --hard origin/38839_hg_cv_env --",
    "rc": 128
}

STDERR:

fatal: Failed to resolve 'origin/38839_hg_cv_env' as a valid revision.



MSG:

Failed to checkout branch 38839_hg_cv_env

PLAY RECAP **********************************************************************************************************************************************************************************
localhost                  : ok=132  changed=26   unreachable=0    failed=1    skipped=11   rescued=0    ignored=0   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions