mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Add main per-device loop
This commit is contained in:
parent
2515eebd4e
commit
048dcb7884
@ -28,7 +28,8 @@
|
|||||||
# - handle local manifests
|
# - handle local manifests
|
||||||
# - Sync mirror if we're using one
|
# - Sync mirror if we're using one
|
||||||
# - Branch-specific stuff
|
# - Branch-specific stuff
|
||||||
# - main sync and build loop For each device in `$DEVICE_LIST`
|
# - main sync and build loop
|
||||||
|
# For each device in `$DEVICE_LIST`
|
||||||
# - setup build overlay
|
# - setup build overlay
|
||||||
# - `repo init`
|
# - `repo init`
|
||||||
# - `repo sync`
|
# - `repo sync`
|
||||||
@ -182,3 +183,17 @@ if [ -n "$branch" ] && [ -n "$devices" ]; then
|
|||||||
mkdir -p "$SRC_DIR/$branch_dir"
|
mkdir -p "$SRC_DIR/$branch_dir"
|
||||||
cd "$SRC_DIR/$branch_dir"
|
cd "$SRC_DIR/$branch_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# - main sync and build loop
|
||||||
|
# For each device in `$DEVICE_LIST`
|
||||||
|
for codename in ${devices//,/ }; do
|
||||||
|
if [ -n "$codename" ]; then
|
||||||
|
# - `repo init`
|
||||||
|
# - `repo sync`
|
||||||
|
# - setup our overlays
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# More stuff to do
|
||||||
|
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user