mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
It has some weird semantics that seem to trip us up after updating bash to 5.1. We tried to use it inside functions to clean up some stuff after function returns. This can be emulated with an EXIT trap within a subshell. Fortunately all the users of the RETURN trap were not setting any global variables - modifications of such variables are local to the subshell and are lost when the subshell exits.
The scripts in this directory are run from OS Jenkins jobs. By storing the Jenkins scripts in this repository, they are more tightly coupled to the release branch of the SDK scripts that they require. The Jenkins jobs are responsible for setting up the environment and securely initializing an SDK in the workspace before running these scripts.
The special files named formats-${BOARD}.txt
are space-separated lists of VM
image formats that should be built for releases on this branch; i.e. the script
vm.sh
is run for each item in the list.