summaryrefslogtreecommitdiff
path: root/omnibus/config
Commit message (Collapse)AuthorAgeFilesLines
* Add ruby-cleanup to clear the bundler/gems and cache folder (#13676)Poornima2023-04-251-0/+1
| | | | | * Add ruby-cleanup to clear the bundler/gems and cache folder Signed-off-by: poorndm <poorndm@progress.com>
* fixing the path hereSean Simmons2023-02-141-1/+1
| | | | Signed-off-by: Sean Simmons <ssimmons@progress.com>
* add esoteric platforms to validate adhoc/release pipelines (#13546)Evan Ahlberg2023-02-072-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * run pre-command on all verify pipelines * update pre-command to pull aws credentials on both chef and chef canary * update pre-command pipeline names * add esoteric builds * add build_timestamp environment variable * update sha on omnibus plugin * skip transitive depenceny licensing for chef-foundation * use chef-foundation * remove notarize * add solaris tests * add aix tests * add all esoteric platforms * Adding in changes to run publish of omnibus packages to Artifactory, as well as related gems for Linux/Windows * set lib path in chef omnibus * move lib dirs to software * Adding in if statement around artifactory api key, as its not needed for macOS (only Artifactory password needed) * Log every macho? * Fixing regex check * Extend the bin dirs and lib dirs. * remove mac osx 10 * Remove lib dirs. * Update the version of omnibus-buildkite-plugin. * Fixing unbound variable error on filter; Fixing notarize macOS so it doesn't run when macOS is filtered out of build * Adding in changes to retry/timeout on esoteric builds; Adding in dependency check on macOS Notarize * add build record step on validate/release pipeline * fix comparison for pipeline slug * Adding in code to promote the packages when runnong validate/release * remove comments and fix omnibus branch * Fixing potential issue with BUILDKITE_BUILD_CREATOR_TEAMS being unset * get role attached to ec2 server instead of hardcoding * Update omnibus bundle with license_scout * Dynamically determine the version of ruby. * replace . with _ in notraize step * Move lib_dirs logic to chef-foundation * remove skip_transitive_depenency_licensing and add comments to build/test arrays * increase timeout on esoteric to 120 mins * fix mac osx depends on and update pipeline name to regex * align omnibus plugin version to 0.2.83 * add check for centos6 in omnibus-test.sh * add comments for empty array check --------- Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com> Signed-off-by: Jesse Prieur <jesse.prieur@gmail.com> Signed-off-by: Gregory Schofield <grschofi@progress.com> Co-authored-by: Jesse Prieur <jesse.prieur@gmail.com> Co-authored-by: Gregory Schofield <grschofi@progress.com>
* revert chef-foundation changes in chef omnibus config (#13528)Evan Ahlberg2023-01-251-1/+23
| | | | | | | | * revert chef-foundation changes in chef omnibus config * change fips test for windows * update pipeline names to validate and increase timeout for windows omnibus builds * remove omnibus build and test for now Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com>
* update verify pipeline and omnibus build/test to use containers (#13489)Evan Ahlberg2023-01-234-26/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update verify pipeline and omnibus build/test to use containers * add execution permission on scripts * add fips back in for opensuse but skip for windows * jesseprieur/BS-159 - Add RPM Signing Key for RHEL/SLES/CentOS * evanahlberg/BS-152 - Add MSI Signing to Windows Builds * fix label on windows platforms * fix role and add check for organization for aws credentials * chmod omnibus test script and fix windows 2019 queue for omnibus test * fix windows queue * Remove dependencies that are part of chef-foundation. * Disable s3 caching. * Rename chef-gem as it conflicts with another omnibus-software. * Speeding up debugging; Removing more-ruby-cleanup gem from omnibus chef package * Adding more-ruby-cleanup back in * Removing more-ruby-cleanup; Removing debugging steps * Remove ruby dependency from more-ruby-cleanup. * add retry and timeouts to all steps * move omnibus test and build to own file and create ad hoc pipeline * Adding in changes to use heredoc in verify pipeline * Adding in retries/timeouts; Fixing missing agent * allow for filtering of the omnibus build and test platforms * only block on chef-oss org * add canary adhoc pipeline and add back trigger for omnibus release * Make omnibus s3 caching configurable via env. Signed-off-by: Gregory Schofield <grschofi@progress.com> Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com> Signed-off-by: Jesse Prieur <jesse.prieur@gmail.com>
* Bundle with for 2.3.7 and cleanup with minimal gem bumps (#13169)tpowell-progress2022-09-081-2/+2
| | | | | | * Add ruby cleanup * Disable Amazon 2022 and Windows 8 pipelines Signed-off-by: tpowell-progress <104777878+tpowell-progress@users.noreply.github.com>
* Update signing identity for msiThomas Powell2022-08-291-1/+1
| | | | Signed-off-by: Thomas Powell <powell@progress.com>
* Integrate ruby 3.1 into buildsJohn McCrae2022-08-231-3/+3
| | | | | | | | | This is a combination of 64 commits, the originals were mostly repeating one-line messages so that history has not been kept here. Signed-off-by: Thomas Powell <thomas.powell@progress.com> Signed-off-by: Marc Paradise <marc@chef.io> Signed-off-by: John McCrae <john.mccrae@progress.com>
* Revert "Revert "Use new msys2 based devkit for windows" (#13063)" (#13097)neha-p62022-07-221-5/+1
| | | This reverts commit 4797e01535af8e33ace9ef3a7404dd8256913bce.
* Revert "Use new msys2 based devkit for windows" (#13063)neha-p62022-07-111-1/+5
|
* use new msys2 devkit for windowsMatt Wrock2022-06-291-5/+1
| | | | Signed-off-by: Matt Wrock <matt@mattwrock.com>
* Fix ruby cleanup breaking buildsTim Smith2022-01-121-2/+2
| | | | | | new jmespath gem uses the VERSION file. Signed-off-by: Tim Smith <tsmith@chef.io>
* use the correct DSLLamont Granquist2021-11-091-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add coreutils dependency for rhellcg/add-coreutils-depLamont Granquist2021-11-091-0/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Don't cleanup the VERSION file in the aws gem installTim Smith2021-07-141-11/+11
| | | | | | | We need that file. Also remove the fauxhai cleanup since we don't ship that gem anymore. Signed-off-by: Tim Smith <tsmith@chef.io>
* Resolve chefstyle warningsTim Smith2021-05-071-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add the ext dir back to more-ruby-cleanupLamont Granquist2021-03-261-0/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix ruby-prof loading issuesLamont Granquist2021-03-231-1/+2
| | | | | | | | See: https://github.com/ruby-prof/ruby-prof/pull/300 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix the ruby-3 omnibus builds/testsLamont Granquist2021-03-221-1/+0
| | | | | | This switches omnibus to using the post-bundle-install hook Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Skip appx packaging on Windows (#10650)Tim Smith2020-11-241-1/+2
| | | | | | Speed up our windows builds by removing appx packaging since we're not actually using that. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove a few more files from our install artifactTim Smith2020-10-291-0/+4
| | | | | | This cleans up some files we don't need in the install artifact. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove coderay and ffi-yajl-bench binstubsTim Smith2020-10-211-0/+2
| | | | | | | Nuke a few more binstubs that have nothing to do with chef and shouldn't be shipped. Signed-off-by: Tim Smith <tsmith@chef.io>
* Delete deprecated Fauxhai definitionsslim_fauxhaiTim Smith2020-08-141-0/+10
| | | | | | We're not bundling Fauxhai for cookbook testing by end users. We're bundling it to test our own chef-utils logic. We can remove all the deprecated definitions that we're not using anyways. This shaves 2 megs off our install in 22 files. Long term I'd like to just ship fauxhai w/o the definitions as fauxhai-lite, but this will get us what we need until that time. Signed-off-by: Tim Smith <tsmith@chef.io>
* Update omnibus/config/software/more-ruby-cleanup.rb Tim Smith2020-08-051-1/+1
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
* Cleanup extra binaries from libxml2 and libxsltskip_binsTim Smith2020-08-041-7/+16
| | | | | | Neither of these libraries let you skip building these. Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup more files from our package's gem installsTim Smith2020-07-311-3/+20
| | | | | | | Nuke more useless files in gems Remove all the empty gem dirs for the ruby built in gems so we can skip shipping 41 empty folders Signed-off-by: Tim Smith <tsmith@chef.io>
* Move some Ruby omnibus cleanup to omnibus-softwareTim Smith2020-07-221-26/+0
| | | | | | These are confirmed safe and we do them in omnibus now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix quotes for ChefstyleTim Smith2020-07-071-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* expand_path with __dir__ instead of __FILE__Tim Smith2020-07-071-1/+1
| | | | | | It's easier to read this at a glance and understand what path we're trying to get. Signed-off-by: Tim Smith <tsmith@chef.io>
* Update Ohai to 16.2.3 and update some comments in omnibusTim Smith2020-06-301-2/+9
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix typomore_cleanupTim Smith2020-05-051-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup gemfile/gemspecs if the bin dir is emptyTim Smith2020-05-051-2/+5
| | | | | | Now that we've cleaned up some bin files the dirs might be empty. In that case we're not going to appbundle and we can nuke these Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup more files in gems we shipTim Smith2020-05-051-0/+4
| | | | | | | | samus.json is a release config file cleanup docker files Cleanup certs used to sign gems for distribution Signed-off-by: Tim Smith <tsmith@chef.io>
* Delete unnecessary gem bin/console and bin/setup filesTim Smith2020-05-051-0/+9
| | | | | | There's no need for these in gems we ship. There's a bunch of them. Signed-off-by: Tim Smith <tsmith@chef.io>
* Move some of the ruby-cleanup logic into omnibus-softwareTim Smith2020-04-201-21/+0
| | | | | | Bump the deps to current to bring in the latest omnibus that includes some of this cleanup natively Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove a few additional files from our buildssmallerTim Smith2020-04-171-8/+20
| | | | | | Knock maybe another 150k from the builds Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove copyright dateslcg/remove-copyright-datesLamont Granquist2020-04-133-3/+3
| | | | | | | | Legally incredibly dubious, particularly since we don't follow it strictly as policy, and we have git history instead, which does it right. This is just a waste of time and a cargo cult. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Cleanup a few other filesTim Smith2020-03-141-1/+4
| | | | | | | Also remove the tasks directory not the invidivual files so we don't leave behind a bunch of empty dirs Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup a bunch more files and pull in the smaller license-acceptanceTim Smith2020-03-131-1/+30
| | | | | | With this change we have 25% fewer files than 15.8 and ~24% less space used on disk. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove additional files from the gems in our buildsTim Smith2020-03-131-0/+5
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove some of the ruby cleanup to fix buildscleanup_lessTim Smith2020-03-121-22/+0
| | | | | | Let's see if this gets the tests passing again. Signed-off-by: Tim Smith <tsmith@chef.io>
* Use fileutils to delete files or dirsslim_the_installTim Smith2020-03-111-22/+17
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bring in the extended Ruby cleanup used in chef-workstationTim Smith2020-03-102-0/+106
| | | | | | This resulted in a pretty nice install time win / disk space win in Workstation. Let's see if we can achieve something similar in chef/chef. Signed-off-by: Tim Smith <tsmith@chef.io>
* Fixes all notarization issuesJon Morrow2020-01-231-1/+1
| | | | | | | | | This changes makes the neccessary changes to enable the pkg to pass apples notarization requirements. 1. Update omnibus and omnibus-software to versions that support deep signing 2. Drop 'Developer ID Installer:' from signing key. This lets sigining pick up the correct key for what is being signed. Signed-off-by: Jon Morrow <jmorrow@chef.io>
* Add chef-utils gem with various recipe DSL helpersLamont Granquist2019-11-081-1/+1
| | | | | | | | | | | | | This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md) although some of the specifics have been iterated on and changed. The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged. While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai as well. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Begin signing MSI's with renewed Windows Signing CertSeth Chisamore2019-08-131-2/+2
| | | | Signed-off-by: Seth Chisamore <schisamo@chef.io>
* Update to Chef Infra Client in Add/Remove Programs & Event Loginfra_clientTim Smith2019-05-101-1/+1
| | | | | | Make sure we're Chef Infra Client where the user sees it. Signed-off-by: Tim Smith <tsmith@chef.io>
* Convert EULA to a local fileBryan McLellan2019-05-081-1/+1
| | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Update the omnibus build license to the Chef EULABryan McLellan2019-05-081-2/+2
| | | | | | The resulting distribuions are licensed under the Chef EULA. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Update omnibus to use ruby-cleanup definitionomnibus_defTim Smith2018-10-171-1/+1
| | | | | | This was renamed Signed-off-by: Tim Smith <tsmith@chef.io>