Commit graph

34 commits

Author SHA1 Message Date
Clinton Wolfe
d8200f8539
CI - Use License Key and API Key Secrets from Vault (#26)
* Enable secrets mode on verify pipelines, which apparently works on ruby3.0 image anyway on coverage pipeline

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Fetch chef licensing server and API key from vault, linux implementation

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Fetch chef licensing server and API key from vault, windows implementation

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* Add diagnostic to test whether API key has been set and exit if not

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Secrets missed on two jobs

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add diagnostic to test whether API key has been set on windows

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* Add license key to env var list and gate verify pipeline on it

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-03-23 14:47:02 -04:00
Vasundhara Jagdale
2e50b11ced
Remove Windows 3.0 testing. Chef 18 was never released for Ruby 3.0, only 3.1 (#6330) (#6452)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 15:10:01 +05:30
jayashrig158
542b9cc246 add ruby test 3.1 in verify pipeline (#5892)
* add ruby test 3.1 in verify pipeline

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* updating rubygem to 3.3.3

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* Test fixture plugin files for ABI 3.1.0

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Use kwargs to match new calling style for ERB in ruby 2.7 and 3.0

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Allow Date and Time data types, needed for waivers, since safe load is now the default for YAML

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Use Time.parse, not Time.new since the rules tightened for what you can pass the constructor for waiver dates

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add ruby platform debug message to test parallel output

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Conditionalize permitted_classes in inputs yaml_load for <= 3.1.x only

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* In ruby 3.1.0 net/pop3 is no more a default gem and that will require us to add it in Gemfile so trying with the byebug gem which we are bundling already

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* CFINSPEC-166 Updated url fetcher to handle Net::OpenTimeout Exception on Windows

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-14 16:07:08 +05:30
Clinton Wolfe
2b0d804e6c Extend CI test timeout to 60 minutes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-23 19:30:38 -04:00
Clinton Wolfe
ef72d3adac Move coverage tests to its own pipeline to keep verify pipeline public
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-17 15:16:44 -05:00
Clinton Wolfe
92fbf304ae Run coverage tests on ruby 3.0, not 2.7
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-17 13:33:25 -05:00
Clinton Wolfe
2d762f40ab Setup sonarscanner
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-17 13:31:52 -05:00
Vasu1105
0b791bc12c Remove ruby 2.6 test.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
Vasu1105
d2d0b0535c Updated verify pipeline to run test on windows with ruby 3.0
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
Vasu1105
f501276ea1 Updated verify pipeline to run isolated test on ruby 3
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
Vasu1105
e01f872f92 Update verify pipeline to run test on ruby 3
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
Vasu1105
fa56a87401 expeditor update lint to ruby 3
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
Clinton Wolfe
969c7de712 Set enable coverage flag for 2.7 tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-06 22:23:08 -05:00
Tim Smith
48ff852289 Remove support for EOL Ruby 2.5
With the release of Ruby 3.1, Ruby 2.5 is now EOL. We should not be supporting an EOL release of Ruby.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-12-31 22:54:53 -05: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
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
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
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
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
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
5f13819ca5 Make 2.7 failures real
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-27 15:42:52 -08: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
bcca77d6a4 Add ruby 2.7 preview
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:25:30 -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
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
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
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
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
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
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
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