Skip to content
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

GCP billing spike is not working #10

Closed
milenbm opened this issue Feb 14, 2022 · 2 comments · Fixed by #11
Closed

GCP billing spike is not working #10

milenbm opened this issue Feb 14, 2022 · 2 comments · Fixed by #11

Comments

@milenbm
Copy link

milenbm commented Feb 14, 2022

Hi there,

I tried to install the 003 and followed the tutorial that you have. Great work, I love it !
But I run into a problem.
When the time comes to deploy the function, everything is ok, but the function is not working.
This is the log
Screenshot from 2022-02-14 03-11-27

IT is searching for "File /workspace/main.py is expected to contain a function named goblet_entrypoint"

anovis added a commit that referenced this issue Feb 14, 2022
* Update goblet version in 001, and 003 (closes #10 )
* Add Blog Links
@anovis
Copy link
Contributor

anovis commented Feb 14, 2022

Thanks for reading and trying out the tutorial and for reporting this bug. There was actually a breaking change with Cloud Function's on GCP last year, so you will need a later version of goblet to run correctly (goblet/goblet#88)

I have updated themain.py + requirements.txt to reflect the latest versions.

Once you update goblet-gcp to the latest version the only changes that are needed in main.py is to import goblet_entrypoint and wrap the app goblet_entrypoint(app).

@milenbm
Copy link
Author

milenbm commented Feb 14, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants