Heya,
i was wondering if anyone else was doing something like this and has some experience to share. We are trying to move
our release processes mostly over to continuous deployment and even plan to revoke write permissions for our tool share
even for developers. This effort is to both make deployments easier (e.g. by accepting a merge request), always documented
and remove the need for low level write access to system critical shares).
I have set up an automatic release process already using rez that essentially works like this:
- Project is in gitlab
- Development is similar to the gitflow process, so you develop in feature and bug branches, merge to develop to "share" and merge to master for releasing.
- There is a gitlab-ci runner that has been prepared for this very project (which is compiled nuke plugins) that essentially calls rez-release
The problem i encountered is, that the gitlab runner seems to do the clone in a detached way and rez-release complains:
23:17:19 ERROR ReleaseVCSError: command failed: c:\program files\git\cmd\git.exe rev-parse --abbrev-ref --symbolic-full-name @{u}
fatal: HEAD does not point to a branch
I worked around this by simply using rez-build instead as a quick fix, but i was wondering if anyone else is going down this route
and would like to share his or her experience.
btw, i do not really have a problem with using rez-build in this process besides "form" as the process ensures in itself that all code is committed
and pushed in this context.
Cheers,
Thorsten