зеркало из https://github.com/mozilla/treeherder.git
Bug 1088705 - Deploy script: Make the git output less chatty
The git reset already outputs the SHA/commit message for HEAD so most of this additional output is unnecessary.
This commit is contained in:
Родитель
0e67ca47a4
Коммит
532429a9c4
|
@ -30,20 +30,14 @@ def pre_update(ctx, ref=settings.UPDATE_REF):
|
|||
ctx.local('git fetch --quiet origin %s' % ref)
|
||||
ctx.local('git reset --hard FETCH_HEAD')
|
||||
ctx.local("find . -type f -name '*.pyc' -delete")
|
||||
ctx.local('date')
|
||||
ctx.local('git branch')
|
||||
ctx.local('git log -3')
|
||||
ctx.local('git status')
|
||||
ctx.local('git status -s')
|
||||
ctx.local('git rev-parse HEAD > treeherder/webapp/media/revision')
|
||||
|
||||
with ctx.lcd(th_ui_src):
|
||||
ctx.local('git fetch --quiet origin %s' % ref)
|
||||
ctx.local('git reset --hard FETCH_HEAD')
|
||||
ctx.local("find . -type f -name '*.pyc' -delete")
|
||||
ctx.local('date')
|
||||
ctx.local('git branch')
|
||||
ctx.local('git log -3')
|
||||
ctx.local('git status')
|
||||
ctx.local('git status -s')
|
||||
ctx.local('git rev-parse HEAD >> ../treeherder-service/treeherder/webapp/media/revision')
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче