Alexander Thomas
99d028be77
[infra] Make promote.py work with newer versions of gsutil
...
Newer versions of gsutil fail when rm -rf'ing non-existing directories.
Check if the directory exists before trying to remove it.
Change-Id: I57283526f9d13ed5a923b1f5c9d91710ec8d1b60
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/94861
Auto-Submit: Alexander Thomas <athom@google.com >
Reviewed-by: William Hesse <whesse@google.com >
Commit-Queue: William Hesse <whesse@google.com >
2019-03-06 12:43:07 +00:00
William Hesse
acf53f1e63
Remove Dartium from the SDK promotion script
...
BUG=
R=terry@google.com
Review-Url: https://codereview.chromium.org/2982023002 .
2017-07-17 16:21:02 +02:00
William Hesse
737a55cc63
Fix some issues with buildbot recipe change.
...
BUG=
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2903603002 .
2017-05-23 16:51:37 +02:00
William Hesse
ed9bb160de
Revert "Copy entire api-docs directory to release GCloud directory in promote script."
...
This reverts commit f03279a7eb .
When there is only one file in the directory, this does not move the
file into the target directory, but moves it to replace the target
directory with a file.
Reverting to the old behavior, with a changed filename, since we are
now only copying one file. tools/bots/bot_utils.py:124 is changed to
use dartdocs_zipfilename() instead of the deleted apidocs_zipfilename().
BUG=https://github.com/dart-lang/www.dartlang.org/issues/1528
R=ricow@google.com
Review URL: https://codereview.chromium.org/1502253002 .
2015-12-09 10:29:34 +01:00
William Hesse
f03279a7eb
Copy entire api-docs directory to release GCloud directory in promote script.
...
BUG=
R=keertip@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//1341353002 .
2015-09-16 12:12:29 +02:00
Rico Wind
6030dd9015
Remove invalid check from promote script
...
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//1168133005 .
2015-06-09 13:39:49 +02:00
Rico Wind
1706e033af
Don't promote the eclipse plugins, we don't ship these from our main repo
...
Also, change the sanity check, we no longer use integer revisions on dev/stable
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//1157363002
2015-05-28 16:02:24 +02:00
ricow@google.com
a29715af79
Add --dry option to the promote script.
...
This makes it easier to validate against our archive
R=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org//1132533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45627 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-08 05:44:55 +00:00
ricow@google.com
fb7f171a0e
Remove promote script from editor/build and put it under tools (where it really belongs)
...
R=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org//1133573002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45587 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-07 10:52:01 +00:00