Commit graph

356 commits

Author SHA1 Message Date
Miah Johnson
549e3c196e
Merge pull request #4675 from inspec/mj/hab1101
Get artifact/habitat starting tests on both Windows and Linux
2019-11-07 12:13:31 -08:00
Miah Johnson
13a1c30ba6 Corret build scripts
correct path to hab artifact
Rather than throwing, lets try to install the version
Make sure hab is in the path
we use -b on windows. lets be consistent
export project_root too
picardface
fix regex
execute rake _through_ habitat
make test vrooom
test presence of inspec
strip out clixml bs
... no which on bk.
full path to which
export PATH
test exist on linux/windows

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 10:09:35 -08:00
Miah Johnson
9eff871be1 crossing fingers
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-06 14:20:27 -08:00
Ryan Davis
bbba778980 Tentative buildkite setup. Not activated yet.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-05 16:05:18 -08:00
Ryan Davis
d608cc54b0
Merge pull request #4660 from inspec/zenspider/artifact-caching-fixes
Fix false positives on bundle caching check in buildkite.
2019-11-04 13:12:24 -08:00
Miah Johnson
8e4a00693f lets try to reuse these?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 18:32:54 -07:00
Miah Johnson
df113b92d2 comet
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
503ac7dd7d are we getting our ps1 sourced?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
388f761720 use $project_root in powershell
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d4badc6ad3 set up binlink in shell script
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
c6b488c62f the last_build.env script doesn't expor its variables..
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
26a46cc886 debug windows
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a2122753f0 does it execute?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
b8c96fb928 let sudo call a program instead of shell magic
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
10bce134e8 will probably need to quote this but...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
155aa3ee1b nightmare in /bin/sh
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
414a0df21e sHELL scripts
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
cedc866d29 finish!
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
4ea5d4bfb1 quotes are hard
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
1d5ee76c75 timing
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
0619d85ba6 d
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d26b43fdd2 c
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
df7b1a404f bad
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
22735fa1b2 bad movies
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
85aa6d4142 .
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
9a04b34d2a ...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d2c823fae6 plah
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
f0fca98964 please
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a79120900f terrible movies
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
954815fc0f i lost hab?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
7caa1fb8d2 hi
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
1c93fba32c import key from ci user
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
75a9692dbe im lost
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
cbb1ae8593 Lets try importing our key
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
8e5a63bf6b Make sure sudo passes our ENV
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a96075cfe1 HAB_LICENSE too
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
f012c6438c correct path on windows
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
ce16c93d97 accept license
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
e8dc525375 sudo make me a installed package
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
003972ed32 I thought I was in a priviledged environment:
```
but ✗✗✗ Permission denied (os error 13)
```

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d09c5cb9aa This should be .env
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
35fc664184 .sh -> .env
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
36763a6026 maybe?
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
f9a8fd84da further debug
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
34c13c7732 don't have tree
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
32521c098c debug a bit
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
af66adc6db I think last_build.sh should be last_build.env..
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
44384b6c13 results is in /src/results; update path.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
44aedcf3bd Fix path to test scripts
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Ryan Davis
d6843db397 Fix false positives on bundle caching check in buildkite.
+ This adds RESET_BUNDLE_CACHE so we can forcibly reset.
+ Now computes the sha against the Gemfile.lock.
+ Other minor fixes as pointed out by shellcheck.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-31 16:53:20 -07:00
Ryan Davis
40f54eb98b
Merge pull request #4626 from inspec/zenspider/root-user
Create a user 'normal' and use it to run tests. Also bundle caching.
2019-10-29 13:13:39 -07:00
Miah Johnson
1e292adc42
Merge pull request #4600 from inspec/mj/4588
Add ruby 2.7 preview
2019-10-23 17:19:06 -07:00
Ryan Davis
3cc4b4d0b4 Add buildkite caching to our verify pipeline.
I'm not sure why we're doing this ourselves instead of using
buildkite's own artifact caching, but that's fine.

