This adds support in FireMarshal buildroot to use a cached buildroot image downloaded from the internet. This only happens if all of the following is true:
The file is successfully fetched from the internet
No file modifications were made (changed var in the code)
The buildroot image doesn't exist (task.targets[0] doesn't exist)
The buildroot repo isn't dirty (dirty dict value in the code)
This also adds 2 CI hooks to build and upload the images:
A weekly build +upload of the image (so things get updated just in case)
Whenever master is pushed (i.e. after a merge), the CI workflow will re-run and there will be a build + upload of the image
This adds support in FireMarshal buildroot to use a cached buildroot image downloaded from the internet. This only happens if all of the following is true:
changed
var in the code)task.targets[0]
doesn't exist)dirty
dict value in the code)This also adds 2 CI hooks to build and upload the images:
master
is pushed (i.e. after a merge), the CI workflow will re-run and there will be a build + upload of the imageI use https://github.com/firesim/firemarshal-public-br-images as the storage repo.