OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Entry point for the AddIn build bot. | 6 """Entry point for the AddIn build bot. |
7 | 7 |
8 Perform build steps and output results using the buildbot | 8 Perform build steps and output results using the buildbot |
9 annootator syntax | 9 annootator syntax |
10 """ | 10 """ |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 'vs_addin', basename) | 175 'vs_addin', basename) |
176 cmd = _GetGsutil() | 176 cmd = _GetGsutil() |
177 cmd += ['cp', '-a', 'public-read', local_filename, | 177 cmd += ['cp', '-a', 'public-read', local_filename, |
178 'gs://' + remote_name] | 178 'gs://' + remote_name] |
179 RunCommand(cmd) | 179 RunCommand(cmd) |
180 url = "%s/%s" % (GSURL, remote_name) | 180 url = "%s/%s" % (GSURL, remote_name) |
181 Log('@@@STEP_LINK@download@%s@@@' % url) | 181 Log('@@@STEP_LINK@download@%s@@@' % url) |
182 | 182 |
183 | 183 |
184 def main(): | 184 def main(): |
185 if 'BOTO_CONFIG' in os.environ: | |
binji
2013/07/09 21:48:03
comment about why this is necessary?
| |
186 del os.environ['BOTO_CONFIG'] | |
187 if 'AWS_CREDENTIAL_FILE' in os.environ: | |
188 del os.environ['AWS_CREDENTIAL_FILE'] | |
185 StepBuild() | 189 StepBuild() |
186 StepInstall() | 190 StepInstall() |
187 StepInstallSDK() | 191 StepInstallSDK() |
188 StepTest() | 192 StepTest() |
189 StepArchive() | 193 StepArchive() |
190 | 194 |
191 | 195 |
192 if __name__ == '__main__': | 196 if __name__ == '__main__': |
193 main() | 197 main() |
OLD | NEW |