-
Notifications
You must be signed in to change notification settings - Fork 950
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
Function deploy fails to delete scheduled function without Cloud Scheduler job #4795
Comments
any update about this? |
any update on this? I'm having same problem when trying to remove old functions |
same issue |
I'm seeing this issue as well. I'm using the The first time I tried running this pipeline after removing a function from source control, I realized the Google Cloud IAM Service Account associated with the I added that permission and re-ran the pipeline. The second pipeline execution failed with All subsequent pipeline execution attempts now fail with |
In troubleshooting this, I realized my service account role was missing a few permissions:
Also, the service account I'm using for deployment belongs to a different organization than the project being deployed, so I had to enable the |
Whilst awaiting merge request approval and a proper release, I was able to patch this into my deployment pipeline so I can "delete" Cloud Functions in the pipeline:
where the contents of
|
[REQUIRED] Environment info
firebase-tools: 11.4.0
Platform: macOS
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
firebase functions:delete <fn>
[REQUIRED] Expected behavior
Delete the pubsub topic and the function
[REQUIRED] Actual behavior
Command fails:
HTTP 404: Job not found
You have to go manually delete the function in Cloud console. This is annoying, especially if you are running something like
firebase deploy --force
to clean up old functions as it marks the entire deployment as failed.The text was updated successfully, but these errors were encountered: