From cc2da7284ab70ba21fe2f0687638778d41588dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Wed, 11 Feb 2026 17:10:25 +0100 Subject: [PATCH] Adjust tests in builder workflow to use apps instead of addons in CLI (#6554) The CLI calls in the tests are still using deprecated add-ons terminology, causing deprecation warnings. Change the commands and flags to the new ones. --- .github/workflows/builder.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 31905d7b3..46ee3e687 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -337,28 +337,28 @@ jobs: exit 1 fi - - name: Check the Store / Addon + - name: Check the Store / App run: | - echo "Install Core SSH Add-on" - test=$(docker exec hassio_cli ha addons install core_ssh --no-progress --raw-json | jq -r '.result') + echo "Install Core SSH app" + test=$(docker exec hassio_cli ha apps install core_ssh --no-progress --raw-json | jq -r '.result') if [ "$test" != "ok" ]; then exit 1 fi # Make sure it actually installed - test=$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.version') + test=$(docker exec hassio_cli ha apps info core_ssh --no-progress --raw-json | jq -r '.data.version') if [[ "$test" == "null" ]]; then exit 1 fi - echo "Start Core SSH Add-on" - test=$(docker exec hassio_cli ha addons start core_ssh --no-progress --raw-json | jq -r '.result') + echo "Start Core SSH app" + test=$(docker exec hassio_cli ha apps start core_ssh --no-progress --raw-json | jq -r '.result') if [ "$test" != "ok" ]; then exit 1 fi # Make sure its state is started - test="$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.state')" + test="$(docker exec hassio_cli ha apps info core_ssh --no-progress --raw-json | jq -r '.data.state')" if [ "$test" != "started" ]; then exit 1 fi @@ -372,9 +372,9 @@ jobs: fi echo "slug=$(echo $test | jq -r '.data.slug')" >> "$GITHUB_OUTPUT" - - name: Uninstall SSH add-on + - name: Uninstall SSH app run: | - test=$(docker exec hassio_cli ha addons uninstall core_ssh --no-progress --raw-json | jq -r '.result') + test=$(docker exec hassio_cli ha apps uninstall core_ssh --no-progress --raw-json | jq -r '.result') if [ "$test" != "ok" ]; then exit 1 fi @@ -388,21 +388,21 @@ jobs: - *wait_for_supervisor - - name: Restore SSH add-on from backup + - name: Restore SSH app from backup run: | - test=$(docker exec hassio_cli ha backups restore ${{ steps.backup.outputs.slug }} --addons core_ssh --no-progress --raw-json | jq -r '.result') + test=$(docker exec hassio_cli ha backups restore ${{ steps.backup.outputs.slug }} --app core_ssh --no-progress --raw-json | jq -r '.result') if [ "$test" != "ok" ]; then exit 1 fi # Make sure it actually installed - test=$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.version') + test=$(docker exec hassio_cli ha apps info core_ssh --no-progress --raw-json | jq -r '.data.version') if [[ "$test" == "null" ]]; then exit 1 fi # Make sure its state is started - test="$(docker exec hassio_cli ha addons info core_ssh --no-progress --raw-json | jq -r '.data.state')" + test="$(docker exec hassio_cli ha apps info core_ssh --no-progress --raw-json | jq -r '.data.state')" if [ "$test" != "started" ]; then exit 1 fi