Skip to content
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

Add a new mode "File" #150

Open
goal1860 opened this issue Mar 4, 2023 · 0 comments
Open

Add a new mode "File" #150

goal1860 opened this issue Mar 4, 2023 · 0 comments

Comments

@goal1860
Copy link

goal1860 commented Mar 4, 2023

There are certain scenarios that git is not available at the time of execution, so I guess it will be beneficial to have a new "File" mode, which means it reads change set from a text file instead of git diff.
For example, in my infra setup, tests are built into Docker images and deployed to K8s for execution. .git fold is dropped during image building. Even the .git folder is retained the K8s pod does not have permission to access git.
My current workaround is to run git diff at the time of image building and save the result to a text file in the image. If the plugin has the capability to read changes from that text file then I can directly use this plugin. Currently I have to write my own plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant