Commit graph

329 commits

Author SHA1 Message Date
Clinton Wolfe
1d8a2fcaa2 Sync changes from inspec-6 CI adjustments
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-07 15:39:51 -04:00
Clinton Wolfe
e998658b7b
Drop testing on EOL ruby 2.7, and run linter on Ruby 3.1 (#76)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-06 19:29:16 -04:00
Sonu Saha
dbcde74724
CI: Remove fetching of bearer auth token from vault (#48)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-06-07 10:11:56 -04:00
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
Clinton Wolfe
bd1f3ba40b
Adds omnibus release and adhoc pipelines with a merge trigger for omnibus release (#15)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-03-13 12:17:16 -04:00
sean-simmons-progress
74357ae861
testing version bump (#9)
Signed-off-by: Sean Simmons <ssimmons@progress.com>
2023-03-10 15:43:15 -05:00
Clinton Wolfe
4cff2cafee
Sync Expeditor Config from Main to inspec-6 (#7)
* Move old expeditor config out of the way in prep for syncing

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

* Introduce basic expeditor config (#2)

* CONFIG: Introduce basic expeditor config

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

* CONFIG: Introduce release branches, changelog updates and slack notification

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

---------

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

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <98935583+ahasunos@users.noreply.github.com>
2023-03-10 11:52:30 -05:00
Vasundhara Jagdale
cf09e2ea9f
CFINSPEC-550 Add RHEL9 to build matrix (#6403) (#6470)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-27 14:08:06 +05:30
Sonu Saha
30e60bb446
Foreport-6381 (#6451)
* Adds the ucrt platform support for Windows

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

* Adds the environment variable to ignore artifactory proxy as some gem are getting 500 error when tries to download from artifactory

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-26 18:19:11 +05:30
Sonu Saha
caccc654f4
CFINSPEC-553: Fix failing verify pipeline builds on ruby 3.0 (#6378) (#6453)
* bundle install without kitchen group from Gemfile as verify pipeline is breaking for ruby 3.0 as Chef 18 requires to be work with ruby 3.1. In future we will be removing the support for ruby 3.0 as Chef 18 never released with ruby 3.0



* Removes all excluded groups from the bundle config set which was removed from the Gemfile.



* Exclude the gem dependencies for kitchen for omnibus builds



* Exclude the kitchen dependencies on windows platform too

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasundhara Jagdale <vasundhara.jagdale@chef.io>
2023-02-24 19:03:59 +05:30
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
e1ad3ab91f Add inspec-6 branch as release branch
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-13 13:54:28 -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