Ryan Macnak
1256db2277
[build] Python 3.12 compatibility.
...
Bug: https://github.com/dart-lang/sdk/issues/54306
Change-Id: I974e5e70c6c1cbb87343139a26052996d8df858f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/341023
Reviewed-by: Brian Quinlan <bquinlan@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2023-12-12 18:19:35 +00:00
Jonas Termansen
a97b977148
Reland "Forward compatibility for renaming the be channel to main."
...
Delete lots of dead code in bot_utils and utils. The logic has been
migrated into the recipes for a long time already or has otherwise
become obsolete.
This second version restores IncreasedNumberOfFileDescriptors which was
accidentally deleted while still in use.
Bug: b/270022416
Change-Id: Iea3a607663886c24ea7e0d19ea2a8a615f40ec31
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327867
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: Jonas Termansen <sortie@google.com >
2023-09-27 14:27:40 +00:00
Daco Harkes
0fdd69ac6e
Revert "Forward compatibility for renaming the be channel to main."
...
This reverts commit 90300b9ca1 .
Reason for revert: A bunch of purple bots mentioning:
`NameError: name 'IncreasedNumberOfFileDescriptors' is not defined`.
Original change's description:
> Forward compatibility for renaming the be channel to main.
>
> Delete lots of dead code in bot_utils and utils. The logic has been
> migrated into the recipes for a long time already or has otherwise
> become obsolete.
>
> Bug: b/270022416
> Change-Id: I7977c7a0d129e6112ad143f10f554aec7d9f653f
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326780
> Commit-Queue: Jonas Termansen <sortie@google.com >
> Reviewed-by: Alexander Thomas <athom@google.com >
Bug: b/270022416
Change-Id: I3b008eeb2c729fce4e9abc5879c91d2416dfa692
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327960
Reviewed-by: Martin Kustermann <kustermann@google.com >
Auto-Submit: Daco Harkes <dacoharkes@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com >
2023-09-26 15:11:41 +00:00
Jonas Termansen
90300b9ca1
Forward compatibility for renaming the be channel to main.
...
Delete lots of dead code in bot_utils and utils. The logic has been
migrated into the recipes for a long time already or has otherwise
become obsolete.
Bug: b/270022416
Change-Id: I7977c7a0d129e6112ad143f10f554aec7d9f653f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326780
Commit-Queue: Jonas Termansen <sortie@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
2023-09-26 12:52:03 +00:00
Jonas Termansen
6585fcf1d2
Delete promote script.
...
The promote script has been replaced by the promote recipe.
Remove unused code from bot_utils.
Bug: b/277727317
Change-Id: I6a087c11d6e98480d346017c97be82bf23438aed
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296260
Reviewed-by: William Hesse <whesse@google.com >
Commit-Queue: Jonas Termansen <sortie@google.com >
2023-04-20 15:41:11 +00:00
Josh Soref
b48dc3af7a
Spelling tools
...
Closes https://github.com/dart-lang/sdk/pull/50773
GitOrigin-RevId: 8f729bf80cce3c39b788a61591f14db234297186
Change-Id: I5a07bf96a2f8920560983fda504000c39e598e05
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276560
Reviewed-by: Srujan Gaddam <srujzs@google.com >
Reviewed-by: Jonas Termansen <sortie@google.com >
Reviewed-by: Erik Ernst <eernst@google.com >
2022-12-21 17:26:48 +00:00
Ryan Macnak
2d530c1556
[infra] Upload RISCV64 SDK.
...
gclient sync will need a prebuilt SDK on RISCV64 hosts.
Bug: https://github.com/dart-lang/sdk/issues/48545
Change-Id: I90358d27c66e1ec8228419ae0fa463c98e2cb5e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237627
Reviewed-by: William Hesse <whesse@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2022-03-30 22:18:50 +00:00
William Hesse
3f0988bc17
[infra] Allow upload of SDK to CIPD to fail in SDK builders
...
Change-Id: Ib8272650c7c468127c00a54e6bab679131deff5f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237366
Auto-Submit: William Hesse <whesse@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
2022-03-15 17:27:18 +00:00
Jonas Termansen
b9c92fbff0
[infra] Upload Dart SDK builds to Flutter cipd.
...
Fixes: https://github.com/dart-lang/sdk/issues/40690
Change-Id: If2919ba6e1b7a482b92b26045199599fa7935ba5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236160
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: Jonas Termansen <sortie@google.com >
2022-03-14 12:34:28 +00:00
Jonas Termansen
73d1ccb2af
[infra] Rely on the default ACL when uploading release artifacts.
...
The dart-archive bucket default ACL has been changed to make all
uploaded objects public. Therefore, we no longer need to specify an ACL
on upload. This change enables the scripts to work with uniform bucket
ACLs.
The bucket cannot be switched to uniform ACLs until this change reaches
the stable branch or it won't be possible to release Dart.
This change removes the uses of the gsutil -a public-read option from
the release scripts.
Change-Id: I27a76b9849771ddc380576ffe962926ebfbf4fc6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221341
Commit-Queue: Jonas Termansen <sortie@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
2021-11-26 11:34:04 +00:00
Alexander Thomas
1bab406d8e
[infra] Migrate debian-package builder to python3
...
Change-Id: Ie189665ba7cc71b2bca28f9c06d4247b27a804ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195500
Reviewed-by: William Hesse <whesse@google.com >
2021-04-15 11:52:54 +00:00
Alexander Thomas
b5c63ce757
[infra] Migrate scripts to python3
...
* Migrate to python3; drop python support.
* Update Windows toolchain support.
* Remove some unused methods.
* Python 2.7 is still needed on Windows.
* Update gsutil to a version that supports python3.
Fixes: https://github.com/dart-lang/sdk/issues/28793
TEST=Manually tested common user journeys.
Change-Id: I663a22b237a548bb82dc2e601e399e3bc3649211
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192182
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2021-04-15 10:10:20 +00:00
Alexander Thomas
6e82beea2e
[infra] Remove remaining GSUtil.GSUTIL_IS_SHELL_SCRIPT reference
...
TBR=whesse@google.com
Change-Id: I09d8fd079acfd9aeca01d8af86394e2bb79beae8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150744
Reviewed-by: Alexander Thomas <athom@google.com >
2020-06-11 05:29:33 +00:00
Alexander Thomas
1e5b0182ca
[infra] Remove obsolete buildbot paths/terms
...
https://github.com/dart-lang/sdk/issues/42247
Change-Id: Ia0b19677c655bc768f00be77df8b0162ac9e7bea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150629
Auto-Submit: Alexander Thomas <athom@google.com >
Commit-Queue: William Hesse <whesse@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2020-06-10 20:59:46 +00:00
Martin Kustermann
d7e2f9ba3b
[infra] Remove wheezy left overs from SDK
...
Also removes some dart editor related code which is unused nowadays.
Related https://dart-review.googlesource.com/c/sdk/+/150104
Change-Id: I97f91a35e82af09ac715a4eb93a945f335a71d5e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150106
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
2020-06-04 18:32:29 +00:00
Alexander Thomas
97afe8410a
[beta] Support the beta channel in SDK scripts
...
Fixes https://github.com/dart-lang/sdk/issues/40992
Change-Id: Icc6888c94517667a184931d3e690db2fe67cc0ca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139814
Reviewed-by: William Hesse <whesse@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
2020-03-19 07:49:38 +00:00
Alexander Thomas
c816525c29
[infra] Add support for the beta channel to promote.py
...
Closes https://github.com/dart-lang/sdk/issues/40984
Change-Id: I0459b3709cc008890d4d66c3b0f98cc5b4fd6b36
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139281
Reviewed-by: William Hesse <whesse@google.com >
2020-03-13 10:53:26 +00:00
Alexander Thomas
e9c3eebef1
[infra] Add handling of signed SDK directories to promote.py
...
Copy the signed SDK directory to release first (if it exists). Then copy
only those unsigned files that have no signed counterparts.
* Add --version alias and remove SVN reference from --revision help.
* Fix --dry-run.
* Add new base_directory to GCS namer.
b/139027087
Change-Id: I4163eb56494bfa92ab1e5686cf089136d63881fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115860
Reviewed-by: William Hesse <whesse@google.com >
2019-09-09 07:10:41 +00:00
Nate Bosch
55f81f2210
Mass format python with yapf
...
- Add `.style.yapf` with configuration to use Google style.
- Run `yapf` on all `.py` files in this repo.
- Manually fix one trailing space in a doc string.
- Run `git cl format runtime` to satisfy presubmit.
Change-Id: I7e6bd11e91f07926b9188362599af398551eed79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111600
Commit-Queue: Nate Bosch <nbosch@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
2019-08-05 20:34:31 +00:00
Jonas Termansen
0a0eac5038
[infra] Build Linux ARM architectures in tools/bots/dart_sdk.py.
...
Change-Id: I0ab9a2c798bf95866f3139b2d3bf25fea5475a17
Reviewed-on: https://dart-review.googlesource.com/c/88327
Reviewed-by: William Hesse <whesse@google.com >
2019-01-03 14:37:35 +00:00
Morten Krogh-Jespersen
5862a92160
Adding write-result-log output to bots.py.
...
Change-Id: I57bbfa48fc204af63f12632f8b0a42a90a5b751c
Reviewed-on: https://dart-review.googlesource.com/5200
Reviewed-by: William Hesse <whesse@google.com >
2017-09-12 14:00:11 +00:00
Alexander Thomas
6c81e20c83
Add support for try bots to bot_utils
...
Bug:
Change-Id: Ic7cab15974e1786f26b744b28068b8971a2d746e
Reviewed-on: https://dart-review.googlesource.com/4421
Reviewed-by: William Hesse <whesse@google.com >
2017-09-11 07:13:22 +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
Bob Nystrom
8d90363dce
Start getting the DDC bot to run tests using test.dart.
...
R=vsm@google.com
Review-Url: https://codereview.chromium.org/2960343002 .
2017-06-28 16:50:27 -07: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
Terry Lucas
f27144d7b5
Roll 50: Updated for push to origin/master.
...
TBR=jacobr@google.com
Review-Url: https://codereview.chromium.org/2875773003 .
2017-05-10 18:16:51 -07:00
William Hesse
1580d6d73f
Print hashes of uploaded files into the builder log, for later verification.
...
BUG=
R=sortie@google.com
Review URL: https://codereview.chromium.org/2506473003 .
2016-11-17 11:44:44 +01:00
Rico Wind
d8fa5d5b31
Archive unstripped dart binaries on the sdk builders
...
R=whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/1704323002 .
2016-02-18 08:48:13 +01:00
William Hesse
eafdd42501
Revert the debugging changes that added vm abort flag and core dumps.
...
Revert "Add '--abort-on-assertion-errors' to test runner's dart2js commands."
This reverts commit a8e54625da .
Revert "Add abort-on-assertion flag to dart2js unit test runner."
This reverts commit b42443bd26 .
Revert "Enable coredumps for dart2js unit tests on buildbot."
This reverts commit 5c8b76734c .
BUG=https://github.com/dart-lang/sdk/issues/25782
R=vegorov@google.com
Review URL: https://codereview.chromium.org/1699043003 .
2016-02-16 15:36:24 +01:00
William Hesse
5c8b76734c
Enable coredumps for dart2js unit tests on buildbot.
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org/1685743004 .
2016-02-11 14:44:15 +01:00
Keerti Parthasarathy
0e681885a9
on gcs, move docs for be to builds dir, and dev & stable to dev/stable
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/1647293002 .
2016-02-01 08:25:29 -08: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
William Hesse
9163181e0e
Remove custom .boto file path in tools.
...
BUG=
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//1315343002 .
2015-08-27 11:36:05 +02:00
keertip
89b79c8dd2
change gcs dir structure for docs generated by dartdoc
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org//1229683002 .
2015-07-09 08:55:39 -07:00
keertip
91b2281e08
add dartdoc to third_party/pkg, run dartdoc to generate docs for sdk and upload to GCS
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org//1164423008 .
2015-06-15 09:25:44 -07:00
ricow@google.com
8ea7c1797a
Added sha256 sums for build outputs
...
BUG: https://code.google.com/p/dart/issues/detail?id=20355
R=kevmoo@google.com
Review URL: https://codereview.chromium.org//440233005
Patch from Kenneth Endfinger <kaendfinger@gmail.com >.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38971 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 09:30:13 +00:00
ricow@google.com
3fba2124c9
Add archiving of android zip files.
...
These are needed for mobile debugging from non-editor tools
Review URL: https://codereview.chromium.org//343653009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37574 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-21 10:15:38 +00:00
whesse@google.com
9e754ca28b
Remove the dependency of tools/bot/bot_utils.py on tools/utils.py
...
This is needed so that the multivm builder can use bot_utils.py without
checking out tools/gyp, which breaks the multivm build.
BUG=
TBR=ricow
Review URL: https://codereview.chromium.org//289983003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36296 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 13:43:51 +00:00
ricow@google.com
a222643ab0
Add annotated steps script for validating that the version on dev and stable is always increasing when we do new builds.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//261283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35734 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-05 09:43:27 +00:00
ricow@google.com
ca45618622
Add archiving of src tarball and debian packages
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//198723006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34155 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 07:41:32 +00:00
ricow@google.com
be5dd61c7f
Initial refactorings to support archiving the src and debian package builds.
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//197313010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33747 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 14:11:20 +00:00
ricow@google.com
c166587b61
Fix error where we are looking the gsutil script in the wrong location.
...
With this change we will look in the specific dart repo location first and then afterwards search path.
Additionally, give an error if we require the dart repo version but can't find it.
R=whesse@google.com
Review URL: https://codereview.chromium.org//189823004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33423 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 12:24:58 +00:00
ricow@google.com
3e7028653f
Reland 33381, always use the dart repo version of gsutil for apk archiving
...
Review URL: https://codereview.chromium.org//190683002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33421 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 11:53:48 +00:00
ricow@google.com
5ce2372fd1
Revert r33381
...
Review URL: https://codereview.chromium.org//188643004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33383 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 17:03:53 +00:00
ricow@google.com
064a6de3e9
Always use the dart repo version of gsutil for the apk upload
...
The bot version does not support the acl setting (at least not using the current gsutil syntax)
R=whesse@google.com
Review URL: https://codereview.chromium.org//184633008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33381 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 16:52:35 +00:00
ricow@google.com
fdb1686b0a
Archive dartium on android builds
...
Set internal acls for now.
R=kustermann@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//185583003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33368 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 12:14:40 +00:00
kustermann@google.com
eec532904d
Only archive apidocs if they are not already there
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//70223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30193 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 12:45:29 +00:00
kustermann@google.com
a1dab0d6b3
Implemented archiving of apidocs for all channels
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//59453012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30109 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 12:30:31 +00:00
kustermann@google.com
e3491d8df9
promote.py: Archive installers to new gs://dart-archive bucket when promoting
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//54543007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29749 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 15:09:32 +00:00