File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 exit 1
9090fi ;
9191
92+ # Patching commit for bearer-token fallback in Configuration.auth_settings
93+ git cherry-pick -n 5621a4c2cf5cc278e8f45ce759ce44c057f1dbe2
94+ if [ $? -eq 0 ]
95+ then
96+ echo Successfully patched changes for bearer-token fallback in Configuration.auth_settings
97+ else
98+ echo Failed to patch changes for bearer-token fallback in Configuration.auth_settings
99+ git restore --staged .
100+ exit 1
101+ fi ;
102+
92103git commit -m " Apply hotfixes"
Original file line number Diff line number Diff line change @@ -207,6 +207,10 @@ git diff-index --quiet --cached HEAD || git commit -am "update changelog"
207207
208208# Re-generate the client
209209scripts/update-client.sh
210+
211+ # Re-generate the asyncio client
212+ scripts/update-client-asyncio.sh
213+
210214# Apply hotfixes
211215rm -r kubernetes/test/
212216git add .
@@ -223,9 +227,6 @@ if [[ -n "$(git diff kubernetes/client/api/custom_objects_api.py)" ]]; then
223227 git commit -m " generated client change for custom_objects"
224228fi
225229
226- # Re-generate the asyncio client
227- scripts/update-client-asyncio.sh
228-
229230# Check if there is any API change, then commit
230231git add kubernetes/docs kubernetes/client/api/ kubernetes/client/models/ kubernetes/swagger.json.unprocessed scripts/swagger.json
231232git add kubernetes/aio/docs kubernetes/aio/client/api/ kubernetes/aio/client/models/ kubernetes/aio/swagger.json.unprocessed
You can’t perform that action at this time.
0 commit comments