Deploy stores project path rather than Project class
When working with a Deploy object, what we really want is the project
path for which the deploy was created. Storing the path directly will
allow DeploymentTracker
to track the same deploy for the same project
differently in two mirrors.
This will come in handy with the auto_deploy_on_security
flag.
Existing functionality should be unchanged.
Related to gitlab-com/gl-infra/delivery#1031 (closed)
Edited by Robert Speicher