Skip to content

Commit

Permalink
A merge/clash casualty.
Browse files Browse the repository at this point in the history
  • Loading branch information
dallinb committed Dec 31, 2016
1 parent 2aeb398 commit cc6d898
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ namespace :deploy do
local_version = args[:version]

# Find out what the forge version of the module is.
<<<<<<< HEAD
response = HTTParty.get('https://forgeapi.puppetlabs.com/v3/modules/locp-odoo')
=======
response = HTTParty.get('https://forgeapi.puppetlabs.com/v3/modules/locp-cassandra')
>>>>>>> origin/develop
data_hash = JSON.parse(response.body)
forge_version = data_hash['current_release']['version']
abort('Unable to find out the forge version.') unless forge_version
Expand All @@ -70,16 +66,6 @@ namespace :deploy do
Rake::Task['build'].invoke

# Now see if we can push this baby to the forge.
<<<<<<< HEAD
=======
PUPPET_FORGE_CREDENTIALS_FILE = ENV['HOME'] + '/' + '.puppetforge.yml'
username = ENV['CIRCLE_PROJECT_USERNAME']
password = ENV['PUPPET_FORGE_PASSWORD']
abort("Not enough data to populate #{PUPPET_FORGE_CREDENTIALS_FILE}") unless username && password
puts "Populating #{PUPPET_FORGE_CREDENTIALS_FILE}"
credentials = { 'username' => username, 'password' => password }
File.open(PUPPET_FORGE_CREDENTIALS_FILE, 'w') { |f| f.write credentials.to_yaml }
>>>>>>> origin/develop
Rake::Task['module:push'].invoke
end
end
Expand All @@ -104,7 +90,6 @@ namespace :deploy do
end
end
end
<<<<<<< HEAD

desc 'Run metadata_lint, rubocop, lint, validate and spec.'
task test: [
Expand All @@ -114,5 +99,3 @@ task test: [
:validate,
:spec
]
=======
>>>>>>> origin/develop

0 comments on commit cc6d898

Please sign in to comment.