Commit Graph
30 Commits
Author SHA1 Message Date
Mihai PLESA 49874507d1 fixed line lengths to 80 and do autopep8 2021-10-29 17:54:41 -05:00
Mihai PLESA dd268ba51d removed some unused python scripts (#8543)
* removed some unused python scripts

* more cleanup
2021-04-15 16:31:56 +01:00
Michael Herrmann 2f6f0200cb Make Windows silent installer truly silent (#8364)
Before this commit, there were two silent installers: a 1 MB online
"stub" installer and a standalone installer. Both opened a Brave window,
so were not truly silent. To fix this, the online installer was removed
entirely. And the standalone installer was updated to be built from a
new version of the Omaha update framework, which passes the flag
`--do-not-launch-chrome` to Brave's installer.
2021-04-13 18:01:19 +02:00
Mihai PLESA d3b8931eda arm64 macos support 2020-11-21 19:48:52 +00:00
Mihai Plesa 411c60a87e added more tests to github upload 2020-01-15 19:13:40 +00:00
Mihai Plesa 6743b96be0 fixed github upload 2020-01-15 16:01:47 +00:00
Mihai Plesa e95a569e4a added github upload for android apks 2020-01-15 11:20:26 +00:00
Mihai Plesa a728e5499b removed checksum upload 2019-12-06 10:32:52 +00:00
Matt Bacchi 38ad9bfe89 Add ability to publish GitHub pre-release as full release
Fixes: https://github.com/brave/brave-browser/issues/6523
2019-10-17 17:35:49 -04:00
bridiver c7985f8b9d remove chromedriver dep that was carried over from muon and isn't needed at all 2019-07-10 16:38:31 -04:00
Mihai PLESA df301e5dc3 added generation and upload of pkg for all channels (#2532) 2019-05-29 15:47:57 +01:00
Mihai PLESA 397b6c231b fixed darwin upload (#2499) 2019-05-24 23:55:21 +01:00
Mihai PLESA 18cf2ec279 added upload for nightly pkg and test coverage (#2477) 2019-05-24 16:17:56 +01:00
Matt Bacchi 5bec8c5c64 Revert "Add urllib3 retry logic for upload POST action"
This reverts commit 353b377358.
2019-05-22 08:40:11 -06:00
brave-builds 353b377358 Add urllib3 retry logic for upload POST action
This should initiate 5 retries when we receive
502 Bad Gateway errors uploading to GitHub.

urllib3 is only installed on the sf-mac-pro build
worker, and we use sys.path.append to add the path
to the package because it doesn't find it by default.
We will use pip to install urllib3 on the linux
and windows AWS workers in the build job itself.

Fixes https://github.com/brave/devops/issues/943
2019-05-20 14:59:14 -06:00
Matt Bacchi 8dae618ad0 Revert "Add urllib3 retry logic for upload POST action"
This reverts commit 6acd7eab4d.
2019-05-16 16:56:46 -06:00
Matt Bacchi 6acd7eab4d Add urllib3 retry logic for upload POST action
This should initiate 5 retries when we receive
502 Bad Gateway errors uploading to GitHub.

Fixes https://github.com/brave/devops/issues/943
2019-05-15 14:45:29 -06:00
Matt Bacchi 1eae726e0f Fix for failing pep8 tests
Pycodestyle is starting to fail invalid escape sequences
that will be illegal in Python 3.7 and in this example
we were using \. and \s which will be invalid at that
time.

We will use character classes instead.
2019-05-09 13:24:13 -06:00
Matt Bacchi ad3576f77a Fix pattern match for chromedriver_version and throw exception if not found
Add test for this function

Fixes https://github.com/brave/brave-browser/issues/4372
2019-05-09 10:30:08 -06:00
Matt Bacchi d4d4fe478a Fix failing tests 2019-03-27 15:15:42 -06:00
Matt Bacchi 5097b734ce Add script to update release body with changelog
Additional updates:

* multiple updates to support Python 3
* rename method get_draft
* remove duplicate method
* move method to helpers
2019-03-27 14:06:34 -06:00
Mihai Plesa 7c4dad6ae5 added nightly channel 2019-03-14 12:26:40 +00:00
ryanml 342d9795c2 Fixing pep8 errors 2019-01-29 13:49:10 -07:00
Brian Clifton a82068b5de Make it easy to run unit tests for our Python scripts + increase coverage
- Fixes broken unit tests
- Fixes linting errors
- Adds tests for upload scenario
- Adds test for retry scenario (making sure calls are in order)

New `npm run` task created; runs linter + tests. To try it, run:
`npm run test-python-scripts`
2019-01-15 16:27:10 -07:00
Matt Bacchi e34c28055d Automate the upload of installers to omaha-server
Download install packages from GitHub release, then
upload to omaha/sparkle.

Thanks to @jumde for assistance on this.

Fixes https://github.com/brave/brave-browser/issues/2578
2018-12-14 15:54:49 -07:00
Brian R. Bondy 905114c58a Format python files to PEP8 2018-11-13 13:05:29 -05:00
Matt Bacchi 6810cc412b Upload windows stub/standalone installers to Github.
Also update DEPS to use the most recent changes that
build and sign the installers during the
`create_dist --build_omaha` step.

Fixes https://github.com/brave/brave-browser/issues/1992
2018-11-05 19:14:43 -05:00
Mihai Plesa d6383e2489 fixed github upload and added tests 2018-10-26 16:23:14 +01:00
Ryan Gerstenkorn 4e5579f359 Fix darwin dmg name in upload script
This resolves brave/brave-browser#565 by passing the filename and
changing the match pattern to:

 'Brave-Browser-' + channel.capitalize() + r'.*\.dmg$'

Also adds tests for yield_brave_packages in scripts/upload.py
2018-07-16 21:34:13 -05:00
Matt Bacchi 8a13f2ff36 Update upload/publish tools to mimic browser-laptop PR #13781
* Add helpers
* Add extra logging to upload.py
* Add force upload option
* Add upload retry logic
* Add initial python tests
* Add channel name to release
* Move publish logic into publish_release.py
2018-06-22 14:22:45 -04:00