mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
Merge pull request #412 from flatcar-linux/krnowak/fixes
ci-automation: Fixes
This commit is contained in:
commit
4c9a39e5a2
@ -82,10 +82,10 @@ function _packages_build_impl() {
|
||||
local packages_container="flatcar-packages-${arch}-${docker_vernum}"
|
||||
|
||||
# Build packages; store packages and torcx output in container
|
||||
./run_sdk_container -x ./ci-cleanup.sh -n "${packages_container}" -v "${version}" \
|
||||
./run_sdk_container -x ./ci-cleanup.sh -n "${packages_container}" -v "${vernum}" \
|
||||
-C "${sdk_image}" \
|
||||
mkdir -p "${CONTAINER_TORCX_ROOT}"
|
||||
./run_sdk_container -n "${packages_container}" -v "${version}" \
|
||||
./run_sdk_container -n "${packages_container}" -v "${vernum}" \
|
||||
-C "${sdk_image}" \
|
||||
./build_packages --board="${arch}-usr" \
|
||||
--torcx_output_root="${CONTAINER_TORCX_ROOT}"
|
||||
@ -94,7 +94,7 @@ function _packages_build_impl() {
|
||||
local torcx_tmp="__build__/torcx_tmp"
|
||||
rm -rf "${torcx_tmp}"
|
||||
mkdir "${torcx_tmp}"
|
||||
./run_sdk_container -n "${packages_container}" -v "${version}" \
|
||||
./run_sdk_container -n "${packages_container}" -v "${vernum}" \
|
||||
-C "${sdk_image}" \
|
||||
cp -r "${CONTAINER_TORCX_ROOT}/" \
|
||||
"${torcx_tmp}"
|
||||
|
@ -17,6 +17,7 @@ if [ "${CIA_ARCH}" = "arm64" ] && [ "${CIA_TESTSCRIPT}" != "qemu_uefi.sh" ] ; th
|
||||
echo " ---" >> "${CIA_TAPFILE}"
|
||||
echo " ERROR: ARM64 tests only supported on qemu_uefi." | tee -a "${CIA_TAPFILE}"
|
||||
echo " ..." >> "${CIA_TAPFILE}"
|
||||
break_retest_cycle
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -21,7 +21,7 @@ cleanup=""
|
||||
|
||||
usage() {
|
||||
echo " Usage:"
|
||||
echo " $0 [-t] [-v <version>] [-V sdk version] [-a arch] [-n <name> ] [-x <script>] [-C custom-container] [-F] [--rm] [container-command]"
|
||||
echo " $0 [-t] [-v <version>] [-V sdk version] [-a arch] [-n <name> ] [-x <script>] [-C custom-container] [--rm] [container-command]"
|
||||
echo " Start an SDK container of a given SDK release version."
|
||||
echo " This will create the container if it does not exist, otherwise start the existing container."
|
||||
echo " If the container is already running then it will exec into the container."
|
||||
@ -32,7 +32,7 @@ usage() {
|
||||
echo " -v <version> - Sourcetree (OS image) version to use."
|
||||
echo " Defaults to '$os_version' (current git commit)."
|
||||
echo " FLATCAR_VERSION[_ID] in '$sdk_container_common_versionfile'"
|
||||
echo " will be updated accordingly (also see -F)."
|
||||
echo " will be updated accordingly."
|
||||
echo " -V <SDK ver> - SDK version to use. Defaults to '${sdk_version}'"
|
||||
echo " (FLATCAR_SDK_VERSION from '$sdk_container_common_versionfile')."
|
||||
echo " -a <amd64|arm64|all> - Target architecture (board support) of the SDK."
|
||||
|
Loading…
x
Reference in New Issue
Block a user