mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
More testing
This commit is contained in:
parent
d008f064cc
commit
1241ef7c85
9 changed files with 65 additions and 23 deletions
|
|
@ -1,4 +1,4 @@
|
|||
forge "http://forge.puppetlabs.com"
|
||||
# rubocop:disable FileName
|
||||
forge 'http://forge.puppetlabs.com'
|
||||
|
||||
mod 'puppetlabs-vcsrepo', '1.5.0'
|
||||
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue