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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/assets-compile-cache/extract')
-rwxr-xr-xscripts/assets-compile-cache/extract9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/assets-compile-cache/extract b/scripts/assets-compile-cache/extract
new file mode 100755
index 00000000000..aebf92a9347
--- /dev/null
+++ b/scripts/assets-compile-cache/extract
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+echo "Extracting cache files..."
+
+[ -f cache_archives/vendor-ruby.tar.gz ] && tar -xzf cache_archives/vendor-ruby.tar.gz
+[ -f cache_archives/yarn-cache.tar.gz ] && tar -xzf cache_archives/yarn-cache.tar.gz
+[ -f cache_archives/tmp-cache-assets-sprockets.tar.gz ] && tar -xzf cache_archives/tmp-cache-assets-sprockets.tar.gz
+
+echo "Done!"