Skip to content

Only update pages config if pages are deployed.

Bob Van Landuyt requested to merge bvl-skip-pages-update-config into master

What does this MR do?

The pages config is a file inside the path on the shared NFS. The directory into which this file is written is created when pages are deployed and the artifacts are extracted.

If this path has been removed, or hasn't been created yet, we don't need to update configuration.

Updating the configuration is also a step in the deployment of pages. So the first deploy, the configuration would be written.

https://gitlab.com/gitlab-org/gitlab/blob/59a418ed0bf9dc5b8ce0ad79efbc0aa1395960bf/app/workers/pages_worker.rb#L18

Related to #235139 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Bob Van Landuyt

Merge request reports

Loading