Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): split build jobs #3270

Merged
3 commits merged into from
May 25, 2022
Merged

chore(ci): split build jobs #3270

3 commits merged into from
May 25, 2022

Conversation

ghost
Copy link

@ghost ghost commented May 24, 2022

Running these jobs in parallel speeds up overall pipeline time by 10+ minutes.
Tests for specific platforms will also start earlier for faster feedback.

Pitch: https://www.notion.so/snyk/CLI-Speed-Up-Time-to-Build-in-CI-0d7ce418ecd14fa0bd8fac1ac391eea1

Things to note:

  • Previously we ran v2's "whiteboxtests" as part of the "Build Artifacts" job for linux/amd64 builds.
    • This is now its own job as running these tests doesn't require building and allows build jobs to be generic.
  • We can't use matrix jobs for building v2 like we can for v1 as each v2 job requires a specific v1 job.
    • If we try to make this work within a matrix, it's a lot more complicated than listing the jobs out individually.

How to review:

@ghost ghost marked this pull request as ready for review May 24, 2022 14:34
@ghost ghost requested review from a team as code owners May 24, 2022 14:34
@ghost ghost requested review from danlucian, hadasgo and ekbsnyk May 24, 2022 14:34
Jahed Ahmed added 3 commits May 25, 2022 11:12
Running these jobs in parallel speeds up overall pipeline time by 10+ minutes.
Tests for specific platforms will also start earlier for faster feedback.
So that the target artifact is more visible in overviews.
@ghost ghost force-pushed the chore/split-builds+v2 branch from 5735395 to 851a056 Compare May 25, 2022 11:13
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant