Weekly Update 20 [2022 wk12] – Pipeline Wizard for Pages, Using any artifact folder name for Pages
Video
TL;DR:
-
Worked on creating a
onboarding_complete
column for the Pages Metadata table and a GraphQL Mutation to toggle it: gitlab-org/gitlab!73551 (merged) -
Revisited an older issue: Allowing to publish folders with a name other than
public
in GitLab Pages. Possible strategies:- Rename any provided folder to
public
during the RailsUpdatePagesService
- Change the GitLab Pages sourcecode that it will use any folder as root, as implemented currently in gitlab-org/gitlab-pages!626 (closed)
- a combination of the two, reducing VFS-back-and-forth on the Gitlab Pages site
In order to not surprise-expose files that have not previously been public, favor is Option 3), introducing a new property to the
pages
job, that behaves exactly likeartifacts.paths
, but would accept any folder name, whileartifacts.paths
would keep its current behavior. The logic would be implemented inUpdatePagesService
. - Rename any provided folder to
Useful Links
Edited by Janis Altherr