mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
* 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>
82 lines
No EOL
1.8 KiB
YAML
82 lines
No EOL
1.8 KiB
YAML
---
|
|
expeditor:
|
|
defaults:
|
|
buildkite:
|
|
timeout_in_minutes: 60
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
|
|
steps:
|
|
|
|
- label: lint-ruby-3.0
|
|
command:
|
|
- RAKE_TASK=test:lint /workdir/.expeditor/buildkite/verify.sh
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
image: ruby:3.0
|
|
|
|
- label: run-tests-ruby-2.7
|
|
command:
|
|
- /workdir/.expeditor/buildkite/verify.sh
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
image: ruby:2.7
|
|
|
|
- label: run-tests-ruby-3.0
|
|
command:
|
|
- /workdir/.expeditor/buildkite/verify.sh
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
image: ruby:3.0
|
|
|
|
- label: run-tests-ruby-3.1
|
|
command:
|
|
- /workdir/.expeditor/buildkite/verify.sh
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
image: ruby:3.1
|
|
|
|
- label: isolated-tests-ruby-3.0
|
|
command:
|
|
- RAKE_TASK=test:isolated /workdir/.expeditor/buildkite/verify.sh
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
image: ruby:3.0
|
|
|
|
- label: isolated-tests-ruby-3.1
|
|
command:
|
|
- RAKE_TASK=test:isolated /workdir/.expeditor/buildkite/verify.sh
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
image: ruby:3.1
|
|
|
|
- label: run-tests-ruby-3.0-windows
|
|
command:
|
|
- /workdir/.expeditor/buildkite/verify.ps1
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
environment:
|
|
- BUILDKITE
|
|
host_os: windows
|
|
shell: ["powershell", "-Command"]
|
|
image: rubydistros/windows-2019:3.0
|
|
|
|
- label: run-tests-ruby-3.1-windows
|
|
command:
|
|
- /workdir/.expeditor/buildkite/verify.ps1
|
|
expeditor:
|
|
executor:
|
|
docker:
|
|
environment:
|
|
- BUILDKITE
|
|
host_os: windows
|
|
shell: ["powershell", "-Command"]
|
|
image: rubydistros/windows-2019:3.1 |