mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
add cache
This commit is contained in:
parent
c43194e7ba
commit
f7fe859c0a
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ start_container () {
|
||||||
|
|
||||||
lxc launch "yunohost-$DEBIAN_VERSION-$SNAPSHOT_NAME" "$CONTAINER_ID" 2>/dev/null
|
lxc launch "yunohost-$DEBIAN_VERSION-$SNAPSHOT_NAME" "$CONTAINER_ID" 2>/dev/null
|
||||||
|
|
||||||
|
mkdir -p ${currentDir}/cache
|
||||||
|
chmod 777 ${currentDir}/cache
|
||||||
|
lxc config device add "$CONTAINER_ID" cache-folder disk path=/cache source="${currentDir}/cache"
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
wait_container $CONTAINER_ID
|
wait_container $CONTAINER_ID
|
||||||
|
|
Loading…
Reference in a new issue