aws-serverless-airline-booking icon indicating copy to clipboard operation
aws-serverless-airline-booking copied to clipboard

[Deployment] Parallelize build and conditional deployment

Open heitorlessa opened this issue 6 years ago • 1 comments

sam build can run in parallel to improve deployment time - Currently it runs sequentially for every stack.

heitorlessa avatar Nov 29 '19 11:11 heitorlessa

SAM CLI now supports parallel builds as well as cache. This means, we could make use of CI Cache + SAM CLI build and parallel to make deployment quicker.

Two other fundamental changes to cut down deployment time until that will enable a future work of one pipeline per service are:

  • [ ] Only trigger deployments for services that changed (+ shared, until they're localized)
  • [ ] Convert CI Parameter Store requests into a batch request. For those not being used as deployment time dependency for other stacks, for example integ/perf tests can be turned into a Map instead of multiple parameters

heitorlessa avatar Nov 08 '21 12:11 heitorlessa