Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
image: cincproject/omnibus-debian
stages:
- test
- publish

test:
stage: test
tags:
- osuosl
script:
- source /home/omnibus/load-omnibus-toolchain.sh
- bundle install --with development
- bundle exec rake
14 changes: 8 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ group :development, :test do
gem "rspec", "~> 3.0"
end

if ENV["GEMFILE_MOD"]
puts "GEMFILE_MOD: #{ENV["GEMFILE_MOD"]}"
instance_eval(ENV["GEMFILE_MOD"])
else
gem "chef", "~> 14.0"
gem "ohai", "~> 14.0"
group :chef do
if ENV["GEMFILE_MOD"]
puts "GEMFILE_MOD: #{ENV['GEMFILE_MOD']}"
instance_eval(ENV["GEMFILE_MOD"])
else
gem "chef", "~> 14.0"
gem "ohai", "~> 14.0"
end
end

group :debug do
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions chef-zero.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ Gem::Specification.new do |s|
s.version = ChefZero::VERSION
s.summary = "Self-contained, easy-setup, fast-start in-memory Chef server for testing and solo setup purposes"
s.description = s.summary
s.author = "Chef Software, Inc."
s.email = "oss@chef.io"
s.homepage = "https://github.com/chef/chef-zero"
s.author = ["Chef Software, Inc.", "Cinc Project"]
s.email = ["oss@chef.io", "maintainers@cinc.sh"]
s.homepage = "https://gitlab.com/cinc-project/chef-zero"
s.license = "Apache-2.0"

s.required_ruby_version = ">= 2.6"

s.add_dependency "mixlib-log", ">= 2.0", "< 4.0"
s.add_dependency "hashie", ">= 2.0", "< 5.0"
s.add_dependency "hashie", ">= 2.0", "< 6.0"
s.add_dependency "uuidtools", "~> 2.1"
s.add_dependency "ffi-yajl", "~> 2.2"
s.add_dependency "rack", "~> 2.0", ">= 2.0.6"
s.add_dependency "webrick"

s.bindir = "bin"
s.executables = ["chef-zero"]
s.executables = ["cinc-zero"]
s.require_path = "lib"
s.files = %w{LICENSE Gemfile Rakefile} + Dir.glob("*.gemspec") +
Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
Expand Down
4 changes: 2 additions & 2 deletions lib/chef_zero/dist.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module ChefZero
class Dist
# When referencing a product directly
PRODUCT = "Chef Zero".freeze
PRODUCT = "Cinc Zero".freeze

# The binary alias
CLIENT = "chef-zero".freeze
CLIENT = "cinc-zero".freeze
end
end