Dokku3: Update dokku to avoid stale build artefacts

未关闭
#174 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker

调研方向

未指定文件、测试或入口点。首先检查仓库的 Dokku 和 deployment 配置并确定当前版本,然后验证升级是否解决了所链接的 Dokku 清理问题,并确认 deployment 后的磁盘使用情况。

由索引模型根据 Issue 内容生成。

描述

deck-scrubbing

Why are we doing this?

It appears that there's an issue https://github.com/dokku/dokku/issues/7216 with Dokku failing to clean up appropriately when deploying via git:from-image. This leads to stale build artefacts taking up space.

On Tuesday 12th Nov, Dokku4 ran out of disk space and it was then noticed that Dokku3 had used almost all of its disk space too. Running dokku cleanup didn't free up any additional space. However, running docker system prune did delete a large number of build cache objects and freed up around 70G of space. Taking disk usage down from (around) 93% to 56%. We think the update resolves this issue.

What are we doing?

Upgrading dokku to a version that includes the fix.

主要语言
Python
星标
0
派生
0
平均合并
12 小时 47 分钟
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensafely-core/sysadmin 的其他 Issue

查看 opensafely-core/sysadmin 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。