Commit graph

318 commits

Author SHA1 Message Date
jayashrig158
ffbf2ff554
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-13 14:24:33 -04:00
Clinton Wolfe
6d23f817d0 Add inspec-6 branch as release branch
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-13 13:51:58 -04:00
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
d845e06e48 Enable habitat builds
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-09 17:59:34 -05:00
Clinton Wolfe
1f19caa68c Disable habitat build and artifact pipeline defs, too
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 17:13:09 -05:00
Clinton Wolfe
406552a154 Temporarily disable habitat builds to unbreak the pipeline
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 16:56:40 -05:00
Clinton Wolfe
76d14188f1 Disable resource integration tests, which always fail
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-03 11:31:55 -05:00
Clinton Wolfe
275eb2b2f9
Merge pull request #5872 from inspec/cw/set-coverage-location
CFINSPEC-39 Set sonarscanner options using properties file
2022-02-27 19:58:09 -05:00
Clinton Wolfe
d9e11b0d86 Delete vendor (installed gems) dir before running sonarscanner
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-27 19:14:30 -05:00
Clinton Wolfe
08362f0811 Set file exclusions and project ID in properties file
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-24 10:48:04 -05:00
Clinton Wolfe
6800ae807a fixed missing colon
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-20 19:25:02 -05:00
Clinton Wolfe
ffe5d06722 Always expire the git cache when running omnibus jobs
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-20 19:19:07 -05:00
Clinton Wolfe
2f7411d42a Make sure verify pipeline is marked public
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-17 16:29:30 -05: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
4d04d525e1 Move vault fetch to happen early to avoid vault token expiry
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-17 14:15:50 -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
Clinton Wolfe
f8eb07c6f0
Merge pull request #5822 from inspec/vasundhara/ruby-3-support
CFINSPEC-17 Ruby 3 support
2022-02-16 09:56:21 -05:00
Vasu1105
722237652c CFINSPEC-38 Adds label in expeditor configuration file for major version bump.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-14 11:44:18 +05:30
Vasu1105
d1d5058896 CFINSPEC-38 Rename the stable branch to Inspec-4
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-11 17:56:45 +05:30
Vasu1105
0f4e4ff349 CFINSPEC-17 Update plan.sh to get ruby 3 pkg and let validate habitat build for ruby 3
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 22:12:58 +05:30
Vasu1105
35a95cb181 CFINSPEC-17 Update habitat artifact file to run with ruby 2.7 and 3.0.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 15:43:02 +05:30
Vasu1105
67bb4b2f0c CFINSPEC-38 Remove the branches that we are not going to maintain.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 12:14:36 +05:30
Vasu1105
76089bc599 CFINSPEC-38 Adds new release branch for InSpec 5 release.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:34:13 +05:30
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
Clinton Wolfe
ec1e49ff4a
Merge pull request #5773 from inspec/im/downloads_links
Fix downloads links
2022-01-09 20:14:45 -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
Ian Maddaus
5ac9c9ea7f Fix downloads links
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2021-12-20 17:53:29 -05:00
Clinton Wolfe
8a778e7f5c
Merge pull request #5716 from inspec/10.14
Stop producing packages for macOS 10.14
2021-12-01 11:27:13 -05:00
Collin McNeese
7b5b5db3ab
Updates habitat test for windows to match install logic for linux
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-11-11 12:03:42 -06:00
Tim Smith
7ce98491cd Stop producing packages for macOS 10.14
We support N-2 macOS releases which is now 12, 11, and 10.15

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-11-09 12:32:24 -08:00
Tim Smith
8c0d6b0ef0 Add back Ubuntu 16.04 packages + testing
Ubuntu 16.04 is no longer EOL. They've extended support for a full 10 years so it goes EOL in 2026 now.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-10-02 16:56:53 -07:00
Clinton Wolfe
eb9a12d501
Merge pull request #5673 from inspec/tduffield/4-promotion-fix
Specify promotion actions in .expeditor/config.yml
2021-09-28 00:42:32 -04:00
Tim Smith
c3587512b7 Build packages for debian 11, macos 12, windows 11/2022
Get closer to the same platform suppport as infra client.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-09-25 20:14:43 -07:00
Tom Duffield
2c7b72b1ba
Specify promotion actions in .expeditor/config.yml
Signed-off-by: Tom Duffield <github@tomduffield.com>
2021-09-22 09:12:13 -05:00
kagarmoe
fb2319f499 Fix main in expeditor script
Signed-off-by: kagarmoe <kgarmoe@chef.io>
2021-09-20 11:12:29 -07:00
jayashri garud
aa72a9be6b Replace deprecated --without flag with bundle config
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
2021-09-02 16:17:15 +05:30
chef-expeditor[bot]
7415fc11d0
Updating references of master to main as part of Expeditor agent rename. 2021-08-24 15:38:04 +00:00
jayashri garud
5528315d28 Updating expeditor configuration
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
2021-06-28 17:55:21 +05:30
Clinton Wolfe
2812f18438
Merge pull request #5533 from inspec/cw/add-ubuntu-to-fips
Add Ubuntu to list of FIPS platforms
2021-05-31 18:48:02 -04:00
Clinton Wolfe
23e1bd2de0 Add Ubunutu to list of FIPS platforms
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-19 20:59:08 -04:00
Clinton Wolfe
d79cec41a9 Drop EOL Ubuntu 16.04, build on 18.04
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-19 20:55:19 -04:00
Clinton Wolfe
25f0099ca0 Add explicit RHEL8 builders
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 18:05:31 -04:00
Clinton Wolfe
6b4a55aa35 Remove coverage testing from CI
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 20:58:48 -04:00
Clinton Wolfe
eb5615dd43 Add remaining platforms as separate steps
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-03 20:00:38 -04:00