Commit 3b899791 authored by Kirill Smelkov's avatar Kirill Smelkov

X Move assets to var/

parent 6bc49987
...@@ -110,10 +110,10 @@ recipe = slapos.cookbook:mkdirectory ...@@ -110,10 +110,10 @@ recipe = slapos.cookbook:mkdirectory
etc = ${directory:etc}/gitlab etc = ${directory:etc}/gitlab
log = ${directory:log}/gitlab log = ${directory:log}/gitlab
# XXX questionable from now on?
var = ${directory:var}/gitlab var = ${directory:var}/gitlab
tmp = ${:var}/tmp tmp = ${:var}/tmp
uploads = ${:var}/uploads uploads = ${:var}/uploads
assets = ${:var}/assets
repositories = ${directory:srv}/repositories repositories = ${directory:srv}/repositories
# XXX goes away (?) satellites = ${directory:srv}/satellites # XXX goes away (?) satellites = ${directory:srv}/satellites
backup = ${directory:srv}/backup backup = ${directory:srv}/backup
...@@ -327,8 +327,9 @@ tune-command = ...@@ -327,8 +327,9 @@ tune-command =
ln -sf ${smtp_settings.rb:rendered} smtp_settings.rb && ln -sf ${smtp_settings.rb:rendered} smtp_settings.rb &&
# public/ # public/
cd ../../public && cd ../../public &&
rm -rf uploads && rm -rf uploads assets &&
ln -sf ${gitlab:uploads} uploads && ln -sf ${gitlab:uploads} uploads &&
ln -sf ${gitlab:assets} assets &&
true true
......
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