-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using without Git #4
Comments
I'm totally open to alternative ways to provide the info, but unfortunately we do need information like the commit hash to properly identify the version of the code we're reporting on. Any ideas? |
Do you have access to the GitHub Actions beta? I think you might be able to use our action to report your bundle stats outside your normal build environment, which might help sidestep the issue. |
I'm in the same position. Really interested in Packtracker, but the software I work on is built inside a Docker container on CircleCI, where git is not available. Circle sets some env vars, like the Git branch, the commit hash and the author which I can access inside Docker, but not the commit timestamp, message or previous commit. Are those 3 required for packtracker to work? |
@tomoakley The only think I think you're going to have issues with is not providing the Definitely need to think about this problem further 🤔 |
@jondavidjohn setting the
the docker-compose config looks like this:
Thanks for your help! |
@tomoakley Awesome, thanks a bunch for posting that here. Hopefully I can come up with a cleaner solution in the future. |
Anyone following this thread interested in helping me test out an early version of a CircleCI Orb that should help with this issue? Specifically for CircleCI users? |
Any plans to support usage without Git information? We are building inside Docker container and there is no git or any version control data available. Now our build fails because no git available and if I add git it will fail because not inside git repository.
I know possibility to give values with environment variables but I rather not pass all author, commit, etc. information to docker.
The text was updated successfully, but these errors were encountered: