Skip to content

Commit 6238ae3

Browse files
authored
Merge pull request #2550 from yliaog/master
some tweaks on hotfixes
2 parents 270f556 + 88dfc66 commit 6238ae3

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

scripts/apply-hotfixes.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fi;
5454
# Patching commits for Client Context Manager
5555
# UPDATE: OpenAPI generator v4.3.0 has the context manager as a functionality. Cherry-picking just the tests for completeness.
5656
# Ref: https://github.com/kubernetes-client/python/pull/1073
57-
git cherry-pick -n 13dffb897617f87aaaee247095107d7011e002d5
57+
git cherry-pick -X no-renames -n 13dffb897617f87aaaee247095107d7011e002d5
5858
if [ $? -eq 0 ]
5959
then
6060
echo Succesfully patched changes for Client Context Manager
@@ -78,4 +78,15 @@ else
7878
exit 1
7979
fi;
8080

81+
# Patching commit for test_informer and test_metrics
82+
git cherry-pick -n b5f4b4cc504e7f10956b52de6aa676e22c8952f0
83+
if [ $? -eq 0 ]
84+
then
85+
echo Successfully patched changes for test_informer and test_metrics
86+
else
87+
echo Failed to patch changes for test_informer and test_metrics
88+
git restore --staged .
89+
exit 1
90+
fi;
91+
8192
git commit -m "Apply hotfixes"

0 commit comments

Comments
 (0)