Welcome to mirror list, hosted at ThFree Co, Russian Federation.

archive « assets-compile-cache « scripts - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85b145ec3b4a1f2179c28faaf54ee87bc5e807ec (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo "Archiving cache files..."

mkdir -p cache_archives
[ -d vendor/ruby ] && tar -czf cache_archives/vendor-ruby.tar.gz vendor/ruby
[ -d .yarn-cache ] && tar -czf cache_archives/yarn-cache.tar.gz .yarn-cache
[ -d tmp/cache/assets/sprockets ] && tar -czf cache_archives/tmp-cache-assets-sprockets.tar.gz tmp/cache/assets/sprockets

echo "Done!"