Add frontend files for GitLab Pages Pipeline Wizard
All threads resolved!
This commit introduces two changes:
onboarding_complete
setting in project_pages_metadata
Note: These interfaces are not yet visible to the user as Rails does not yet render the /new
path. !78276 (merged) will subsequently introduce this. This MR is to reduce the MR size of !78276 (merged).
Note: These interfaces are not yet visible to the user as Rails does not yet render the /new
path
These are strongly recommended to assist reviewers and reduce the time to merge your change.
Note that this MR does not yet expose the new feature. To validate, I recommend checking out the follow-up MR !78276 (merged). See the detailed steps below:
check out the use-pipeline-wizard-for-pages
branch
Enable the feature flag with echo "Feature.enable(:use_pipeline_wizard_for_pages)" | rails c
Open a repository that you have owner access to.
Go to Settings > Pages.
Use the Pipeline wizard, click "commit" at the end
See the page reloading to waiting state
Confirm the waiting state is still there after a page reload
If you
alternatively, simulate a successful deploy with the console by running rails c
, then:
project = Project.find(<project-id>)
project.pages_metadatum.update(deployed: true)
(note that this will not actually deploy your pages site)
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.