Skip to content

Commit

Permalink
ci: lock all kas repos
Browse files Browse the repository at this point in the history
This guarantees that the build job can be easily replicated later.
The kas will generate a file named base.lock.yml which will later be used instead of base.yml,
we will save the lock file in the persistent storage.

Reference:
https://kas.readthedocs.io/en/latest/userguide/project-configuration.html#working-with-lockfiles

Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Oct 11, 2024
1 parent a41fd28 commit 2971945
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ jobs:
export SSTATE_DIR=${PERSISTENT_DIR}/sstate-cache
mkdir -p $DL_DIR
mkdir -p $SSTATE_DIR
kas dump --update --lock --inplace ci/base.yml
kas build ci/${{ matrix.machine }}.yml
mv ci/base.lock.yml ${PERSISTENT_DIR}

0 comments on commit 2971945

Please sign in to comment.