Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.5.1 #1291

Merged
merged 12 commits into from
Oct 7, 2024
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- rvm use 3.3 --install --binary --fuzzy
- gem build dpl.gemspec
- gem install dpl-*.gem
- gem update --system
# - gem update --system
- nvm install 18.20.2
- nvm use 18.20.2
- node --version
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gemspec name: 'dpl'
# gem 'json_pure', '~> 2.6'

# gem 'regstry', path: '../../registry'
gem 'logger', '1.6.0'

gems = Dpl::Support::Gems.new('lib/dpl/providers/**/*.rb')
gems.each do |name, version, opts|
Expand Down
4 changes: 2 additions & 2 deletions dpl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Gem::Specification.new do |s|
s.description = 'Dpl (dee-pee-ell) is a tool made for continuous deployment, running deployments at Travis CI.'
s.license = 'MIT'
s.require_path = 'lib'
s.required_ruby_version = '>= 3'
s.required_ruby_version = '>= 3.1'

s.executables = ['dpl']
s.files = Dir['{config/**/*,lib/**/*,[A-Z]*}'].reject { _1.match(/dpl.+\.gem/) }

s.add_runtime_dependency 'net-http', '~> 0.4.1'
s.add_runtime_dependency 'travis-cl'
s.add_runtime_dependency 'travis-packagecloud-ruby'
s.add_runtime_dependency 'net-http', '~> 0.4.1'
s.add_development_dependency 'rake', '~> 13.0'
end
4 changes: 3 additions & 1 deletion lib/dpl/ctx/bash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def gems_require(gems)
# Gem.loaded_specs.clear
gemfile do
source 'https://rubygems.org'
gems.each { |g| gem(*g) }
gems.each do |g|
gem(*g)
end
end
# https://github.com/bundler/bundler/issues/7181
ENV.replace(env)
Expand Down
5 changes: 4 additions & 1 deletion lib/dpl/providers/chef_supermarket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class ChefSupermarket < Provider
tbd
STR

gem 'logger', '1.6.0'
gem 'date', '~> 3.3.4'
gem 'time', '0.3.0'
gem 'chef', '~> 18', require: %w[
chef/cookbook/cookbook_version_loader
chef/cookbook_uploader
Expand Down Expand Up @@ -64,7 +67,7 @@ def upload
end

def params
{ cookbook: json(category: category), tarball: tarball}
{ cookbook: json(category:), tarball: }
end

def tarball
Expand Down
2 changes: 2 additions & 0 deletions lib/dpl/providers/cloud66.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class Cloud66 < Provider
tbd
STR

gem 'logger', '1.6.0'

env :cloud66

opt '--redeployment_hook URL', 'The redeployment hook URL', required: true, secret: true
Expand Down
1 change: 1 addition & 0 deletions lib/dpl/providers/cloudfiles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Cloudfiles < Provider
tbd
STR

gem 'logger', '1.6.0'
gem 'nokogiri', '~> 1.15'
gem 'fog-core', '~> 2.3', require: 'fog/core'
gem 'fog-rackspace', '~> 0.1.6', git: 'https://github.com/travis-oss/fog-rackspace', require: 'fog/rackspace'
Expand Down
1 change: 1 addition & 0 deletions lib/dpl/providers/engineyard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Engineyard < Provider
tbd
STR

gem 'logger', '1.6.0'
gem 'ey-core', '~> 3.6'

required :api_key, %i[email password]
Expand Down
3 changes: 2 additions & 1 deletion lib/dpl/providers/git_push.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class GitPush < Provider
changes produced by the build, and optionally opening a pull request.
STR

gem 'logger', '1.6.0'
gem 'octokit', '~> 7'
gem 'public_suffix', '~> 5'

Expand Down Expand Up @@ -127,7 +128,7 @@ def setup_deploy_key
path = '~/.dpl/deploy_key'
info(:setup_deploy_key, path:)
mv deploy_key, path
chmod 0600, path
chmod 0o600, path
setup_git_ssh path
shell :check_deploy_key, key: path
end
Expand Down
1 change: 1 addition & 0 deletions lib/dpl/providers/gleis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Gleis < Provider
tbd
STR

gem 'logger', '1.6.0'
gem 'gleis', '~> 0.8.0'

env :gleis
Expand Down
1 change: 1 addition & 0 deletions lib/dpl/providers/pages/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Api < Pages
open_timeout: 180
}.freeze

gem 'logger', '1.6.0'
gem 'octokit', '~> 7'

full_name 'GitHub Pages (API)'
Expand Down
3 changes: 2 additions & 1 deletion lib/dpl/providers/pages/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Git < Pages
tbd
STR

gem 'logger', '1.6.0'
gem 'octokit', '~> 7'
gem 'public_suffix', '~> 5'

Expand Down Expand Up @@ -120,7 +121,7 @@ def setup_deploy_key
path = '~/.dpl/deploy_key'
info(:setup_deploy_key, path:)
mv deploy_key, path
chmod 0600, path
chmod 0o600, path
setup_git_ssh path
shell :check_deploy_key, key: path, url: opts[:url]
end
Expand Down
1 change: 1 addition & 0 deletions lib/dpl/providers/puppetforge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Puppetforge < Provider
tbd
STR

gem 'logger', '1.6.0'
gem 'racc', '~> 1.7'
gem 'puppet', '~> 7.25', require: 'puppet/face'
gem 'puppet-blacksmith', '~> 7', require: 'puppet_blacksmith'
Expand Down
1 change: 1 addition & 0 deletions lib/dpl/providers/releases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Releases < Provider
tbd
STR

gem 'logger', '1.6.0'
gem 'octokit', '~> 7'
gem 'mime-types', '~> 3.4.1'
gem 'public_suffix', '~> 5'
Expand Down
2 changes: 1 addition & 1 deletion lib/dpl/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Dpl
VERSION = '2.0.5'
VERSION = '2.0.5.1'
end