Merge "Groups-dev distbuild checked wrong Git repository commit hash"
This commit is contained in:
commit
d4fefa8034
@ -53,15 +53,15 @@ define drupal::distbuild (
|
||||
timeout => 900,
|
||||
cwd => "${site_sandbox_root}/${$site_build_repo_name}",
|
||||
command => "rm -rf ${site_staging_root}/${site_staging_tarball} && drush make --tar ${site_makefile} ${site_staging_root}/${site_staging_tarball}",
|
||||
unless => "diff ${site_sandbox_root}/${$site_build_repo_name}/.git/packed-refs ${site_build_flagfile}",
|
||||
unless => "diff ${site_sandbox_root}/${$site_build_repo_name}/.git/refs/heads/master ${site_build_flagfile}",
|
||||
require => File[$site_staging_root],
|
||||
subscribe => Vcsrepo["${site_sandbox_root}/${$site_build_repo_name}"],
|
||||
}
|
||||
|
||||
exec { 'drupal-build-dist-post':
|
||||
path => '/usr/bin:/bin',
|
||||
command => "cp ${site_sandbox_root}/${$site_build_repo_name}/.git/packed-refs ${site_build_flagfile} && rm -rf ${site_deploy_flagfile}",
|
||||
unless => "diff ${site_sandbox_root}/${$site_build_repo_name}/.git/packed-refs ${site_build_flagfile}",
|
||||
command => "cp ${site_sandbox_root}/${$site_build_repo_name}/.git/refs/heads/master ${site_build_flagfile} && rm -rf ${site_deploy_flagfile}",
|
||||
unless => "diff ${site_sandbox_root}/${$site_build_repo_name}/.git/refs/heads/master ${site_build_flagfile}",
|
||||
subscribe => Vcsrepo["${site_sandbox_root}/${$site_build_repo_name}"],
|
||||
require => Exec['drupal-build-dist'],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user