Conversation
Contributor
mike-sul
commented
May 26, 2022
- Added params for the OE-builtin App preload to bb-config.
- Added script to do the OE-builtin App preload
- Tiny refactoring needed for the OE-builtin App preload.
7cfc8b0 to
c1c94ca
Compare
678b6bf to
2fc4bf2
Compare
Contributor
Author
|
This is the CI run that does the OE builtin apps preloading https://ci.foundries.io/projects/msul-dev01/lmp/builds/1347/intel-corei7-64/ |
We need two types of Registry clients, `docker` and `skopeo` while the functionality to communicate/deal with Registries is the same. Therefore, we parameterize a client type for this functionality.
- Use `skopeo` client instead of `docker` to login to Registry if the skopeo fetcher is used. - Don't create additional `target` subdirectory so we get Target specific OCI store file/folder tree. - Add insecure-policy` param to `skopeo copy` cmd in order to avoid a need in `/etc/containers/policy.json` file, which contains the same insecure policies by default.
- Python script to preload Apps within OE build. - Auxiliary bash script that invokes the preload python script aimed to simplify the preloading running and debugging within container and OE.
Use a temporal file for authentication material in order to avoid a need in access to `/run/containers` folder during the OE builtin preloading.
The OE-builtin preloader supports only "restorable" type of Apps, therefore we need to pass the corrsponding param to the bitbake context.
1a723e5 to
321c051
Compare
doanac
reviewed
Jun 1, 2022
doanac
approved these changes
Jun 1, 2022
MrCry0
approved these changes
Jun 1, 2022
This file contains hidden or 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
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.