I have a project git repository and a roles git repository both have branches with the same name, my project git repository has the requirements.yml similar to below
---
- src: <some_git_repo>
scm: git
version: master
path: /var/lib/awx/projects/_7__roles
force: yes
ignore_errors: yes
The problem is awx will always checkout the master version with the above requirements.yml instead of my branch so i can never test my branch changes
I could change the version to be the branch name then commit it but then if i forget to change it back and merge my changes now the master project branch will be using my roles branch instead of the master copy
I've tried editing the requirements.yml version after awx has cloned it however it will then refuse to do a scm update due to the modification.
Does anybody know of a way that would allow me to use my own role branch on awx without breaking the master branch if it gets accidentally checked in?