CI to update file cache on ftp.rtems.org
Summary
This issue is to add a CI that runs after a merge is pushed to the repo. It runs the RSB's source download. There is a file cache per active branch in the RSB.
The URL is https://ftp.rtems.org/pub/rtems/cache/rsb and branches are subdirectories under this. For example the main
branch is https://ftp.rtems.org/pub/rtems/cache/rsb/main
Reason for the Cache
The cache is provided for user sites that are locked down. The RSB will not work because it fetches source from a number of hosts and IT support staff tend to not want to add the list of places the RSB references. The cache provides a single machine which is can be made accessible allowing the RSB to build tools.
Command
The command to run is:
cd rtems-source-builder/rtems
../source-builder/sb-get-sources
The command will check all buildsets and configuration files for all support hosts.
The files can be found in sources
and patches
and the contents of both can be copied to the cache directory.