deploy-context 2.1.35.2.g385b63e → 2.1.35.3.g2abab85.16.g399fb24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e69109351cbcebf091e6357107eee7c07595c1b233b184efe0b8c7afb7c4761
4
- data.tar.gz: 4edb9c7814e36ad8233fc3b972753e801abffe5c942168acb0e6278a0ac47330
3
+ metadata.gz: ff315e5c9dd42447cd534ca8d3ea710e70736725fb4c37c2de6b7ceccc3f09be
4
+ data.tar.gz: 3a0f77f9d16dac250cfe6248a7766acd7471317a8c0429716a95d69dbcf4b573
5
5
  SHA512:
6
- metadata.gz: fbca0ae83a94f34c8cc6f7e676f00f79f80384d634b74b9250d313b884c3533dda41c432573dca77368431d4893312e294120c9581c3473a28e32300bc32951b
7
- data.tar.gz: 8471de784dc04a41ff0cb2fb58bed8416102b3d8b63d53c03dea8f5cc987af45b9b54f7caf3237714e78acb762f1fd23fd07c576d6c64a5496b9715c29d85685
6
+ metadata.gz: a8dc00c3127c877c788566fcb111c0d8ba80c4378344bcb7aab0eedb92b99e2674685c58cbd413d4ce3b1794023830049908c511632f37a65e541388720422da
7
+ data.tar.gz: 0fdd7a3187fc0ca1184282c8dce72183fe63c8bb84753b9e238365d2edf5c39c2192956756b559c7faa02e2eea9aad386f7ef2c80cd0b9d94ccc58dbbe10f2b4
checksums.yaml.gz.sig CHANGED
Binary file
data/.gitignore CHANGED
@@ -1,57 +1,25 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
- contexts/
1
+ .vagrant
2
+ *~
3
+ *#
4
+ .#*
5
+ \#*#
6
+ .*.sw[a-z]
7
+ *.un~
8
+
9
+ # Bundler
10
+ Gemfile.lock
11
+ gems.locked
12
+ bin/*
13
+ .bundle/*
14
+
15
+ # test kitchen
16
+ .kitchen/
17
+ kitchen.local.yml
18
+
19
+ # Chef Infra
20
+ Berksfile.lock
21
+ .zero-knife.rb
22
+ Policyfile.lock.json
23
+
24
+ .idea/
13
25
 
14
- # Used by dotenv library to load environment variables.
15
- # .env
16
-
17
- # Ignore Byebug command history file.
18
- .byebug_history
19
-
20
- ## Specific to RubyMotion:
21
- .dat*
22
- .repl_history
23
- build/
24
- *.bridgesupport
25
- build-iPhoneOS/
26
- build-iPhoneSimulator/
27
-
28
- ## Specific to RubyMotion (use of CocoaPods):
29
- #
30
- # We recommend against adding the Pods directory to your .gitignore. However
31
- # you should judge for yourself, the pros and cons are mentioned at:
32
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
33
- #
34
- # vendor/Pods/
35
-
36
- ## Documentation cache and generated files:
37
- /.yardoc/
38
- /_yardoc/
39
- /doc/
40
- /rdoc/
41
-
42
- ## Environment normalization:
43
- /.bundle/
44
- /vendor/bundle
45
- /lib/bundler/man/
46
-
47
- # for a library or gem, you might want to ignore these files since the code is
48
- # intended to run in multiple environments; otherwise, check them in:
49
- # Gemfile.lock
50
- # .ruby-version
51
- # .ruby-gemset
52
-
53
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
54
- .rvmrc
55
-
56
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
57
- # .rubocop-https?--*
@@ -1,29 +1,18 @@
1
- I, [2023-10-02T21:31:57.009534 #3498591] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
2
- E, [2023-10-02T21:31:57.009777 #3498591] ERROR -- Kitchen: ------Exception-------
3
- E, [2023-10-02T21:31:57.009803 #3498591] ERROR -- Kitchen: Class: Kitchen::UserError
4
- E, [2023-10-02T21:31:57.009821 #3498591] ERROR -- Kitchen: Message: Kitchen YAML file /home/jimboadmin/deploy-context/kitchen.yml does not exist.
5
- E, [2023-10-02T21:31:57.009839 #3498591] ERROR -- Kitchen: ----------------------
6
- E, [2023-10-02T21:31:57.009861 #3498591] ERROR -- Kitchen: ------Backtrace-------
7
- E, [2023-10-02T21:31:57.009879 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/loader/yaml.rb:65:in `read'
8
- E, [2023-10-02T21:31:57.009897 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:153:in `data'
9
- E, [2023-10-02T21:31:57.009914 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:131:in `suites'
10
- E, [2023-10-02T21:31:57.009931 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:183:in `filter_instances'
11
- E, [2023-10-02T21:31:57.009948 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:142:in `build_instances'
12
- E, [2023-10-02T21:31:57.009964 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:116:in `instances'
13
- E, [2023-10-02T21:31:57.009995 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:109:in `filtered_instances'
14
- E, [2023-10-02T21:31:57.010012 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:139:in `parse_subcommand'
15
- E, [2023-10-02T21:31:57.010029 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/action.rb:34:in `block in call'
16
- E, [2023-10-02T21:31:57.010049 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
17
- E, [2023-10-02T21:31:57.010067 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/action.rb:33:in `call'
18
- E, [2023-10-02T21:31:57.010083 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:52:in `perform'
19
- E, [2023-10-02T21:31:57.010100 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:198:in `block (2 levels) in <class:CLI>'
20
- E, [2023-10-02T21:31:57.010116 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
21
- E, [2023-10-02T21:31:57.010133 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
22
- E, [2023-10-02T21:31:57.010149 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
23
- E, [2023-10-02T21:31:57.010166 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
24
- E, [2023-10-02T21:31:57.010183 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `block in <top (required)>'
25
- E, [2023-10-02T21:31:57.010199 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/errors.rb:183:in `with_friendly_errors'
26
- E, [2023-10-02T21:31:57.010216 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
27
- E, [2023-10-02T21:31:57.010233 #3498591] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
28
- E, [2023-10-02T21:31:57.010256 #3498591] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
29
- E, [2023-10-02T21:31:57.010275 #3498591] ERROR -- Kitchen: ----End Backtrace-----
1
+ I, [2023-10-04T15:16:50.188246 #584970] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
2
+ I, [2023-10-04T15:16:53.433130 #584970] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-ubuntu-2004>
3
+ I, [2023-10-04T15:16:53.433335 #584970] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
4
+ I, [2023-10-04T15:16:53.434087 #584970] INFO -- Kitchen: -----> Testing <default-ubuntu-2004>
5
+ I, [2023-10-04T15:16:53.434229 #584970] INFO -- Kitchen: -----> Creating <default-ubuntu-2004>...
6
+ I, [2023-10-04T15:18:10.965045 #584970] INFO -- Kitchen: -----> Converging <default-ubuntu-2004>...
7
+ I, [2023-10-04T15:18:35.671707 #584970] INFO -- Kitchen: -----> Setting up <default-ubuntu-2004>...
8
+ I, [2023-10-04T15:18:35.672416 #584970] INFO -- Kitchen: -----> Verifying <default-ubuntu-2004>...
9
+ I, [2023-10-04T15:18:40.880535 #584970] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
10
+ I, [2023-10-04T15:18:46.388660 #584970] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-centos-8>
11
+ I, [2023-10-04T15:18:46.388800 #584970] INFO -- Kitchen: -----> Destroying <default-centos-8>...
12
+ I, [2023-10-04T15:18:46.389253 #584970] INFO -- Kitchen: -----> Testing <default-centos-8>
13
+ I, [2023-10-04T15:18:46.389402 #584970] INFO -- Kitchen: -----> Creating <default-centos-8>...
14
+ I, [2023-10-04T15:19:44.870611 #584970] INFO -- Kitchen: -----> Converging <default-centos-8>...
15
+ I, [2023-10-04T15:20:10.391741 #584970] INFO -- Kitchen: -----> Setting up <default-centos-8>...
16
+ I, [2023-10-04T15:20:10.392575 #584970] INFO -- Kitchen: -----> Verifying <default-centos-8>...
17
+ I, [2023-10-04T15:20:12.467981 #584970] INFO -- Kitchen: -----> Destroying <default-centos-8>...
18
+ I, [2023-10-04T15:20:17.430530 #584970] INFO -- Kitchen: -----> Test Kitchen is finished. (3m27.24s)
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # deploy-context CHANGELOG
2
+
3
+ This file is used to list changes made in each version of the deploy-context cookbook.
4
+
5
+ ## 0.1.0
6
+
7
+ Initial release.
8
+
9
+ - change 0
10
+ - change 1
data/Policyfile.rb ADDED
@@ -0,0 +1,16 @@
1
+ # Policyfile.rb - Describe how you want Chef Infra Client to build your system.
2
+ #
3
+ # For more information on the Policyfile feature, visit
4
+ # https://docs.chef.io/policyfile/
5
+
6
+ # A name that describes what the system you're building with Chef does.
7
+ name 'deploy-context'
8
+
9
+ # Where to find external cookbooks:
10
+ default_source :supermarket
11
+
12
+ # run_list: chef-client will run these recipes in the order specified.
13
+ run_list 'deploy-context::default'
14
+
15
+ # Specify a custom source for a single cookbook:
16
+ cookbook 'deploy-context', path: '.'
data/chefignore ADDED
@@ -0,0 +1,115 @@
1
+ # Put files/directories that should be ignored in this file when uploading
2
+ # to a Chef Infra Server or Supermarket.
3
+ # Lines that start with '# ' are comments.
4
+
5
+ # OS generated files #
6
+ ######################
7
+ .DS_Store
8
+ ehthumbs.db
9
+ Icon?
10
+ nohup.out
11
+ Thumbs.db
12
+ .envrc
13
+
14
+ # EDITORS #
15
+ ###########
16
+ .#*
17
+ .project
18
+ .settings
19
+ *_flymake
20
+ *_flymake.*
21
+ *.bak
22
+ *.sw[a-z]
23
+ *.tmproj
24
+ *~
25
+ \#*
26
+ REVISION
27
+ TAGS*
28
+ tmtags
29
+ .vscode
30
+ .editorconfig
31
+
32
+ ## COMPILED ##
33
+ ##############
34
+ *.class
35
+ *.com
36
+ *.dll
37
+ *.exe
38
+ *.o
39
+ *.pyc
40
+ *.so
41
+ */rdoc/
42
+ a.out
43
+ mkmf.log
44
+
45
+ # Testing #
46
+ ###########
47
+ .circleci/*
48
+ .codeclimate.yml
49
+ .delivery/*
50
+ .foodcritic
51
+ .kitchen*
52
+ .mdlrc
53
+ .overcommit.yml
54
+ .rspec
55
+ .rubocop.yml
56
+ .travis.yml
57
+ .watchr
58
+ .yamllint
59
+ azure-pipelines.yml
60
+ Dangerfile
61
+ examples/*
62
+ features/*
63
+ Guardfile
64
+ kitchen.yml*
65
+ mlc_config.json
66
+ Procfile
67
+ Rakefile
68
+ spec/*
69
+ test/*
70
+
71
+ # SCM #
72
+ #######
73
+ .git
74
+ .gitattributes
75
+ .gitconfig
76
+ .github/*
77
+ .gitignore
78
+ .gitkeep
79
+ .gitmodules
80
+ .svn
81
+ */.bzr/*
82
+ */.git
83
+ */.hg/*
84
+ */.svn/*
85
+
86
+ # Berkshelf #
87
+ #############
88
+ Berksfile
89
+ Berksfile.lock
90
+ cookbooks/*
91
+ tmp
92
+
93
+ # Bundler #
94
+ ###########
95
+ vendor/*
96
+ Gemfile
97
+ Gemfile.lock
98
+
99
+ # Policyfile #
100
+ ##############
101
+ Policyfile.rb
102
+ Policyfile.lock.json
103
+
104
+ # Documentation #
105
+ #############
106
+ CODE_OF_CONDUCT*
107
+ CONTRIBUTING*
108
+ documentation/*
109
+ TESTING*
110
+ UPGRADING*
111
+
112
+ # Vagrant #
113
+ ###########
114
+ .vagrant
115
+ Vagrantfile
@@ -0,0 +1,25 @@
1
+ # compliance
2
+
3
+ This directory contains Chef InSpec profile, waiver and input objects which are used with the Chef Infra Compliance Phase.
4
+
5
+ Detailed information on the Chef Infra Compliance Phase can be found in the [Chef Documentation](https://docs.chef.io/chef_compliance_phase/).
6
+
7
+ ```plain
8
+ ./compliance
9
+ ├── inputs
10
+ ├── profiles
11
+ └── waivers
12
+ ```
13
+
14
+ Use the `chef generate` command from Chef Workstation to create content for these directories:
15
+
16
+ ```sh
17
+ # Generate a Chef InSpec profile
18
+ chef generate profile PROFILE_NAME
19
+
20
+ # Generate a Chef InSpec waiver file
21
+ chef generate waiver WAIVER_NAME
22
+
23
+ # Generate a Chef InSpec input file
24
+ chef generate input INPUT_NAME
25
+ ```
@@ -1,2 +1,2 @@
1
1
 
2
- require_relative '../../lib/deploy-context/step-definitions/deploy-context'
2
+ require_relative '../../lib/deploy-context/step_definitions/deploy-context'
data/kitchen.yml ADDED
@@ -0,0 +1,31 @@
1
+ ---
2
+ driver:
3
+ name: vagrant
4
+
5
+ ## The forwarded_port port feature lets you connect to ports on the VM guest
6
+ ## via localhost on the host.
7
+ ## see also: https://www.vagrantup.com/docs/networking/forwarded_ports
8
+
9
+ # network:
10
+ # - ["forwarded_port", {guest: 80, host: 8080}]
11
+
12
+ provisioner:
13
+ name: chef_zero
14
+
15
+ ## product_name and product_version specifies a specific Chef product and version to install.
16
+ ## see the Chef documentation for more details: https://docs.chef.io/workstation/config_yml_kitchen/
17
+ # product_name: chef
18
+ # product_version: 17
19
+
20
+ verifier:
21
+ name: inspec
22
+
23
+ platforms:
24
+ - name: ubuntu-20.04
25
+ - name: centos-8
26
+
27
+ suites:
28
+ - name: default
29
+ verifier:
30
+ inspec_tests:
31
+ - test/integration/default
@@ -10,11 +10,12 @@ module Context
10
10
  end
11
11
 
12
12
  def chef_generate(context, commands)
13
+ context.log("\n\nGenerating Chef components with command #{commands}")
13
14
  context.chef(context, %w(generate) + commands)
14
15
  end
15
16
 
16
- def generate_cookbook(context, cookbook)
17
- context.chef(context, %w(cookbook) + cookbook)
17
+ def generate_cookbook(context, cookbookname)
18
+ context.chef_generate(context, %w(cookbook) + cookbookname)
18
19
  end
19
20
 
20
21
  def kitchen(context, commands = %w(test))
@@ -22,15 +23,16 @@ module Context
22
23
  end
23
24
 
24
25
  def cookbook_build(context)
26
+ context.log("\n\nBuilding cookbook #{context.context_name}\n\n")
25
27
  context.git_build(context)
26
- context.log "Working in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
27
28
  Dir.chdir File.dirname(context.context_folder)
28
29
  context.generate_cookbook(context, [context.context_name])
29
30
  Dir.chdir context.context_folder
30
31
  end
31
32
 
32
33
  def cookbook_test(context)
33
- context.log "Working in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
34
+ cookbook_build(context)
35
+ context.log "\n\nExecuting kitchen in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
34
36
  context.kitchen(context)
35
37
  end
36
38
  end
@@ -43,15 +43,14 @@ module Context
43
43
  true
44
44
  when 'test'
45
45
  context.log "\nExecute tests\n"
46
- context.cucumber_test(context)
47
- true
46
+ context.test_context_successful?
48
47
  when 'reset'
49
48
  context.log "\nReset versionning\n"
50
49
  system('rake')
51
50
  # context.cucumber_test(deployer)
52
51
  true
53
52
  else
54
- context.log "Unknown setting #{action}"
53
+ context.error_log "Unknown setting #{action}"
55
54
  false
56
55
  end
57
56
  end
@@ -59,7 +58,7 @@ module Context
59
58
  if state_action
60
59
  context.log "Action #{action} executed correctly in context #{context}"
61
60
  else
62
- context.abort("Failed to execute action #{action} in context #{context}")
61
+ context.error_log("Failed to execute action #{action} in context #{context}")
63
62
  end
64
63
  end
65
64
  end
@@ -10,6 +10,7 @@ module Context
10
10
  Dir.chdir(context.context_folder)
11
11
  context.git_pull(context)
12
12
  else
13
+ context.error_log context.context_name, "Cloning from source in #{Dir.pwd}"
13
14
  local_dir = File.join(Dir.pwd, context.context_name)
14
15
  context.git context, ["clone git@github.com:JimboDragonGit/#{context.context_name}.git"] unless ::Dir.exist?(local_dir)
15
16
  context.move_folder(local_dir)
@@ -46,11 +46,13 @@ module Context
46
46
  def test_context_successful?
47
47
  log "Check if #{context_name} is install #{version}"
48
48
  if gem_installed?(self)
49
- puts "Test context #{context_name} was successfully install on version #{version}"
50
- cookbook_test(context)
49
+ log "Test context #{context_name} was successfully install on version #{version}"
50
+ true
51
51
  else
52
- abort "Test context #{context_name} has failed to install #{version}"
52
+ log "Test context #{context_name} has failed to install #{version}"
53
+ false
53
54
  end
55
+ cookbook_test(self)
54
56
  end
55
57
 
56
58
  def build
@@ -12,6 +12,10 @@ module Context
12
12
  log message if debug?
13
13
  end
14
14
 
15
+ def error_log(name, message)
16
+ log "\n\n#{name} ERROR: #{message}"
17
+ end
18
+
15
19
  def is_admin?
16
20
  Process::Sys.getuid != 0
17
21
  end
@@ -1,3 +1,5 @@
1
+
2
+
1
3
  # Étantdonnéque('le projet {word} à une dernière version de disponible dans git') do |project_name|
2
4
  # context_exec [project_name, 'once']
3
5
 
data/metadata.rb ADDED
@@ -0,0 +1,19 @@
1
+ name 'deploy-context'
2
+ maintainer 'The Authors'
3
+ maintainer_email 'you@example.com'
4
+ license 'All Rights Reserved'
5
+ description 'Installs/Configures deploy-context'
6
+ version '0.1.0'
7
+ chef_version '>= 16.0'
8
+
9
+ # The `issues_url` points to the location where issues for this cookbook are
10
+ # tracked. A `View Issues` link will be displayed on this cookbook's page when
11
+ # uploaded to a Supermarket.
12
+ #
13
+ # issues_url 'https://github.com/<insert_org_here>/deploy-context/issues'
14
+
15
+ # The `source_url` points to the development repository for this cookbook. A
16
+ # `View Source` link will be displayed on this cookbook's page when uploaded to
17
+ # a Supermarket.
18
+ #
19
+ # source_url 'https://github.com/<insert_org_here>/deploy-context'
@@ -0,0 +1,5 @@
1
+ #
2
+ # Cookbook:: deploy-context
3
+ # Recipe:: default
4
+ #
5
+ # Copyright:: 2023, The Authors, All Rights Reserved.
@@ -0,0 +1,16 @@
1
+ # Chef InSpec test for recipe deploy-context::default
2
+
3
+ # The Chef InSpec reference, with examples and extensive documentation, can be
4
+ # found at https://docs.chef.io/inspec/resources/
5
+
6
+ unless os.windows?
7
+ # This is an example test, replace with your own test.
8
+ describe user('root'), :skip do
9
+ it { should exist }
10
+ end
11
+ end
12
+
13
+ # This is an example test, replace it with your own test.
14
+ describe port(80), :skip do
15
+ it { should_not be_listening }
16
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.35.2.g385b63e
4
+ version: 2.1.35.3.g2abab85.16.g399fb24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
@@ -92,11 +92,15 @@ extra_rdoc_files:
92
92
  files:
93
93
  - ".gitignore"
94
94
  - ".kitchen/logs/kitchen.log"
95
+ - CHANGELOG.md
95
96
  - Gemfile
96
97
  - LICENSE
98
+ - Policyfile.rb
97
99
  - README.md
98
100
  - Rakefile
99
101
  - bin/deploy-context
102
+ - chefignore
103
+ - compliance/README.md
100
104
  - deploy-context.feature.disable
101
105
  - deploy-context.gemspec
102
106
  - deploy-context.old
@@ -105,6 +109,7 @@ files:
105
109
  - features/support/env.rb
106
110
  - features/update_deployer.feature
107
111
  - features/updated_git.feature
112
+ - kitchen.yml
108
113
  - lib/context-manager.rb
109
114
  - lib/deploy-context.rb
110
115
  - lib/deploy-context/deploy.rb
@@ -117,6 +122,9 @@ files:
117
122
  - lib/deploy-context/helpers/command.rb
118
123
  - lib/deploy-context/helpers/rake_tasks.rb
119
124
  - lib/deploy-context/step_definitions/deploy-context.rb
125
+ - metadata.rb
126
+ - recipes/default.rb
127
+ - test/integration/default/default_test.rb
120
128
  homepage: https://github.com/JimboDragonGit/deploy-context
121
129
  licenses:
122
130
  - MIT
metadata.gz.sig CHANGED
Binary file