Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gitlab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
gitlab
Commits
89b669f1
Commit
89b669f1
authored
Mar 27, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mimemagic gem; remove unneeded files to save space
parent
ffd488ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
Makefile
Makefile
+6
-0
gitlab-foss-v13.1.0-gems_update.patch
gitlab-foss-v13.1.0-gems_update.patch
+14
-0
No files found.
Makefile
View file @
89b669f1
...
...
@@ -31,6 +31,7 @@ all: database-config
mkdir
gitlab-home
tar
xf
gitlab-foss-v13.1.0.tar.bz2
-C
/srv/www
--strip-components
=
1
patch
-Np1
-d
/srv/www
<
gitlab-foss-v13.1.0-gems_update.patch
rm
-rf
/srv/www/index.html
cd
/srv/www
&&
mv
config/gitlab.yml.example
config/gitlab.yml
...
...
@@ -55,6 +56,11 @@ all: database-config
cd
/srv/www
&&
HOME
=
$(CURDIR)
/gitlab-home bundle
exec
rake gitlab:assets:compile
RAILS_ENV
=
production
NODE_ENV
=
production
NODE_OPTIONS
=
"--max-old-space-size=3072"
rm
-rf
/usr/local/share/.yarnrc
rm
-rf
/srv/www/tmp/cache/*
rm
-rf
/srv/www/vendor/bundle/ruby/*/gems/nokogumbo-*/ext/nokogumboc/tmp
rm
-rf
/srv/www/vendor/bundle/ruby/*/gems/graphiql-rails-*/test/dummy/tmp
find
/srv/www
-name
*.gz
-exec
rm
-f
'{}'
';'
find
/
-name
*.gem
-exec
rm
-f
'{}'
';'
find
/
-name
*.pyc
-exec
rm
-f
'{}'
';'
find
/
-name
*.js.map
-exec
rm
-f
'{}'
';'
find
/
-name
*.css.map
-exec
rm
-f
'{}'
';'
...
...
gitlab-foss-v13.1.0-gems_update.patch
0 → 100644
View file @
89b669f1
diff -uNr gitlab-foss-v13.1.0/Gemfile.lock gitlab-foss-v13.1.0-gems_update/Gemfile.lock
--- gitlab-foss-v13.1.0/Gemfile.lock 2020-06-20 02:15:52.000000000 +0930
+++ gitlab-foss-v13.1.0-gems_update/Gemfile.lock 2021-03-26 23:01:59.989671194 +1030
@@ -630,7 +630,9 @@
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.0331)
- mimemagic (0.3.5)
+ mimemagic (0.3.9)
+ nokogiri (~> 1)
+ rake
mini_histogram (0.1.3)
mini_magick (4.9.5)
mini_mime (1.0.2)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment