Skip to content
代码片段 群组 项目
提交 40519e00 编辑于 作者: Kassio Borges's avatar Kassio Borges 提交者: Stan Hu
浏览文件

Add `PagesDeployment` upload_finished field

Before [serving pages directly from pages_deployments], we were creating
an `PagesDeployment` and in the commit callback, the ZIP file was
uploaded. Only after the `PagesDeployment` entry was committed to the
database, we would update the `ProjectPagesMetadatum` to indicate the
deployment was ready.

Now, [serving pages directly from pages_deployments], created a problem
where we're starting to serve a `PagesDeployment` before its upload is
ready.

To fix that, a new `upload_ready` column will be introduced, to
signalize when the new `PagesDeployment` upload is finished and we
start to serve it.

[serving pages directly from pages_deployments]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135993

Changelog: fixed
上级 1e8f53be
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册