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

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

Issue 1658043003: [release] Fix auto-roller. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/auto_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 25 matching lines...) Expand all
36 from auto_push import LastReleaseBailout 36 from auto_push import LastReleaseBailout
37 import auto_roll 37 import auto_roll
38 import common_includes 38 import common_includes
39 from common_includes import * 39 from common_includes import *
40 import create_release 40 import create_release
41 from create_release import CreateRelease 41 from create_release import CreateRelease
42 import merge_to_branch 42 import merge_to_branch
43 from merge_to_branch import * 43 from merge_to_branch import *
44 import push_to_candidates 44 import push_to_candidates
45 from push_to_candidates import * 45 from push_to_candidates import *
46 import chromium_roll
Michael Achenbach 2016/02/02 13:29:49 tidying...
47 from chromium_roll import ChromiumRoll
48 import releases 46 import releases
49 from releases import Releases 47 from releases import Releases
50 from auto_tag import AutoTag 48 from auto_tag import AutoTag
51 49
52 50
53 TEST_CONFIG = { 51 TEST_CONFIG = {
54 "DEFAULT_CWD": None, 52 "DEFAULT_CWD": None,
55 "BRANCHNAME": "test-prepare-push", 53 "BRANCHNAME": "test-prepare-push",
56 "CANDIDATESBRANCH": "test-candidates-push", 54 "CANDIDATESBRANCH": "test-candidates-push",
57 "PERSISTFILE_BASENAME": "/tmp/test-v8-push-to-candidates-tempfile", 55 "PERSISTFILE_BASENAME": "/tmp/test-v8-push-to-candidates-tempfile",
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 Cmd("git describe --tags bad_tag", ""), 1077 Cmd("git describe --tags bad_tag", ""),
1080 Cmd("git describe --tags roll_hsh", "3.22.4"), 1078 Cmd("git describe --tags roll_hsh", "3.22.4"),
1081 Cmd("git describe --tags hash_123", "3.22.3"), 1079 Cmd("git describe --tags hash_123", "3.22.3"),
1082 Cmd("git describe --tags roll_hsh", "3.22.4"), 1080 Cmd("git describe --tags roll_hsh", "3.22.4"),
1083 Cmd("git log -1 --format=%s roll_hsh", "Version 3.22.4\n"), 1081 Cmd("git log -1 --format=%s roll_hsh", "Version 3.22.4\n"),
1084 Cmd("git describe --tags roll_hsh", "3.22.4"), 1082 Cmd("git describe --tags roll_hsh", "3.22.4"),
1085 Cmd("git describe --tags last_roll_hsh", "3.22.2.1"), 1083 Cmd("git describe --tags last_roll_hsh", "3.22.2.1"),
1086 Cmd("git status -s -uno", "", cwd=chrome_dir), 1084 Cmd("git status -s -uno", "", cwd=chrome_dir),
1087 Cmd("git checkout -f master", "", cwd=chrome_dir), 1085 Cmd("git checkout -f master", "", cwd=chrome_dir),
1088 Cmd("git branch", "", cwd=chrome_dir), 1086 Cmd("git branch", "", cwd=chrome_dir),
1089 Cmd("gclient sync --nohooks", "syncing...", cwd=chrome_dir),
1090 Cmd("git pull", "", cwd=chrome_dir), 1087 Cmd("git pull", "", cwd=chrome_dir),
1091 Cmd("git fetch origin", ""), 1088 Cmd("git fetch origin", ""),
1092 Cmd("git new-branch work-branch", "", cwd=chrome_dir), 1089 Cmd("git new-branch work-branch", "", cwd=chrome_dir),
1093 Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir), 1090 Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
1094 Cmd(("git commit -am \"%s\" " 1091 Cmd(("git commit -am \"%s\" "
1095 "--author \"author@chromium.org <author@chromium.org>\"" % 1092 "--author \"author@chromium.org <author@chromium.org>\"" %
1096 self.ROLL_COMMIT_MSG), 1093 self.ROLL_COMMIT_MSG),
1097 "", cwd=chrome_dir), 1094 "", cwd=chrome_dir),
1098 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f " 1095 Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f "
1099 "--use-commit-queue", "", cwd=chrome_dir), 1096 "--use-commit-queue", "", cwd=chrome_dir),
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 1543
1547 Review URL: https://codereview.chromium.org/83173002 1544 Review URL: https://codereview.chromium.org/83173002
1548 1545
1549 ------------------------------------------------------------------------""") 1546 ------------------------------------------------------------------------""")
1550 self.assertEquals( 1547 self.assertEquals(
1551 """Prepare push to trunk. Now working on version 3.23.11. 1548 """Prepare push to trunk. Now working on version 3.23.11.
1552 1549
1553 R=danno@chromium.org 1550 R=danno@chromium.org
1554 1551
1555 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/auto_roll.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698