gitlab: Fix packaging, compile gettext files before assets
This commit is contained in:
parent
05b8879464
commit
259970d26e
@ -138,10 +138,10 @@ stdenv.mkDerivation rec {
|
|||||||
# Compile assets. We skip the yarn check because it fails
|
# Compile assets. We skip the yarn check because it fails
|
||||||
export GITLAB_DATABASE_ADAPTER=nulldb
|
export GITLAB_DATABASE_ADAPTER=nulldb
|
||||||
export SKIP_STORAGE_VALIDATION=true
|
export SKIP_STORAGE_VALIDATION=true
|
||||||
|
rake gettext:compile RAILS_ENV=production
|
||||||
rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
|
rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
|
||||||
rake webpack:compile RAILS_ENV=production NODE_ENV=production
|
rake webpack:compile RAILS_ENV=production NODE_ENV=production
|
||||||
rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production
|
rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production
|
||||||
rake gettext:compile RAILS_ENV=production
|
|
||||||
|
|
||||||
mv config/gitlab.yml config/gitlab.yml.example
|
mv config/gitlab.yml config/gitlab.yml.example
|
||||||
rm config/secrets.yml
|
rm config/secrets.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user