我已在 Azure DevOps 服务(而非服务器!)上为 NuGet 包创建了本地源。
我使用管道自动生成 NuGet 包,并使用“索引源和发布符号”任务将符号发布到“此组织/集合中的符号服务器(需要 azure 工件)”。
我知道如何从工件中删除旧的 NuGet 包(空间要求 0,22 GB),但显然符号包不会与它们一起删除(空间要求 2,49 GB)(在我的 PC 上本地创建的都需要大约 220 MB/250 MB)。
我的问题是,有没有办法手动从 Azure Artifacts 中删除已发布的 NuGet 符号包?
亲切的问候
米尔科
编辑:从 azure 工件源中删除了旧的已发布包,减少了包本身的空间消耗,但不减少符号的空间消耗。
解决方案:删除管道的旧运行可在接下来的 24 小时内释放空间。
最佳答案
我找到了这个here :
Q: What's the retention policy for the symbols stored in the Azure Pipelines symbol server?
A: Symbols have the same retention as the build. When you delete a build, you also delete the symbols that the build produced.
也许值得检查一下。
关于azure - 如何删除azure工件符号包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61271242/