-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use input instead of attribute (#74)
* use input instead of attribute In the last versions of Inspec and cinc-auditor, attribute is deprecated and input should be used. https://docs.chef.io/workstation/cookstyle/inspec_deprecations_attributehelper/ Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update container_runtime.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update docker_daemon_configuration.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update docker_daemon_configuration_files.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update host_configuration.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update inspec.yml Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Create test.yml Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update Rakefile Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update Rakefile Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update Gemfile Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update .rubocop.yml Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update Vagrantfile Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update container_runtime.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update docker_daemon_configuration.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update host_configuration.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update container_images.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update container_images.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update host_configuration.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update Vagrantfile Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update container_runtime.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com> * Update docker_helper.rb Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com>
- Loading branch information
1 parent
f4f3c02
commit c6400de
Showing
12 changed files
with
97 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '0 6 * * *' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.6', '2.7', '3.0'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
- name: Run tests | ||
run: bundle exec rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
source 'https://rubygems.org' | ||
# frozen_string_literal: true | ||
|
||
gem 'highline', '~> 1.6.0' | ||
source 'https://rubygems.org' | ||
|
||
gem 'inspec', '~> 2' | ||
gem 'rack', '1.6.4' | ||
gem 'highline' | ||
gem 'rack' | ||
gem 'rake' | ||
gem 'rubocop', '~> 0.49.0' | ||
gem 'rubocop' | ||
|
||
group :tools do | ||
gem 'github_changelog_generator', '~> 1.14.0' | ||
gem 'github_changelog_generator' | ||
gem 'pry-coolline' | ||
end | ||
|
||
source 'https://packagecloud.io/cinc-project/stable' do | ||
gem 'chef-config' | ||
gem 'cinc-auditor-bin' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# encoding: utf-8 | ||
# frozen_string_literal: true | ||
|
||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# encoding: utf-8 | ||
# frozen_string_literal: true | ||
|
||
# Copyright 2016, Christoph Hartmann | ||
# | ||
|