Skip to content

Further parallelize builds

Lauren Barker requested to merge 1265-further-paralyze-builds into master

Why is this change being made?

This change is being made to reduce overall pipeline times. By further parallelizing the build to 9 partial builds, we can get each section down to 7 +/- minutes, thus shaving a few more minutes off our overall pipeline times.

The 9 partials are now defined as:

  1. IMAGES: We have a lot of images. So we let middleman copy them. Maybe we can de-middleman it in the future
  2. BLOG_POST_OLD: All blog posts up to 2017
  3. BLOG_POST_NEW: All blog posts since 2018
  4. RELEASE_BLOG: Release blog posts
  5. HANDBOOK_ENGINEERING: The engineering handbook
  6. HANDBOOK_OTHER: Other handbooks
  7. ASSETS: javascripts, stylesheets, icons, and pdfs
  8. COMPANY: All company pages and team images
  9. ALL_OTHERS: All pages and files which do not fit into the categories above

This is listed as a smaller scope improvement to be made in the "monorepo approval" issue.

Why not devide it further? Because of the DAG limit

We allow the review and deploy jobs to start immediately after build_branch and build_proxy_resources are complete. We recently increased the DAG limit from 5 to 10 to allow for this. With the build_branch job now divided into 9 parallels, we've hit the DAG limit of 10.

Does this MR meet the acceptance criteria?

Conformity

Related #1265 (closed)

Edited by Chad Woolley

Merge request reports