File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11package :
22 name : kube-fluentd-operator
33 version : 1.17.4
4- epoch : 3
4+ epoch : 4
55 description : Auto-configuration of Fluentd daemon-set based on Kubernetes metadata
66 copyright :
77 - license : MIT
@@ -49,10 +49,13 @@ pipeline:
4949 expected-commit : 0310b4eb0ed747c0eb192db998d67dead5faa1b7
5050
5151 - runs : |
52+ echo 'gem: --no-rdoc --no-ri' >> ~/.gemrc
53+
5254 cd base-image
5355 GEM_DIR=${{targets.destdir}}$(ruby -e 'puts Gem.default_dir')
5456 mkdir -p ${GEM_DIR}
5557 bundle config set --local path ${GEM_DIR}
58+ bundle config set --local without 'development test'
5659 bundle install
5760
5861 mkdir -p ${{targets.destdir}}/etc/fluent/plugin
@@ -66,8 +69,12 @@ pipeline:
6669 git checkout ${{vars.FLUENT_PLUGIN_GOOGLE_CLOUD_COMMIT}}
6770
6871 bundle config set --local path ${GEM_DIR}
72+ bundle config set --local without 'development test'
6973 bundle install
7074
75+ # remove cache to avoid including it in the package
76+ rm -rf ${{targets.destdir}}/$(ruby -e "puts File.join(Gem.default_dir, 'ruby', RbConfig::CONFIG['ruby_version'])")/cache
77+
7178 - uses : strip
7279
7380 - runs : |
You can’t perform that action at this time.
0 commit comments