You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making an issue since I'm not sure where a PR would go
The code shows that :'heroku.dyno_info_path' => '/etc/heroku/dyno' and the docs mention that you may need to activate the metadata labs, but I didn't see anywhere to check if you have /etc/heroku/dyno (so I ran heroku labs:enable runtime-dyno-metadata -a appname)
This comes up in the deploy util Util::Deploy.build(self) which iterates through [DefaultDeploy, HerokuDeploy, GitDeploy] which otherwise tries to get he release info from git, which causes Heroku to warn
fatal: Not a git repository (or any parent up to mount point /app)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I've traced this warning to the Skylight::Util::GitDeploy shelling out to git git log -1 --pretty="%H %s" 2>&1
If You Use Heroku
You may need to enable Heroku’s Dyno Metadata feature in order to send deploy information to Skylight.
could be more specific and say that if you use heroku, you'll want to ensure your filesystem has /etc/heroku/dyno, which is added by the dyno metadata feature.
And/or that Skylight::Util::Deploy.build(Skylight::Config.new) is how you can determine what deploy info skylight is finding, if any
Making an issue since I'm not sure where a PR would go
The code shows that
:'heroku.dyno_info_path' => '/etc/heroku/dyno'
and the docs mention that you may need to activate the metadata labs, but I didn't see anywhere to check if you have/etc/heroku/dyno
(so I ranheroku labs:enable runtime-dyno-metadata -a appname
)This comes up in the deploy util
Util::Deploy.build(self)
which iterates through[DefaultDeploy, HerokuDeploy, GitDeploy]
which otherwise tries to get he release info from git, which causes Heroku to warnI've traced this warning to the Skylight::Util::GitDeploy shelling out to git
git log -1 --pretty="%H %s" 2>&1
In the console, I can now
The text was updated successfully, but these errors were encountered: