Skip to content

Commit

Permalink
Restore yocto cache
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Feb 21, 2024
1 parent f621cb2 commit 6c2528b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/yocto-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ jobs:
automation_dir: "${{ github.workspace }}/balena-yocto-scripts/automation"
BALENARC_BALENA_URL: ${{ vars.BALENA_URL || 'balena-cloud.com' }}
# Yocto NFS sstate cache host
# YOCTO_CACHE_HOST: ${{ vars.YOCTO_CACHE_HOST || 'nfs.product-os.io' }}
YOCTO_CACHE_HOST: ""
YOCTO_CACHE_HOST: ${{ vars.YOCTO_CACHE_HOST || 'nfs.product-os.io' }}
# YOCTO_CACHE_HOST: ""
YOCTO_CACHE_DIR: ${{ github.workspace }}/shared/yocto-cache
BARYS_ARGUMENTS_VAR: ""
# URL for secure boot signing server API
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
sudo mkdir -p "${YOCTO_CACHE_DIR}"
sudo chown $(id -u):$(id -g) "${YOCTO_CACHE_DIR}"
./balena-yocto-scripts/build/balena-build.sh -d "${MACHINE}" -t "${{ secrets.BALENA_API_KEY }}" -s "${YOCTO_CACHE_DIR}" -g "${BARYS_ARGUMENTS_VAR}"
hostapp_path="$(find ./build/tmp/deploy/ -name "balena-image-${MACHINE}.docker" -type l)"
if [ -n "${hostapp_path}" ]; then
hostapp_path="$(readlink --canonicalize "${hostapp_path}")""
Expand Down

0 comments on commit 6c2528b

Please sign in to comment.