Commit 5928b71e authored by bgm's avatar bgm Committed by GitLab Runner
Browse files

bin/ switching to gcloud storage (biryani is offline).

parent e28067fd
......@@ -65,7 +65,7 @@ else
# check that we are running as the l10n user.
if [ "$user" = "l10n" ]; then
if [ "$user" = "gitlab-runner" ]; then
for i in $(cat conf/distributed_languages.txt); do
mkdir -p workdir/l10n/$i/LC_MESSAGES
cp workdir/mo/$i/ workdir/l10n/$i/LC_MESSAGES/
......@@ -75,12 +75,12 @@ else
tar cfz civicrm-l10n-daily.tar.gz l10n
md5sum civicrm-l10n-daily.tar.gz > civicrm-l10n-daily.tar.gz.MD5SUMS
echo -n "Rsync civicrm-l10n-daily.tar.gz to ... "
cp civicrm-l10n-daily.tar.gz /var/www/
cp civicrm-l10n-daily.tar.gz.MD5SUMS /var/www/
echo -n "gsutil rsync civicrm-l10n-daily.tar.gz to gcloud bucket for ... "
~/bin/gsutil/gsutil rsync civicrm-l10n-daily.tar.gz gs://civicrm/civicrm-l10n-core/archives/
~/bin/gsutil/gsutil rsync civicrm-l10n-daily.tar.gz.MD5SUMS gs://civicrm/civicrm-l10n-core/archives/
echo -n "Rsync all .mo files to ... "
rsync --delete -ra mo /var/www/
echo -n "gsutil rsync all .mo files to gcloud bucket for ... "
~/bin/gsutil/gsutil rsync -r ./mo gs://civicrm/civicrm-l10n-core/mo/
echo "done!"
rm civicrm-l10n-daily.tar.gz*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment