Firebase storage artifacts is huge and keeps increasing

后端 未结 2 1392
别那么骄傲
别那么骄傲 2021-01-03 22:57

I\'ve just noticed that my app\'s storage was bumped almost to it\'s 5GB limits of free usage within the last few weeks. After checking it in more details, it appeared that

2条回答
  •  醉酒成梦
    2021-01-03 23:17

    I assume this is related to firestore functions deploys (or not?), but is this really expected?

    Yes, it's expected. Every time you deploy functions, Cloud Build will use a dedicated Cloud Storage space for the built docker image, and retain it until you delete it.

    Can I cleanup this artifacts safely?

    Yes, but then you won't be able to easily revert to a prior image. You would have to deploy again from your own source code.

提交回复
热议问题