Commit 107a8e5
committed
Drop specs when building gem
Previously our key and cert test fixtures were shipped in the gem, which
triggered security scanners. This deletes the `spec` directory from each
platform specific gem and reduces the size of each gem by about 1MB when
using the `bundle exec rake package:gem` task:
Before:
```
$ ls -la pkg/puppet-8.4.0.178.gem
-rw-rw-r-- 1 josh 1.5M Feb 9 11:21 pkg/puppet-8.4.0.178.gem
```
After:
```
$ ls -la pkg/puppet-8.4.0.177.gem
-rw-rw-r-- 1 josh 2.8M Feb 9 11:21 pkg/puppet-8.4.0.177.gem
```
For reasons described in PA-5400 we don't currently use `gem build .gemspec`
to build puppet gems.
No changes are needed to the .gemspec or Gemfile, because they both
include the content from project_data.yaml.1 parent a3e77e7 commit 107a8e5
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments