[go: up one dir, main page]

Skip to content

Speed up Auto DevOps pipelines with needs

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

With the new needs feature in GitLab CI we can speed up our pipelines.

There are several ways to do this:

  1. All of the allow_failure jobs in the test stage do not need to hold up deployment
  2. build and test can run in parallel because the test job builds it's own test image anyway
  3. We could also consider in review apps to start deployment as soon as the build is done. Since it's a review app we may be fine to deploy regardless of failing tests.

So basically I see the following additions to the CI YML:

production:
  needs: [test, build]

test:
  needs: []

review:
  needs: [build]

Some of this can be done now but the needs: [] part is blocked by #30631 (closed) and that will have the biggest speedup in allowing this to kick off earlier.

Edited by 🤖 GitLab Bot 🤖