Commit graph

31 commits

Author SHA1 Message Date
Clinton Wolfe
cdfb325ca3 Apply chefstyle -a, and manually remove duplicate requires
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-21 13:25:04 -05:00
Tim Smith
8198746e90 Cleanup ruby before fixing gem permissions
This should prevent failures

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-02-12 12:54:48 -08:00
Jon Morrow
14dd7bde64 Fixes all notarization issues
This changes makes the neccessary changes to enable the pkg to pass apples notarization requirements.

1. Drop 'Developer ID Installer:' from signing key. This lets sigining pick up the correct key for what is being signed.
2. Update inspec software definition to delete test dir from rubyzip gem because its fixtures contain zip files that the notarization service cannot inspect.

Signed-off-by: Jon Morrow <jmorrow@chef.io>
2020-01-24 13:46:41 -08:00
Seth Chisamore
9907a4ee4a
Begin signing MSI's with renewed Windows Signing Cert
Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-08-13 11:15:28 -04:00
Clinton Wolfe
860498b838 Remove clean-static-libs from omnibus build
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-17 12:54:57 -04:00
Ryan Davis
a5309ea392 blindly applied chefstyle -a
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-06-11 18:52:03 -07:00
Bryan McLellan
90d4012f0a
Merge pull request #4045 from inspec/btm/omnibus-license
Convert Chef EULA to a local file
2019-05-08 16:24:39 -04:00
Bryan McLellan
0539e9afe8 Convert Chef EULA to a local file
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-05-08 16:24:08 -04:00
Miah Johnson
11b8da3283
Merge branch 'master' into mj/encoding 2019-05-08 12:59:55 -07:00
Bryan McLellan
241c1e7dfd Update the omnibus build license to the Chef EULA
The resulting distribuions are licensed under the Chef EULA.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-05-08 11:12:45 -04:00
Miah Johnson
659b4b373a Remove # encoding: utf8 magic comments
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 16:06:23 -07:00
Tim Smith
45eadb69df Use File instead of IO
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-29 17:09:48 -07:00
Tim Smith
65f27bf31b More omnibus def updates from Chef
Getting the file path right should fix the build failures

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-29 10:26:54 -07:00
Tim Smith
366245b398 Update to Ruby 2.6.2 and Rubygems 3.0.3
We thought we were riding the latest, but actually the overrides file wasn't wired up the same way it is in Chef. This properly sources that file and does a few other syncs from the chef config so we can diff things more easily.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-29 10:06:36 -07:00
Tim Smith
b5ff949059 Update Ruby versions used for testing; fix Travis CI issues (#3678)
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-12-20 22:17:07 -05:00
Tim Smith
559d6d3178 Modernize omnibus config and reduce omnibus package size (#3543)
* Modernize the kitchen config

This is basically the same one we use in chef/chef

* Modernize the omnibus deps
* Remove cookbook constraints
* Avoid security warnings when bundle installing
* Use the ruby-cleanup project to slim the omnibus package

We're using this in chef and DK to greatly reduce our artifact size. It's just a set of cleanup steps that are the same for all ruby omnibus projects.

Signed-off-by: Tim Smith <tsmith@chef.io>
2018-10-29 16:01:45 -04:00
Tim Smith
8468c0ebba Enable compression for deb/rpm packages (#3472)
* Enable compression for deb/rpm packages

In Chef we've seen this shrink package sizes by 22%. Should save us some sweet $$$ on the CDN costs.

* Maintain support for RHEL 5

Signed-off-by: Tim Smith <tsmith@chef.io>
2018-10-10 08:17:10 -04:00
Jared Quick
bd96af1fa2
Bump omnibus ruby to 2.5.1 (#3390)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-13 13:28:01 -04:00
Jared Quick
40e7c1b23f
Add train GCP transport. (#3046)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-16 15:04:23 -04:00
Adam Leff
c1f57d9875 Bump Omnibus Ruby (and Travis Rubies) to 2.4.3 (#2452)
Addresses CVE-2017-17405.

Signed-off-by: Adam Leff <adam@leff.co>
2018-01-16 14:28:19 -08:00
Adam Leff
06a3a6e95b Bump Omnibus ruby to 2.4.2 (#2294)
Signed-off-by: Adam Leff <adam@leff.co>
2017-11-09 11:09:54 +01:00
Adam Leff
7616597b7f
Pin RubyGems to 2.6.14 (#2287)
* Pin RubyGems to 2.6.14

2.7.0 seems to have introduced an issue causing bundler to fail to
install in our Jenkins pipeline.

Signed-off-by: Adam Leff <adam@leff.co>

* Added comment explaining the pin

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-03 16:23:56 -04:00
Adam Leff
2c37d1a578 Bump Ruby to 2.3.5 (#2149)
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/

Signed-off-by: Adam Leff <adam@leff.co>
2017-09-14 13:08:55 -04:00
Seth Chisamore
c857898091 Update SHA1 fingerprint for MSI signing cert (#2031)
The cert has been updated as the old one expires on 2017-07-25.

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2017-07-24 16:02:43 -04:00
Seth Chisamore
a081b343e0 Revert "Update SHA1 fingerprint for MSI signing cert (#2013)" (#2014)
This reverts commit b803194abd.

Reverting this as we are investigating using an EV cert which has
instant reputation with Microsoft Smartscreen filter.

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2017-07-12 17:26:09 -04:00
Seth Chisamore
b803194abd Update SHA1 fingerprint for MSI signing cert (#2013)
The cert has been updated as the old one expires on 2017-07-25.

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2017-07-12 15:24:14 -04:00
Adam Leff
9581fda2d8 Fix omnibus build after new JUnit formatter
The new JUnit formatter requires nokogiri, so we need
to build nokogiri via omnibus to ensure liblzma, etc.
is built as part of the omnibus package instead of
`gem` picking up a system liblzma, such as on Mac OS X.

Also bumping ruby to 2.3.1 to match ChefDK.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-06 11:25:20 -07:00
Yvonne Lam
6481c0a7a1 Use the gem version for the omnibus package version. 2016-09-22 10:24:58 +02:00
Kartik Null Cating-Subramanian
ce2b0949ac Improve windows support of omnibus installer - fix #889 2016-08-10 22:31:58 +02:00
Steven Danna
07f7485423 [omnibus] Appbundle inspec and cleanup style issues
- Removes resource files which matched the default implementations
  contained in omnibus.

- Removes software definition for train which will be installed via the
  gem dependecies in the inspec defintion.

- Appbundle inspec to match our other ruby-based projects

- Update rubocop style violations

- Update copyright notices

Signed-off-by: Steven Danna <steve@chef.io>
2016-08-08 13:34:33 +02:00
Christoph Hartmann
5a8ee8c896 add omnibus for inspec 2016-08-08 13:34:33 +02:00