-
Notifications
You must be signed in to change notification settings - Fork 11
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
Ci enhancements #232
Merged
deribaucourt
merged 10 commits into
yoctoproject:staging
from
savoirfairelinux:ci-enhancements
May 31, 2024
Merged
Ci enhancements #232
deribaucourt
merged 10 commits into
yoctoproject:staging
from
savoirfairelinux:ci-enhancements
May 31, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c4113b6
to
1d44210
Compare
Now that we are getting more jobs, this commit lets them use more accurate names which will be displayed in the workflows.
The matrix strategy can be used to test against multiple versions of Node.js. However, we are only using one version of Node.js in every context. This just created an unnecessary level of complexity in the workflows displays.
The Github action setup-node has a built-in cache for node_modules, which allows to save time by not having to reinstall all dependencies every time. If we then clean and reinstall the dependencies, we lose the benefit of the cache. There is no need to clean the repository at the start of a pipeline on non self-hosted runners. Doc: https://github.com/marketplace/actions/clean-workspace
1d44210
to
4518053
Compare
This should speed up the build by caching the bigger resources we download outside of NodeJS.
447a87d
to
8c19150
Compare
This will make the pipeline faster and more reliable. If another parsing request was already going, or the CI machine was slow, race condtions could happen and the test would fail.
6c492f0
to
c210a1e
Compare
Adding a layer is more complex and requires a full recipe parsing. Just copying the recipe we want to parse is a lot faster.
c210a1e
to
4593476
Compare
…nfig If the developper starts the integration tests debug configuration, the configuration will be merged with his user configuration. This commit resets the other bitbake configurations to prevent conflicts.
4593476
to
b2a32de
Compare
This test takes more than a minute and doesn't add much value. The following parsing test already ensures the parsing engine works correctly.
This optimisation resets the devtool workspace after the test has run instead of removing the build directory. This will allow to reuse the parsing cache and save time when running multiple tests.
4a88092
to
5ad1bf6
Compare
This optimization will cut down parsing time and reuse the cache. .bbappend are not included within poky/meta. We actually test bbappends separately with busybox. They do not need to be tested again here.
5ad1bf6
to
1e3ed10
Compare
idillon-sfl
approved these changes
May 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR improves the workflow display and optimizes runtime with caches