Deployments created for non auto deploy builds don't use the right commit SHA
https://sentry.gitlab.net/gitlab/gitlabcom/issues/1079627/
ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"projects/commit", :id=>"ee", :namespace_id=>#<Group id:9970 @gitlab-org>, :project_id=>#<Project id:278964 gitlab-org/gitlab>}, possible unmatched constraints: [:id]
action_dispatch/journey/formatter.rb:57:in `generate'
raise ActionController::UrlGenerationError, message
action_dispatch/routing/route_set.rb:744:in `generate'
@set.formatter.generate(named_route, options, recall, PARAMETERIZE)
action_dispatch/routing/route_set.rb:775:in `generate'
Generator.new(route_key, options, recall, self).generate
action_dispatch/routing/route_set.rb:822:in `url_for'
path, params = generate(route_name, path_options, recall)
action_dispatch/routing/route_set.rb:273:in `call'
t._routes.url_for(hash, route_name, url_strategy)
...
(193 additional frame(s) were not displayed)
ActionView::Template::Error: No route matches {:action=>"show", :controller=>"projects/commit", :id=>"ee", :namespace_id=>#<Group id:9970 @gitlab-org>, :project_id=>#<Project id:278964 gitlab-org/gitlab>}, possible unmatched constraints: [:id]
ActionView::Template::Error: No route matches {:action=>"show", :controller=>"projects/commit", :id=>"ee", :namespace_id=>#<Group id:9970 @gitlab-org>, :project_id=>#<Project id:278964 gitlab-org/gitlab>}, possible unmatched constraints: [:id]
Edited by Yorick Peterse