Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: tools/release/test_scripts.py

Issue 1155983002: [release-tools] Fix auto-roller after depot tools change. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/release/chromium_roll.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright 2013 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 Cmd("git describe --tags last_roll_hsh", "3.22.2.1"), 1012 Cmd("git describe --tags last_roll_hsh", "3.22.2.1"),
1013 URL("https://chromium-build.appspot.com/p/chromium/sheriff_v8.js", 1013 URL("https://chromium-build.appspot.com/p/chromium/sheriff_v8.js",
1014 "document.write('g_name')"), 1014 "document.write('g_name')"),
1015 Cmd("git status -s -uno", "", cwd=chrome_dir), 1015 Cmd("git status -s -uno", "", cwd=chrome_dir),
1016 Cmd("git checkout -f master", "", cwd=chrome_dir), 1016 Cmd("git checkout -f master", "", cwd=chrome_dir),
1017 Cmd("git branch", "", cwd=chrome_dir), 1017 Cmd("git branch", "", cwd=chrome_dir),
1018 Cmd("gclient sync --nohooks", "syncing...", cwd=chrome_dir), 1018 Cmd("gclient sync --nohooks", "syncing...", cwd=chrome_dir),
1019 Cmd("git pull", "", cwd=chrome_dir), 1019 Cmd("git pull", "", cwd=chrome_dir),
1020 Cmd("git fetch origin", ""), 1020 Cmd("git fetch origin", ""),
1021 Cmd("git new-branch work-branch", "", cwd=chrome_dir), 1021 Cmd("git new-branch work-branch", "", cwd=chrome_dir),
1022 Cmd("roll-dep v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir), 1022 Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
1023 Cmd(("git commit -am \"%s\" " 1023 Cmd(("git commit -am \"%s\" "
1024 "--author \"author@chromium.org <author@chromium.org>\"" % 1024 "--author \"author@chromium.org <author@chromium.org>\"" %
1025 self.ROLL_COMMIT_MSG), 1025 self.ROLL_COMMIT_MSG),
1026 "", cwd=chrome_dir), 1026 "", cwd=chrome_dir),
1027 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f", "", 1027 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f", "",
1028 cwd=chrome_dir), 1028 cwd=chrome_dir),
1029 Cmd("git checkout -f master", "", cwd=chrome_dir), 1029 Cmd("git checkout -f master", "", cwd=chrome_dir),
1030 Cmd("git branch -D work-branch", "", cwd=chrome_dir), 1030 Cmd("git branch -D work-branch", "", cwd=chrome_dir),
1031 ] 1031 ]
1032 self.Expect(expectations) 1032 self.Expect(expectations)
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 1543
1544 Review URL: https://codereview.chromium.org/83173002 1544 Review URL: https://codereview.chromium.org/83173002
1545 1545
1546 ------------------------------------------------------------------------""") 1546 ------------------------------------------------------------------------""")
1547 self.assertEquals( 1547 self.assertEquals(
1548 """Prepare push to trunk. Now working on version 3.23.11. 1548 """Prepare push to trunk. Now working on version 3.23.11.
1549 1549
1550 R=danno@chromium.org 1550 R=danno@chromium.org
1551 1551
1552 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1552 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/release/chromium_roll.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698