Skip to content

Merge pull request #81 from jrafaelrn/ifood_alive_beta #400

Merge pull request #81 from jrafaelrn/ifood_alive_beta

Merge pull request #81 from jrafaelrn/ifood_alive_beta #400

Triggered via push October 21, 2024 00:52
Status Failure
Total duration 18m 59s
Artifacts

cd_functions.yml

on: push
Matrix: Test
Deploy to GCP Cloud Functions
18m 14s
Deploy to GCP Cloud Functions
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
Deploy to GCP Cloud Functions
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.9/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/functions_framework/_cli.py", line 36, in _cli app = create_app(target, source, signature_type) File "/layers/google.python.pip/pip/lib/python3.9/site-packages/functions_framework/__init__.py", line 395, in create_app raise e from None File "/layers/google.python.pip/pip/lib/python3.9/site-packages/functions_framework/__init__.py", line 376, in create_app spec.loader.exec_module(source_module) File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/workspace/main.py", line 2, in <module> import requests ModuleNotFoundNo module named 'requests'. Please visit https://cloud.google.com/functions/docs/troubleshooting for in-depth troubleshooting documentation.
Test (3.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deploy to GCP Cloud Functions
Output 'url' was not set - only httpsTrigger Cloud Functions return this attribute.
Deploy to GCP Cloud Functions
Output 'url' was not set - only httpsTrigger Cloud Functions return this attribute.
Deploy to GCP Cloud Functions
Output 'url' was not set - only httpsTrigger Cloud Functions return this attribute.
Deploy to GCP Cloud Functions
Output 'url' was not set - only httpsTrigger Cloud Functions return this attribute.