flatcar-scripts/jenkins
Marga Manterola e04156a0f1
bootstrap_sdk: build and upload SDK toolchain pkgs
Before, we were relying on the toolchains job to build and upload
packages that were part of the SDK. With this change, all packages that
should be part of the SDK are built and uploaded by the SDK job. The
toolchains job only builds toolchain packages specific for the release.

This change includes several adjustments done to both the SDK and the
toolchains jobs to make this work:
 * Make the SDK job build all cross toolchains, including Rust
 * Stop building Rust in the toolchains job and use the one in the SDK
   instead.
 * In toolchain_util.sh: detect when the symlink folder for crossdev
   packages is missing and run crossdev to create it during
   update_chroot setup.
 * Make it possible to build the SDK starting from stage 4 instead of
   stage 1, to make the SDK building faster for PR branches / nightlies
   (full build should still be done for releases / weeklies).
2020-06-29 15:18:55 +05:30
..
formats-amd64-usr.txt build_library: drop oracle_oci_qcow image format 2018-04-25 22:40:29 -04:00
formats-arm64-usr.txt 2387.0.0 2020-01-20 16:41:15 +01:00
images.sh SDK: Take environment variable to specify SDK location 2020-05-14 16:03:15 +02:00
packages.sh SDK: Take environment variable to specify SDK location 2020-05-14 16:03:15 +02:00
README.md jenkins: Re-add Jenkins scripts to this repository 2017-06-29 15:16:54 -07:00
sdk.sh bootstrap_sdk: build and upload SDK toolchain pkgs 2020-06-29 15:18:55 +05:30
toolchains.sh SDK: Take environment variable to specify SDK location 2020-05-14 16:03:15 +02:00
vm.sh SDK: Take environment variable to specify SDK location 2020-05-14 16:03:15 +02:00

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.