Commit graph

110 commits

Author SHA1 Message Date
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
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