Permalink
Browse files

Bug 785965, fix up key handling in production, r=hwine

  • Loading branch information...
1 parent fb7cd2e commit bdce1715d448e826ae8c61759ea0e82ddd09967c @nthomas-mozilla nthomas-mozilla committed Oct 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/release/stage-tasks.py
@@ -156,7 +156,8 @@ def makeIndexFiles(productName, version, buildNumber, stageServer,
indexFile.write(indexFileTemplate % {'version': version})
indexFile.flush()
- scp(indexFile.name, '%s@%s:%s/index.html' % (stageUsername, stageServer, candidates_dir))
+ scp(indexFile.name, '%s@%s:%s/index.html' % (stageUsername, stageServer, candidates_dir),
+ sshKey=stageSshKey)
run_remote_cmd(['find', candidates_dir, '-mindepth', '1', '-type', 'd', '-exec', 'cp', '-pv', '%s/index.html' % candidates_dir, '{}', '\\;'],
server=stageServer, username=stageUsername, sshKey=stageSshKey)

0 comments on commit bdce171

Please sign in to comment.