summaryrefslogtreecommitdiff
path: root/omnibus/omnibus-test.sh
Commit message (Collapse)AuthorAgeFilesLines
* add esoteric platforms to validate adhoc/release pipelines (#13546)Evan Ahlberg2023-02-071-2/+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>
* fix adhoc pipelines and centos 6 omnibus test (#13530)Evan Ahlberg2023-02-021-13/+2
| | | | | | | * fix adhoc pipelines and centos 6 omnibus test * run on all validate/ pipelines * fix aws credentials on windows for canary Signed-off-by: Evan Ahlberg <evanahlberg@gmail.com>
* update verify pipeline and omnibus build/test to use containers (#13489)Evan Ahlberg2023-01-231-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Do not test for knife symlinklcg/symlink-knifeLamont Granquist2021-09-201-5/+0
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove pipeline-specific logic from test scriptstduffield/remove-install-logic-17Tom Duffield2021-04-231-38/+5
| | | | | | | This logic has been moved into the Omnibus Buildkite Plugin. These scripts can now be used outside of the Buildkite pipelines. Signed-off-by: Tom Duffield <github@tomduffield.com>
* Update tests to handle local omnibus packages from Buildkite artifacts apiNathaniel Kierpiec2021-04-161-1/+6
| | | | Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
* Remove rspec_junit_formatter gem.Pete Higgins2020-10-291-1/+1
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Enable rspec --profile in the omnibus testsLamont Granquist2020-08-191-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add unit and integration testing back to omnibus testersLamont Granquist2020-08-171-18/+11
| | | | | | It is slow but it does catch real bugs Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Speed up our bundle installs by always running 3 jobsfaster_bundler_installsTim Smith2020-08-041-1/+1
| | | | | | | multi-job bundle install is the default in the next release, but for now we should make sure we set it everywhere. Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix a typo.Pete Higgins2020-05-181-1/+1
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* remove support for SLES11dheerajd-msys2020-04-131-1/+1
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* revert back to only functional testingLamont Granquist2019-12-151-4/+2
| | | | | | | i'm not going to have time to figure out why the unit + integ tests are still busted before vacation. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* run functional tests before unitsLamont Granquist2019-12-131-1/+1
| | | | | | we seem to sadly have some tight coupling. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* try unit + functional testsLamont Granquist2019-12-131-2/+2
| | | | | | | integration tests have license-acceptance issues that i wasn't able to figure out last night Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Revert "try unit + functional tests"Lamont Granquist2019-12-131-2/+2
| | | | This reverts commit d75137590c6a1e138c02f5a42f8c9e12732c94c7.
* try unit + functional testsLamont Granquist2019-12-131-2/+2
| | | | | | | integration tests have license-acceptance issues that i wasn't able to figure out last night Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* omnibus tests need to accept the licenseLamont Granquist2019-12-131-0/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix mac_user breakage and loggingLamont Granquist2019-12-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | We need more defensive coding around the absense of the ShadowData. Unfortunately I wasn't able to fix the tests on my mac where this happens, and don't know how to introduce tests that would fail on buildkite, so we have no coverage for this. Testing was done manually on the CLI. Also removed some useless converge_by statements that were effectively double-logging. The methods that the converge_by's were in are already wrapped by converge_by's in the superclass so the resource is already "dirty" in the sense that it knows that it is being updated, and the log message that e.g. the user is being removed is already being printed. Some of the sub-action logging with sub-converge_by's here is still good since it shows the details of how the user is being added or removed or modified which makes sense (still sort of abusing converge_by to get only logging, but that doesn't matter because we're in a block where we MUST be updating the resource anyway). This commit also re-adds testing of unit+integration testing to the omnibus pipeline. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Revert the zypper test failures fixJeremiah Snapp2019-08-081-12/+0
| | | | | | | We don't need this fix anymore. Updating the test systems resolved the issue. Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
* Fix zypper test failuresjsinha/fix_ec2_slesJaymala Sinha2019-07-261-1/+13
| | | | | | | | Resolve error from kill for leftover rspec processes Cloud testers have as many as 10 zypper repos configured and enabled, so the zypper searches from specs take longer to run on our testers as too many repos with most of them enabled were slowing down the zypper process, locking it during the test runs and failing the zypper package functional tests. Since we do not use these repos in our testing we delete them. Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* only check for the embedded/bin file being thereLamont Granquist2019-07-181-2/+2
| | | | | | | | we've never wired up the symlinks, they should be owned by the inspec package instead. we require these to exist though and this catches if inspec-core-bin slips out of the installed gemfile. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* test that inspec binstub is in the omnibus artifactlcg/inspec-bin-testLamont Granquist2019-07-171-0/+5
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Make sure ruby environment variables are unset in omnibus-test.* scriptsJeremiah Snapp2019-06-241-0/+19
| | | | Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
* Make omnibus-test.sh use appropriate toolchainJeremiah Snapp2019-06-211-3/+5
| | | | Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
* Improvements to omnibus buildkite pipelinesnappj/improve-omnibus-buildkite-pipelineJeremiah Snapp2019-06-191-11/+109
| | | | | | | | | Enable all platforms in omnibus buildkite pipeline. Port appropriate functionality from ci/verify-chef.* scripts to the new omnibus/omnibus-test.* scripts. Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
* Add PROJECT_NAME to omnibus-test scriptsJaymala Sinha2019-04-081-0/+1
| | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Create omnibus buildkite pipelinesJeremiah Snapp2019-04-051-0/+32
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>