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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GitHub App] Provide an alternative to the .git folder for integration #9195
Comments
thanks for opening up an issue @SimonAdameit! im going to move this over to service-requests, as the change to be made to fix this is in the pulumi-service. |
aaand i guess i missed a follow-on convo to this, moving back to pulumi. sry about this!! |
@cnunciato Is it you who owns the GitHub App? I must say I don't even know where its source code is. |
@mikhailshilkov theres more context in this community slack convo and this internal slack convo |
There seems to be more involved in getting the GitHub App integration to work than providing access to the This is unfortunate for container based build systems as the detection will not work the way it is done. Having something clearly defined and documented that could be explicitly passed in would be great. This could e.g. be:
|
+1 to this. We're unable to have this work in our CI/CD tool (codefresh) due to the fact we use containers to do the preview steps. |
Hello!
Issue details
The Pulumi GitHub App determines the current commit by walking up the directory tree and looking for a
.git
folder.This will not work in environments that only provide the relevant source files to a build (e.g. building in docker containers or a build system like pantsbuild, bazel, etc.).
The documentation that I found for the GitHub App also does not provide this information as of today.
Therefore:
(the suggestion here is to use an environment variable).
References
The text was updated successfully, but these errors were encountered: