Skip to content

Commit

Permalink
Remove building ssrc target bootloaders in CI
Browse files Browse the repository at this point in the history
The "px4 bootloader" is no longer supported for these

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Oct 27, 2023
1 parent e87cbdd commit 8a517d7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tiiuae-pixhawk-and-saluki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
product: [pixhawk, saluki-v2_default, saluki-v2_bootloader, saluki-v2_amp, saluki-v2_protected, saluki-v2_kernel, saluki-pi_default, saluki-pi_bootloader, saluki-pi_amp, saluki-pi_protected, saluki-v3_default, saluki-v3_amp]
product: [pixhawk, saluki-v2_default, saluki-v2_amp, saluki-v2_protected, saluki-v2_kernel, saluki-pi_default, saluki-pi_amp, saluki-pi_protected, saluki-v3_default, saluki-v3_amp]

uses: ./.github/workflows/tiiuae-pixhawk-and-saluki-builder.yaml
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/tiiuae-pixhawk-artifact-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,12 @@ jobs:
jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/$saluki_amp_pkg_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/latest/ssrc_saluki-v1_amp.bin"
jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/$saluki_bl_pkg_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/latest/ssrc_saluki-v1_bootloader.elf"
jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/$saluki_v2_pkg_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/latest/ssrc_saluki-v2_default.px4"
jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/$saluki_v2_amp_pkg_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/latest/ssrc_saluki-v2_amp.bin"
jfrog rt cp --flat \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/$saluki_v2_bl_pkg_name" \
"$ARTIFACTORY_GEN_REPO/builds/px4-firmware/saluki/latest/ssrc_saluki-v2_bootloader.elf"
fi
- name: Upload px4-fwupdater build to Artifactory
env:
Expand Down
15 changes: 0 additions & 15 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@ usage() {
echo " saluki-v1_default"
echo " saluki-v1_protected"
echo " saluki-v1_amp"
echo " saluki-v1_bootloader"
echo " saluki-v2_default"
echo " saluki-v2_amp"
echo " saluki-v2_bootloader"
echo " saluki-v2_protected"
echo " saluki-v2_kernel"
echo " saluki-pi_default"
echo " saluki-pi_amp"
echo " saluki-pi_bootloader"
echo " saluki-pi_protected"
echo " saluki-v3_default"
echo " saluki-v3_amp"
Expand Down Expand Up @@ -71,10 +68,6 @@ case $target in
$build_cmd_fw ssrc_saluki-v1_amp
cp ${script_dir}/build/ssrc_saluki-v1_amp/ssrc_saluki-v1_amp.bin ${dest_dir}/ssrc_saluki-v1_amp-${version}.bin
;;
"saluki-v1_bootloader")
$build_cmd_fw ssrc_saluki-v1_bootloader
cp ${script_dir}/build/ssrc_saluki-v1_bootloader/ssrc_saluki-v1_bootloader.elf ${dest_dir}/ssrc_saluki-v1_bootloader-${version}.elf
;;
"saluki-v2_default")
$build_cmd_fw ssrc_saluki-v2_default
cp ${script_dir}/build/ssrc_saluki-v2_default/ssrc_saluki-v2_default.px4 ${dest_dir}/ssrc_saluki-v2_default-${version}.px4
Expand All @@ -87,10 +80,6 @@ case $target in
$build_cmd_fw ssrc_saluki-v2_amp
cp ${script_dir}/build/ssrc_saluki-v2_amp/ssrc_saluki-v2_amp.bin ${dest_dir}/ssrc_saluki-v2_amp-${version}.bin
;;
"saluki-v2_bootloader")
$build_cmd_fw ssrc_saluki-v2_bootloader
cp ${script_dir}/build/ssrc_saluki-v2_bootloader/ssrc_saluki-v2_bootloader.elf ${dest_dir}/ssrc_saluki-v2_bootloader-${version}.elf
;;
"saluki-v2_kernel")
$build_cmd_fw ssrc_saluki-v2_kernel
cp ${script_dir}/build/ssrc_saluki-v2_kernel/ssrc_saluki-v2_kernel.px4 ${dest_dir}/ssrc_saluki-v2_kernel-${version}.px4
Expand All @@ -116,10 +105,6 @@ case $target in
$build_cmd_fw ssrc_saluki-pi_amp
cp ${script_dir}/build/ssrc_saluki-pi_amp/ssrc_saluki-pi_amp.bin ${dest_dir}/ssrc_saluki-pi_amp-${version}.bin
;;
"saluki-pi_bootloader")
$build_cmd_fw ssrc_saluki-pi_bootloader
cp ${script_dir}/build/ssrc_saluki-pi_bootloader/ssrc_saluki-pi_bootloader.elf ${dest_dir}/ssrc_saluki-pi_bootloader-${version}.elf
;;
*)
usage
;;
Expand Down

0 comments on commit 8a517d7

Please sign in to comment.