MirrorCache/update-cache.sh
Andrii Nikitin b93daa9880 - Update to version 1.080:
* Add /rest/project_last_modified route (#506)
  * Display project size in human friendly format (#503)
  * Add flag mysql_enable_utf8mb4 when connectin to MariaDB (#505)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=111
2024-08-01 09:01:19 +00:00

21 lines
321 B
Bash

#! /bin/sh
set -e
export LC_ALL='en_US.UTF-8'
export LANG='en_US.UTF-8'
osc up
rm -f _service\:*
rm -f *.tar *.cpio
osc service lr
# special call for tar buildtime service
osc service lr tar
SD=$PWD
cd MirrorCache
tools/generate-packed-assets
tar cvjf ../cache.tar.xz assets/cache assets/assetpack.db
cd "$SD"
osc up