diff options
author | Max Magorsch <max@magorsch.de> | 2019-09-05 16:12:58 +0200 |
---|---|---|
committer | Max Magorsch <max@magorsch.de> | 2019-09-05 16:12:58 +0200 |
commit | a3a60ea3ae355d6a39fda1f07f3d79644ddd2a41 (patch) | |
tree | c1dd484b81a21228067f66a9cb0bf5ae725486fd /bin/update-changelogs.sh | |
parent | Use docker volumes for the portage tree (diff) | |
download | packages-5-a3a60ea3ae355d6a39fda1f07f3d79644ddd2a41.tar.gz packages-5-a3a60ea3ae355d6a39fda1f07f3d79644ddd2a41.tar.bz2 packages-5-a3a60ea3ae355d6a39fda1f07f3d79644ddd2a41.zip |
Run the initialization scripts using docker-composefeature/es-7.3develop
docker-compose can be used to deploy the application. The index will
be initialized and updated. Furthermore a cron job will be registered
for production environments to update the index every 10 minutes. °
Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to 'bin/update-changelogs.sh')
-rwxr-xr-x | bin/update-changelogs.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/update-changelogs.sh b/bin/update-changelogs.sh index ae64050..0b35989 100755 --- a/bin/update-changelogs.sh +++ b/bin/update-changelogs.sh @@ -1,5 +1,7 @@ #!/bin/bash +mkdir -p /var/cache/pgo-egencache + cd /mnt/packages-tree/gentoo/ || exit 1 egencache -j 6 --cache-dir /var/cache/pgo-egencache --repo gentoo --repositories-configuration '[gentoo] location = /mnt/packages-tree/gentoo' --update-changelogs |