This speeds up the "bundle install" phase from ~3m to ~20s.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-22 17:44:41 -07:00
Ryan Davis
c93d61da1c Add a non-root user for testing on BK.
Unfortunately, we have a lot of failing tests when we run as a
non-root user and the files are owned by root. We can't chmod the
checkout to the non-root user as it is a shared mount in docker and
that's not allowed to the outside world.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-22 17:40:41 -07:00
Miah Johnson
3c908b4c1b Make our 2.7 test always return true
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-22 14:08:52 -07:00
Miah Johnson
6aac679c54
Merge pull request #4620 from inspec/mj/hfp
Fix the path for our scripts, I don't know where I got /workdir
2019-10-18 15:12:46 -07:00
Miah Johnson
cb4007c15f Fix the path for our scripts, I don't know where I got /workdir
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-18 15:10:53 -07:00
Miah Johnson
b5bd3b42f7 Make shell script executable
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-18 13:48:47 -07:00
Miah Johnson
a0ef46ccf4 Stop using reserved pipelines with default triggers.
The pipeline prefixes: deploy, habitat, omnibus, and verify all have default
triggers associtated with them.

https://expeditor.chef.io/docs/reference/configuration/#pipelines

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-18 12:14:26 -07:00
Miah Johnson
8968f89d5d Dont trigger yet
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 14:37:14 -07:00
Miah Johnson
cb001d8654 Empty resources yml until I build it.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 14:26:51 -07:00
Miah Johnson
0ccd26ef84
Merge pull request #4599 from inspec/mj/habitat-pipeline
Add habitat/test pipeline for testing our habitat builds.
2019-10-17 13:55:04 -07:00
Miah Johnson
406d9e4d59 We only need to install a specific hab version on Windows
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 12:57:03 -07:00
Miah Johnson
427d8dbac0 By not declaring a version we get the default, which is 2019.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 10:41:59 -07:00
Miah Johnson
227a97991d Add blank pipeline to allow iteration in next PR
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:53:05 -07:00
Miah Johnson
633a1a1d79 Add pipeline to manage test kitchen builds and a trigger
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:43:15 -07:00
Miah Johnson
bcca77d6a4 Add ruby 2.7 preview
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:25:30 -07:00
Miah Johnson
005bca0f45 copy-pasta
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 20:13:54 -07:00
Miah Johnson
544db45c5e Untested and probably broken test scripts =)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 20:05:12 -07:00
Miah Johnson
002e274d8e Pipeline definition for testing habitat builds
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 19:56:47 -07:00
Miah Johnson
498cbb7e84 Add a test pipeline for habitat builds.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 18:25:29 -07:00
Miah Johnson
5591733c2a
Merge pull request #4544 from inspec/mj/please
Pass access token
2019-09-30 15:40:05 -07:00
Miah Johnson
ae54ada65e Pass access token
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-30 15:37:50 -07:00
Ryan Davis
9671f75f9a Let's see how our BK setup likes parallelization.
According to @tom, we have some seriously beefy aws instances on both
linux and windows (4 times beefier than linux!). Let's see what this does.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-18 14:47:41 -07:00
Ryan Davis
6b72ca2655
Merge pull request #4480 from inspec/zenspider/isolate
Added test:isolate task that runs tests isolated but in parallel.
2019-09-16 17:01:54 -07:00
Ryan Davis
fe97c3a4c3 Added new pipeline to check all tests work in isolation.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-13 17:14:32 -07:00
Ryan Davis
1c1211ea36
Merge pull request #4487 from inspec/mj/ghe
Tweak expeditor configuration for PR template and auto assignment
2019-09-13 13:26:16 -07:00
Miah Johnson
30bc9969a2 Tweak expeditor configuration for PR template and auto assignment
Allow expeditor to automatically assign PR's opened by the team.
Prevent expeditor from posting pull_request template on PR's opened by the team.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-09-13 11:06:23 -07:00
Ryan Davis
8567d8641e Update rubygems and use gem env for system details.
Travis used to update rubygems to the latest version before doing
anything else. We don't on BK and I just found a rubygems specific bug
that would have been exposed by this.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-09-11 16:20:19 -07:00
Jeremiah Snapp
5aa2d0f609 Build omnibus and habitat packages only if version was bumped
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-09-05 15:30:37 -04:00
Miah Johnson
25a8390cae
Merge pull request #4421 from inspec/jsinha/update_macos
Deprecate macOS 10.12 and add macOS 10.15 support
2019-08-29 12:10:43 -07:00
Miah Johnson
ae02dd63a2 Update with suggestions.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-08-28 14:38:29 -07:00
Miah Johnson
d7f2e98dda Minor cleanup
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-08-28 11:47:06 -07:00
Miah Johnson
0613772419 Let expeditor respond to pull requests.
closes 4429

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-08-28 11:19:41 -07:00
Jaymala Sinha
d143a406b9 Deprecate macOS 10.12 and add macOS 10.15 support
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2019-08-27 11:28:09 -04:00
Miah Johnson
6396f25b0d
Merge pull request #4380 from inspec/zenspider/oops
I didn't get the BK setup right, nor did the verification check this.
2019-08-08 15:28:09 -07:00
Ryan Davis
e41aa4657f I didn't get the BK setup right, nor did the verification check this.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-08 15:26:04 -07:00
Clinton Wolfe
25f9c1c845
Fix Docker builds (#4373)
Fix Docker builds
2019-08-08 16:58:10 -04:00
Seth Chisamore
5c7bf13e5f
Stop building Chef InSpec on SLES 11
As of March 31st 2019, SLES 11 is no longer generally supported. Per our
support process we will no longer officially support SLES 11.

See https://docs.chef.io/platforms.html#platform-end-of-life-policy

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-08-08 10:57:10 -04:00
Tom Duffield
378b1d15d5
Fix the Dockerfile updating script
Normally the latest stable version would be hardcoded into the
Dockerfile, but the update_version.sh script was not updated to use
the new `EXPEDITOR_` prefixed environment variable. This fixes the
script and the Dockerfile.

Signed-off-by: Tom Duffield <tom@chef.io>
2019-08-08 09:12:24 -05:00
Ryan Davis
8bece23658
Merge pull request #4369 from inspec/zenspider/retry
Add a retry to expeditor defaults, per shain's advice.
2019-08-07 19:39:25 -07:00
Ryan Davis
6f8d5c095d Add a retry to expeditor defaults, per shain's advice.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-08-07 11:21:42 -07:00
Miah Johnson
758ac81269 Only bump versions when we modify InSpec.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-31 10:55:33 -07:00
Miah Johnson
9163476dee Add integration pipelines, and a schedule (it does nothing)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 14:37:40 -07:00
Clinton Wolfe
ad2f1412dc
Change expeditor timeout from 30 to 45. (#4335)
Change expeditor timeout from 30 to 45.
2019-07-29 13:01:51 -04:00
Ryan Davis
6749313b56 Change expeditor timeout from 30 to 45.
Master is red right now because of windows builds.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-27 14:12:56 -07:00
Ryan Davis
84d648d891 Make sure that bad test runs actually fail out BK.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-24 19:02:53 -07:00
Miah Johnson
0897d460f6 Add windows to verify pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-22 19:08:41 -07:00
Miah Johnson
957fa0d944 Create private pipelines for website management.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-17 17:23:25 -07:00
Ryan Davis
7bb9ed1676
Merge pull request #4312 from inspec/schisamo/release-notes
Automatically publish release notes and announce releases
2019-07-17 16:15:27 -06:00
Seth Chisamore
7be16359f2
Automatically publish release notes and announce releases
This change updates InSpec begin using the streamlined release notes
process we are already using on Automate and Chef Workstation. More
details on this new process can be found on the following epic:
https://github.com/chef/release-engineering/issues/692

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-07-17 17:57:59 -04:00
Jaymala Sinha
a853d46abd Enable Windows 2019 packages
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2019-07-17 13:26:01 -04:00
Ryan Davis
4862327ccf
Merge pull request #4308 from inspec/zenspider/buildkite/green
LANG should have gone into coverage as wel
2019-07-16 12:14:40 -06:00
Ryan Davis
04c1363fe7 Oops. This LANG should have gone into coverage as well.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-16 10:25:56 -07:00
Jaymala Sinha
7a4ce4b549 Enable RHEL 8 packages
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
2019-07-16 11:16:14 -04:00
Ryan Davis
f5d0d93121 This should get buildkite green for now.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-15 20:34:59 -07:00
Miah Johnson
faec33ab18 chmod 755 verify.sh
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-10 12:41:15 -07:00
Miah Johnson
d686190466 Use the verify.sh script
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-10 12:38:24 -07:00
Miah Johnson
b0430b6ade Lets put scripts under buildkite directory
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-10 12:34:25 -07:00
Miah Johnson
a7025a6652 Script to execute tests through verify pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-10 12:32:22 -07:00
Miah Johnson
218e679ade use --- and +++ to improve the log view on buildkite
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-09 18:18:30 -07:00
Miah Johnson
0ea1ae291c 30 minute timeout
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-08 17:01:53 -07:00
Miah Johnson
ae1e0469cf 30 minute timeout
command -> commands

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 15:01:27 -07:00
Miah Johnson
cc63281ca2 skip lint, just run tests
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 15:01:27 -07:00
Tom Duffield
4822ee6e2a
Use correct indentation levels in .expeditor/config.yml
Signed-off-by: Tom Duffield <tom@chef.io>
2019-07-05 16:46:09 -05:00
Miah Johnson
1fa2d0c607 yamllint on main expeditor config
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 14:03:12 -07:00
Miah Johnson
d6a2d1d7a0 yamllint configs
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 13:58:39 -07:00
Miah Johnson
904081d44b Add test coverage to pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 13:37:13 -07:00
Miah Johnson
1658ce419a maintainer_group is deprecated
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 13:12:20 -07:00
Miah Johnson
3693271fb6 properly declare environment variable
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-05 13:06:12 -07:00
Miah Johnson
915341e1df Add steps to verify pipeline
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-03 16:41:11 -07:00
Miah Johnson
8082dd17c4 Add a verify pipeline to buildkite
Add environment variables to the verify pipeline

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-03 16:35:40 -07:00
Christopher A. Snapp
4d26955b0c
remove ubuntu 14.04 from expeditor
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
2019-07-03 15:54:13 -04:00
Clinton Wolfe
2f756b6530 Update quoting in update-version
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-17 11:26:03 -04:00
Clinton Wolfe
a5794e2097 Add inspec-core-bin as a gem
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-06-10 17:02:30 -04:00
Jeremiah Snapp
a0add503c4 Replace Jenkins omnibus build/test pipeline with Buildkite
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-05-31 14:21:08 -04:00
Miah Johnson
f7c667654a Configure expeditor to delete the branch after it is merged.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-03 15:35:31 -07:00
tyler-ball
5ac54d85e9 Accidently not updating main InSpec version via Expeditor
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-29 17:53:41 -06:00
tyler-ball
60125d890b Habitat should install inspec-bin and activate inspec from that
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-29 15:47:26 -06:00
Clinton Wolfe
d448fdcb8d version updating works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:09 -06:00
Clinton Wolfe
84cab416fe Update expeditor release config for v4
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-08 15:23:46 -04:00
Jeremiah Snapp
e27b38fbb7 Create omnibus buildkite pipelines
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-04-04 12:29:01 -04:00
Tom Duffield
a3b90aa1f3 Migrate to using the buildkite-based Habitat build pipelines
Signed-off-by: Tom Duffield <tom@chef.io>
2019-04-02 15:25:47 -05:00
Clinton Wolfe
3ed43bc652 Adds a v4 release to the expeditor config
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-14 23:04:23 -05:00
Tim Smith
4d881b90f3 Note the correct expeditor URL in the config comment
Point to the new docs page.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-02-13 15:53:32 -08:00
Tom Duffield
6a1a3ff926 Subscribe only to artifacts for release branch
We do not want to take actions on 'master' (Inspec 3) when Inspec 1 and
Inspec 2 changes are made.

Signed-off-by: Tom Duffield <tom@chef.io>
2019-02-11 17:12:24 -06:00
Clinton Wolfe
d58e841f3d Add the 2.x branch to expeditor
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-07 20:51:24 -05:00
Seth Chisamore
026c7963d3
Promote Hab package alongside Omnibus package
This change ensures we are promoting our Hab packages to `current` and
`stable` at the same time we execute said promotions for the Omnibus
packages.

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2019-01-15 16:16:41 -05:00
Jared Quick
cb123551ef
Bump master branch to 3.0 (#3514)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-15 19:47:40 -04:00
Jared Quick
e876de45d1 Update expeditor to use subscriptions (#3372)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-07 12:58:11 -04:00
Jared Quick
c67bab780a
Fix expeditor action order. (#3282)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-08-09 11:04:40 -04:00
Jared Quick
bcec1e4dc5
Add inspec-core gem to expeditor. (#3018)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-05-03 10:53:43 -04:00
Bryan McLellan
8967f3b438
Expeditor docs are available over http
Obvious fix
2018-04-11 10:10:24 -04:00
Jared Quick
37f5920be3
Add 1.x and 2.x release branches (#2651)
* Add 1.x and 2.x release branches

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-15 14:50:24 -05:00
Adam Leff
6ccc8aad26
Update expeditor version-update script (#2312)
PR #2311 updated the Rubocop engine to use Ruby 2.3 to evaluate, and
the default behavior is to no longer require `.freeze` to be added
to string literals that are treated like constants. This caused the
pattern match used in the Expeditor version update script to no longer
work.

Also manually fixing the `lib/inspec/version.rb` file to be correct.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-16 11:59:00 -05:00
Adam Leff
01b65db6c7 Habitat build works for all versions, eliminates rake (#2301)
The Habitat plan has been modified to support building from the repo
rather than relying on a gem being pushed to RubyGems. This allows
us to build current packages at every merge rather than only pushing to
Habitat Builder when we promote to stable.

This change also enables Expeditor to perform builds for us and removes
the dependency on the rake task as it is no longer needed.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-14 05:01:51 +01:00
Tom Duffield
54136ac408 Use new docker_images config (#2229)
Signed-off-by: Tom Duffield <tom@chef.io>
2017-10-09 12:09:21 -04:00
Adam Leff
79ad513a39 Build and tag docker image via Expeditor (#2144)
* Build and tag docker image via Expeditor

In order to provide Docker images of all unstable, current, and stable
builds of InSpec, and to avoid having to manually publish Docker images
each time we release InSpec, Expeditor will now take care of this for us.

Signed-off-by: Adam Leff <adam@leff.co>
2017-09-14 15:16:29 -04:00
Adam Leff
dbf1d8a889 Fix merge_actions in expeditor config, add create_github_release (#2130)
merge_actions must now be an array rather than a hash. Also adding
the ability for Expeditor to create a GitHub Release entry when
an artifact is promoted to stable.

Signed-off-by: Adam Leff <adam@leff.co>
2017-09-11 11:28:09 -04:00
Tom Duffield
c1e5ed2c61 Update Expeditor config to meet 0.5.0 requirements (#2126)
Signed-off-by: Tom Duffield <tom@chef.io>
2017-09-06 18:14:33 -04:00
Adam Leff
37e68d437d Add expeditor configuration for rubygems (#2090)
This config section was missed and is required in order to properly
push gems during an artifact action.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-18 13:21:32 -04:00
Adam Leff
b09d572624 Publish rubygem via expeditor (#2084)
* Publish rubygem via expeditor

When InSpec is promoted to the `stable` channel, Expeditor will take care of the gem publishing!

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-17 10:53:39 -04:00
Adam Leff
a60071b920 Add changelog categories to expeditor configuration (#2079)
This will allow for four different changelog categories (in addition to the default)
that will be used based on PR label.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-15 17:32:14 -04:00
Adam Leff
15cff043f0 Add label to skip all Expeditor tasks (#2050)
In the event we have a docs-only change or similar which does not necessitate a
version bump, changelog update, or omnibus build, a single label named
`Expeditor: Skip All` can be used rather than adding individual labels.

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-04 01:35:15 +02:00
Adam Leff
279fcb5cff Add changelog rollover on stable promotion (#2033)
With this configuration change, expeditor will add a "latest stable"
section to the changelog automatically whenever we promote InSpec
to the stable channel. All existing changelog entries will remain,
and any additional changelog entries that have been made in newer
versions that are newer than the artifact being promoted will
remain intact.

Signed-off-by: Adam Leff <adam@leff.co>
2017-07-27 18:41:42 -04:00
Seth Chisamore
e06c943599 [JEX-608] Use Expeditor to bump version and trigger release build (#2015)
This change updates this repo to begin using the following standard
behavior from Expeditor following a merge to the master branch:

* Automatically bump the `PATCH` version in the `VERSION` file (see https://git.io/vQQYR)
* Create a git tag for the new version (see https://git.io/vQQYR)
* Trigger a release build on manhattan.ci.chef.co using the new tag (see https://git.io/vQQY1)
* Automatically update CHANGELOG (coming soon...the `built_in:update_changelog` merge action is in development)

More details on Expeditor can be found at:
https://github.com/chef/es-lita/tree/master/lita-expeditor

Signed-off-by: Seth Chisamore <schisamo@chef.io>
2017-07-24 12:11:25 -04:00