More testing

This commit is contained in:
Gene Liverman 2017-05-07 16:57:16 -07:00
parent d008f064cc
commit 1241ef7c85
9 changed files with 65 additions and 23 deletions

View file

@ -1,4 +1,4 @@
forge "http://forge.puppetlabs.com"
# rubocop:disable FileName
forge 'http://forge.puppetlabs.com'
mod 'puppetlabs-vcsrepo', '1.5.0'

View file

@ -1,10 +0,0 @@
#!/usr/bin/env ruby
require 'json'
environmentpath = ARGV[0]
environment = ARGV[1]
r10k_deploy_file_path = File.join(environmentpath, environment, '.r10k-deploy.json')
# output the sha1 from the control-repo
puts JSON.parse(File.read(r10k_deploy_file_path))['signature']

View file

@ -1,11 +1,10 @@
#!/usr/bin/env ruby
begin
require 'rugged'
rescue LoadError => e
rescue LoadError
t = Time.new
puts t.to_i
else
environmentpath = ARGV[0]
environment = ARGV[1]
@ -16,7 +15,7 @@ else
head_sha = head.target_id
# the commit message associated the newest commit
commit = repo.lookup(head_sha)
# commit = repo.lookup(head_sha)
# add something to find the remote url