Skip to content

Move to Google MySQL #11

Move to Google MySQL

Move to Google MySQL #11

Re-run triggered March 7, 2024 06:32
Status Failure
Total duration 1m 41s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
deploy
google-github-actions/deploy-cloud-functions failed with: operation failed: Function failed on loading user code. This is likely due to a bug in the user code. Error message: Traceback (most recent call last): File "/layers/google.python.pip/pip/bin/functions-framework", line 8, in <module> sys.exit(_cli()) File "/layers/google.python.pip/pip/lib/python3.10/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/layers/google.python.pip/pip/lib/python3.10/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/layers/google.python.pip/pip/lib/python3.10/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/layers/google.python.pip/pip/lib/python3.10/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/layers/google.python.pip/pip/lib/python3.10/site-packages/functions_framework/_cli.py", line 37, in _cli app = create_app(target, source, signature_type) File "/layers/google.python.pip/pip/lib/python3.10/site-packages/functions_framework/__init__.py", line 288, in create_app spec.loader.exec_module(source_module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/workspace/main.py", line 16, in <module> unix_socket=mysql_config["MYSQL_SOCKET"], Namename 'mysql_config' is not defined. Did you mean: 'mysql_config_str'?. Please visit https://cloud.google.com/functions/docs/troubleshooting for in-depth troubleshooting documentation.
deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: google-github-actions/auth@v1, google-github-actions/deploy-cloud-functions@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.