Commit graph

14 commits

Author SHA1 Message Date
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
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
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
544db45c5e Untested and probably broken test scripts =)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 20:05:12 -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
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
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
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
b0430b6ade Lets put scripts under buildkite directory
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-10 12:34:25 -07:00