Skip to content

Feature Flag: FF_CONFIGURABLE_ROOT_DIR

Summary

This issue is to rollout pages configurable root dir feature on production, that is currently behind the FF_CONFIGURABLE_ROOT_DIR feature flag.

This replaces the hard-coded root directory public by a configurable value as provided by the GitLab API. There it can be configured by in their .gitlab-ci.yml file.

Expectations

What are we expecting to happen?

For existing pages deployments, nothing.

New pages deployments will be able to configure the artifact directory exposed by Pages by adding a publish property to the pages job in their project's .gitlab-ci.yml.

What might happen if this goes wrong?

If this causes unexpected issues, the most likely result would be an increased amount of 404 or 500 Errors returned by the GitLab Pages daemon.

To recover, turn the Feature Flag off by reverting the following MRs:

If reverting the FF does not solve the issue, roll back the deployed Pages version to the latest stable release. To do so, revert this MR: gitlab!123039 (merged)

Dashboard links to monitor performance

Staging

Prod

Rollout Steps

Edited by Janis Altherr