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
Match uses git private key to download but not to push new certs back #19266
Comments
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
This issue is still happening with 2.197.0, see https://github.com/mapswipe/mapswipe/runs/3988403476?check_suite_focus=true for an example of output (under |
Some more findings using a fork with extra debugging output:
I'm not entirely sure what the best solution is, because I don't really know the fastlane codebase, and the other storage methods. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with This issue will be auto-closed if there is no reply within 1 month. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍 |
New Issue Checklist
Issue Description
I try to renew certificates using
match
. My certs are stored in a gitlab repo. The command uses my git private key correctly to download the certs, but somehow seems to think it's not a valid file anymore when pushing back to git. Basically the test atfastlane/match/lib/match/storage/git_storage.rb
Line 166 in 258cddb
I'm running fastlane 2.191.0. The entire log is visible at https://github.com/mapswipe/mapswipe/runs/3395027436?check_suite_focus=true (under "TEMP renew dev certificate").
The key has push permissions on gitlab, and the logs show that somehow
fastlane
does not load it properly the second time it uses it (when pushing), ie: it's not a gitlab issue. Specifically in the logs:and when pushing (note the
ssh-add
command is now different):Command executed
I also tried the following variant, inspired by
0e4d620
but neither work, they both seem to have the same result.
Complete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: