Commit graph

318 commits

Author SHA1 Message Date
Clinton Wolfe
f8c71cf212 Add docker=1 flag
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 19:43:31 -04:00
Clinton Wolfe
cf8bcfb9fa Borrow docker setup script from chef/chef and try a single suite
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 19:30:01 -04:00
Clinton Wolfe
e290877e33 Inline env vars in invocation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 18:15:41 -04:00
Clinton Wolfe
e9c82c62de Correct configuration for pull request trigger for integreation/resources pipeline
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 16:52:29 -04:00
Clinton Wolfe
3178569290 Run resource integration pipeline when opening PRs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 22:39:25 -04:00
Clinton Wolfe
a8298b42b7 Rename test:integration to test:kitchen for clarity in Rakefile
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
099060e38d Seems more stable with concurrency 3, may increase later
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
531abc0f30 Set Kitchenfile path for resource testing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
e8572d96e0 Add buildkite definition for Dokken kitchen jobs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-02 21:00:05 -04:00
Clinton Wolfe
06b81925f5 Add m1 to builder map
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-04 10:17:55 -05:00
Clinton Wolfe
1b2d8bdfdb
Merge pull request #5413 from inspec/cw/update-macos-builder-name 2021-03-01 15:54:13 -05:00
Clinton Wolfe
4ce55fc0ab Switch to MacOS 10.14 builder
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-02-22 15:46:07 -05:00
Clinton Wolfe
cb54fea794 Revert "Use MacOS 10.14 builder"
This reverts commit ed14ab4690.
2021-02-22 15:43:47 -05:00
Clinton Wolfe
ed14ab4690 Use MacOS 10.14 builder
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-02-21 15:19:55 -05:00
Clinton Wolfe
355769a7e9 Remove .0 from macos builder name
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-02-17 15:18:09 -05:00
Tim Smith
79bd1b33be Build arm packages for Debian/SLES/Ubuntu
This matches Infra Client

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-01-14 14:26:39 -08:00
Clinton Wolfe
cbf8d7c60b Re-enable builds on MacOS 10.13 since we have a issue on 10.14
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-12-18 16:57:39 -05:00
Clinton Wolfe
e42c67b8a3
Remove macOS 10.13 from the build matrix 2020-12-10 12:51:32 -05:00
Nick Schwaderer
418c952939 Renames yaml->yml
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-12-02 10:38:36 +00:00
Nick Schwaderer
befaf46fdb Reenabling Docker image builds using Dobi
Signed-off-by: Nick Schwaderer <nicholas.schwaderer@gmail.com>
2020-12-02 10:37:28 +00:00
Clinton Wolfe
db5c39884a Remove Ruby 2.4 from test matrix
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-11-30 14:43:48 -05:00
Tim Smith
a77f1c7460 Remove macOS 10.13 from the build matrix
We support N-2 builds and now that Big Sur is out we can remove 10.13. I also cleaned up the supported platforms in the readme a bit.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-11-23 09:52:32 -08:00
IanMadd
679c3dc903 Update expeditor config
Signed-off-by: IanMadd <imaddaus@chef.io>
2020-09-14 14:09:30 -07:00
Nick Schwaderer
6f1d7499a9 Currently disables feature branch which may be upsetting builder
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-26 14:11:13 +01:00
Christopher A. Snapp
225162c930
Add MacOS 11 Tester
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-08-25 10:56:38 -06:00
Nick Schwaderer
b9e52eebda Create expeditor-development release branch
This will allow us to work with PRs against a non-Master branch to iterate expeditor work

Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-24 10:35:48 +01:00
Tim Smith
39e7f2e2c2
Merge pull request #5197 from inspec/debian_8_eol
Don't build packages for EOL Debian 8
2020-08-20 14:06:30 -07:00
Tim Smith
78b3020d12 Don't build packages for EOL Debian 8
Debian 8 is out of support and we shouldn't produce packages for it anymore.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:48:41 -07:00
Tim Smith
6bf4319065 Update the habitat tests to run on Ruby 2.6.6 as well
Signed-off-by: Tim Smith <tsmith@chef.io>
2020-08-13 13:47:59 -07:00
Nick Schwaderer
975dd1064f Resets expeditor to original settings
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-06 11:52:22 +01:00
Nick Schwaderer
54b1e335fa Enforced bump. Fully allow this to build before merge.
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-05 20:55:45 +01:00
Nick Schwaderer
e35bb84ae7 We require version bumps for expeditor to be read against master
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-05 20:48:39 +01:00
Nick Schwaderer
f0f7bb9937 Try to finish pipeline for 4.22.8 and update cdn purge step
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-08-05 20:14:29 +01:00
Nick Schwaderer
0a800247a4 Fixes expeditor-validate violations
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-24 16:22:43 +01:00
James Stocks
04cfc73805 Remove world readable attribute from /usr/local/bundle
Artifact tests may fail due to warnings about `Insecure world writable dir /usr/local/bundle in PATH` appearing in stderr

Signed-off-by: James Stocks <jstocks@chef.io>
2020-07-17 16:00:26 +01:00
Nick Schwaderer
5dd999229b Pin json_schemer to maintain Ruby 2.4 support
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2020-07-16 13:44:32 +01:00
Christopher A. Snapp
dd513bcd9d
Add Windows 8 Tester
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-06-09 08:38:01 -06:00
James Stocks
697ee1b720 Revert aarch64 build targets
These currently do not build - they need unf_ext 0.0.7.7 and InSpec needs 0.0.7.2

Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-29 13:36:24 +01:00
James Stocks
96488e6ab2
Merge pull request #4981 from inspec/csnapp/add_more_testers
Add several Builders and Testers to Omnibus
2020-05-29 10:42:03 +01:00
James Stocks
4d8fa16d24 Fix expeditor minor bump config
The label configured to trigger a minor version bump does not match the actual label we have configured for the repo.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-22 16:29:00 +01:00
Christopher A. Snapp
6af22311e5
Add Debian 10 (aarch64) Builder/Tester
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:40 -06:00
Christopher A. Snapp
0239783e23
Add SLES 15 (aarch64) Builder/Tester
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:39 -06:00
Christopher A. Snapp
e69662cbed
Add Ubuntu 18.04 + 20.04 (aarch64) Builder/Tester
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:38 -06:00
Christopher A. Snapp
2d89724e77
Add Amazon Linux 2 Testers
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:37 -06:00
Christopher A. Snapp
3ca8dcd4d0
Add el-7 and el-8 aarch64 testers
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-05-13 10:24:36 -06:00
James Stocks
836ef745be
Merge pull request #4969 from inspec/csnapp/add_ubuntu2004
Add Ubuntu 20.04 x86_64 support
2020-04-22 09:20:10 +01:00
Seth Chisamore
3aed2eb54d
Merge pull request #4975 from inspec/schisamo/use-discourse-helper-function
Use Expeditor's built in Bash helper to post release announcement
2020-04-10 13:22:26 -04:00
Christopher A. Snapp
7f851059c8
Add Ubuntu 20.04 x86_64 support
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-04-09 12:24:36 -06:00
Clinton Wolfe
4f61e37395
Fixes for tests under ruby 2.7 (#4970)
Fixes for tests under ruby 2.7
2020-04-09 12:17:53 -04:00
Seth Chisamore
f1aa8917fe
Use Expeditor's built in Bash helper to post release announcement
Signed-off-by: Seth Chisamore <schisamo@chef.io>
2020-04-08 13:43:46 -04:00
Christopher A. Snapp
57ba31cdf2
Add Windows 10 Tester
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2020-04-06 14:06:34 -06:00
Clinton Wolfe
e776337788 Make ruby 2.7 tests meaningful
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-04-06 13:39:17 -04:00
James Stocks
f7d1f75f15 Change S3 URL for fetching ruby+devkit
The S3 bucket URL (https://public-cd-buildkite-cache.s3-us-west-2.amazonaws.com/rubyinstaller-devkit-2.6.5-1-x64.exe) no longer works.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-04-02 17:19:16 +01:00
Ryan Davis
370bab3800 Nope. This is making the hab builds finish in 23 seconds.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-13 14:08:05 -08:00
Ryan Davis
b70aff19c3
Merge pull request #4908 from inspec/zenspider/artifact
Fix hab builds.
2020-02-13 13:25:09 -08:00
Ryan Davis
d47332b5a4 Change habitat/build pipeline to trigger pull_request.
This is yet another pipeline that was made red by the last couple
days' chaos... This should improve visibility and debuggability (sp?).

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-13 13:08:05 -08:00
Ryan Davis
f0b9dde4af I don't think we're ready for StrictMode.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-13 12:42:41 -08:00
Tim Smith
bb2bb06801 Build packages on Debian
We build our other products on Debian. Why not?

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-02-12 09:55:07 -08:00
Ryan Davis
3c9c2b4b1f Get stricter about error handling in powershell.
Still doesn't do anything about subcmds failing. Those have to be
manually checked.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-11 15:46:03 -08:00
Ryan Davis
dc3d0728c6 artifact-habitat should be triggered via PR.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-10 18:34:00 -08:00
Ryan Davis
e8b6ff219f Turn off interactive and coloring for hab builds.
Our logs on BK were >1mb.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-10 18:34:00 -08:00
Ryan Davis
947365719a Fix artifact-habitat testing for inspec.
Needed a fallback on `ENV["project_root"]` not being defined.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-10 18:34:00 -08:00
Tim Smith
70723000a8 Pull Ruby installer for windows from S3 not GitHub
This should prevent failures when we get throttled pulling it from GitHub.

Signed-off-by: Tim Smith <tsmith@chef.io>
2020-02-05 10:26:24 -08:00
Ryan Davis
b2d1b12600 Fix up indentation of .expeditor config according to yamllint.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-04 12:58:58 -08:00
Ryan Davis
0cd73994da Might as well do it for hab artifact as well.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-03 17:16:11 -08:00
Ryan Davis
65a0f09add Habitat builds blow up enough that we should try again.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-03 17:15:06 -08:00
Ryan Davis
cf286daa43 While we're in here... let's trigger artifact/habitat on PRs
Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-01-30 16:53:10 -08:00
Ryan Davis
c376a813b2 Remove -stretch from all our ruby images... just cleaner. no real reason.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-31 14:52:33 -08:00
Ryan Davis
3139392f1f Get on official ruby 2.7.0
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-31 14:52:33 -08:00
Miah Johnson
dc278348b6
Merge pull request #4800 from inspec/mj/powershell_is_trash
powershell doesnt care if 'regular executables' fail
2019-12-18 12:13:55 -08:00
Miah Johnson
524413edef powershell doesnt care if 'regular executables' fail
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-18 12:12:05 -08:00
Ryan Davis
40a3c94e84 Make 2.7 a soft failure again.
The latest rubygems+bundler snafu caused us to roll back to rubygems
3.0.6, which doesn't have 2.7 fixes in place and that causes some of
our functional tests to run noisy.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-16 13:47:25 -08:00
Ryan Davis
8cda44bdb8 Remove the Gemfile.lock diffing to make BK output cleaner.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-16 13:24:04 -08:00
Ryan Davis
8327e35473 Latest version of rubygems is starting to blow up because of bundler executable overwrite warnings
Sticking to 3.0.6 for now.
2019-12-16 13:17:14 -08:00
Miah Johnson
dfa2b3bbac
Merge pull request #4784 from inspec/mj/cc1211
sum-coverage doesnt have -t
2019-12-11 17:36:22 -08:00
Miah Johnson
b163e8575c
Merge pull request #4785 from inspec/zenspider/exp/ignores
Fixed expeditor ignore_labels for habitat and omnibus.
2019-12-11 17:36:04 -08:00
Ryan Davis
15b6f5ea7e Fixed expeditor ignore_labels for habitat and omnibus.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-11 16:45:55 -08:00
Miah Johnson
93670a7738 sum-coverage doesnt have -t
Error: unknown shorthand flag: 't' in -t
Usage:
  cc-test-reporter sum-coverage [flags]

Flags:
  -o, --output string   output path (default "coverage/codeclimate.json")
  -p, --parts int       total number of parts to sum

Global Flags:
  -d, --debug   run in debug mode

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-11 16:39:34 -08:00
Miah Johnson
0474d81659 yamllint to fix config maybe?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-11 13:30:02 -08:00
Ryan Davis
c3efba6b12 Fixed against broken master
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-10 18:26:32 -08:00
Miah Johnson
66fbe4d907
Merge pull request #4776 from inspec/mj/debug
something wonky going on with /tmp, lets debug
2019-12-10 13:41:46 -08:00
Miah Johnson
d58c67acd3 lets just look at /tmp
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-10 13:35:45 -08:00
Miah Johnson
878a5ff880 something wonky going on with /tmp, lets debug
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-10 13:19:25 -08:00
Ryan Davis
7cfca95799
Merge pull request #4761 from inspec/mj/sum-coverage
sum multiple test runs together for codeclimate
2019-12-05 16:25:49 -08:00
Ryan Davis
e5318f3564 Refactor BK verify script so we can reuse bundle caching across projects easily.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-05 12:17:57 -08:00
Ryan Davis
933c95e27f Split lint to its own step and let all the others just run tests.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-04 12:25:29 -08:00
Ryan Davis
1e2a4e3734
Merge pull request #4755 from inspec/zenspider/fix-bundle-caching
Fix buildkite bundle caching
2019-12-04 12:22:44 -08:00
Miah Johnson
05380a654e sum coverage from parallelized tests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-12-03 19:08:45 -08:00
Ryan Davis
14e835e4cc Attempt to fix bundle caching.
Unfortunately, I can only test this via commits to BK...

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-03 15:36:06 -08:00
Ryan Davis
c73569fe6b Updated vars for minitest changes.
N -> MT_CPU

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-03 15:01:35 -08:00
Ryan Davis
e1966973cc Added SKIP_BUNDLE_CACHE var to .expeditor/buildkite/verify.sh
This lets me test our docker setup locally much quicker as I don't
have to time out on the aws s3 push/pull steps.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-12-03 15:00:21 -08:00
Miah Johnson
7a837e16d1
Merge pull request #4745 from inspec/mj/cc-coverage
Enable Codeclimate Test Coverage
2019-12-02 13:27:00 -08:00
Miah Johnson
fe8f868504 dont set a default simplecov format; we do that elsewhere.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-28 00:53:22 -08:00
Miah Johnson
64e444883c change order?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 22:43:27 -08:00
Miah Johnson
6d0abf2980 clean up output
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 22:38:32 -08:00
Miah Johnson
12329cf48a this was listed twice?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 22:38:20 -08:00
Miah Johnson
9db7b70e30 remove coveralls; all we need is simplecov
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 22:12:48 -08:00
Miah Johnson
d3b7a82cd6 trigger coverage on pull requests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 21:04:44 -08:00
Miah Johnson
144081eab5 execute test
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 20:51:53 -08:00
Miah Johnson
726be2fa7a update perm
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-27 20:45:57 -08:00