Draft: Split company build to dedicated job
NOTE: Closing this MR without action. See notes in #8302 (closed) for explanation of reduced scope
What does this MR do?
Split build 8/9 ("company") out of PartialBuild to separate dedicated jobs:
- This first dedicated job will introduce
extensions/partial_site_build. This will usePARTIAL_SITE_BUILD_SOURCE_PATHS, which is a comma-delimited list of paths (regexes may be used) undersource(Middleman "resource.destination_path") which will be built. The extension will be very similar to themanipulate_resource_listinextensions/monorepo.rb. - Update
scripts/deployto usePARTIAL_SITE_BUILD_PATHS_TO_DEPLOY. This is a comma-separated list of top-level paths to be partially deployed. Will need to introduce a loop with a separate rsync command for each path.
Tasks
-
Write the extension -
Write ci jobs to use the extension (use handbook jobs as a template) -
Remove reference to company from PartialBuild -
Verify that exactly the same files are built and published in the artifact as current master code with PartialBuild. -
Test with local dev env -
Test with local build -
Test in review app -
Test in production
Related issues
Relates #8302 (closed)
Edited by Chad Woolley