Commit Graph
37 Commits
Author SHA1 Message Date
Mihai PLESA 49874507d1 fixed line lengths to 80 and do autopep8 2021-10-29 17:54:41 -05:00
Matt Bacchi 04203ba6b6 Revert "Merge pull request #6191 from brave/devops_1246"
This reverts commit d2d2e4885b, reversing
changes made to 276660500f.
2020-08-05 10:45:47 -06:00
Matt Bacchi 40e13e5d9d Fix pep8 tests 2020-07-29 10:19:40 -06:00
Matt Bacchi 06561b4302 Use passphrase in aptly publishing 2020-07-28 16:41:32 -06:00
Matt Bacchi 52e006735b Use -batch to avoid requiring a tty 2020-07-27 15:23:18 -06:00
Matt Bacchi 0aa2fdf299 Unlock GPG key by signing a temp file 2020-07-27 15:09:04 -06:00
Matt Bacchi cba95a746b Use full home directory vs. $HOME env variable 2020-07-23 10:45:44 -06:00
Matt Bacchi 6afa703563 Set GNUPGHOME in subprocess environment 2020-07-22 12:07:20 -06:00
Matt Bacchi 91993eed99 Use GNUPGHOME for release channel signing
To separate nightly/dev/beta and release channel GPG
keys, we are using a different directory now. This will
allow us to run these jobs simultaneously now and will
prevent errors if the release key is mounted from the
signer server at the time another channel is signing.

Resolves: https://github.com/brave/devops/issues/1246
2020-07-22 11:52:59 -06:00
Matt Bacchi 2b03c56593 Replace URL query parameter authentication with Authentication header
Github is deprecating the query parameter authentication style.

Resolves: https://github.com/brave/devops/issues/2507
2020-05-01 15:32:20 -06:00
Matt Bacchi 2355eab1e1 Fix PEP8 tests(line length) 2020-04-08 16:47:58 -06:00
Matt Bacchi 48b76ff59a Skip Github download, assume packages are already present 2020-04-08 16:39:10 -06:00
Mihai Plesa e95a569e4a added github upload for android apks 2020-01-15 11:20:26 +00:00
Matt Bacchi e557a34787 Run linux signing scripts from the same checked out repository
Fixes: https://github.com/brave/brave-browser/issues/6991
2019-11-18 15:09:42 -07:00
Matt Bacchi 3b5929d87c Fix npm run pep8 errors 2019-11-15 13:08:06 -07:00
Matt Bacchi 1846a5209b Kill any gpg-agent processes before starting 2019-11-15 12:57:55 -07:00
Matt Bacchi 9e5d4de087 Unlock GPG signing key before calling upload scripts 2019-11-15 12:57:55 -07:00
Matt Bacchi 50d3c8c7d0 Use correct path; avoid calling deprecated expect script
Fixes: https://github.com/brave/brave-browser/issues/6761
2019-11-15 12:57:55 -07:00
Matt Bacchi 7dfc5d6bee Remove Linux packages older than 60 days from repositories
Fixes: https://github.com/brave/brave-browser/issues/6060
2019-09-18 11:16:23 -04:00
Matt Bacchi f45ace5dd2 Correct other formatting errors 2019-08-15 13:02:47 -06:00
Matt Bacchi 35f17fc261 Fix syntax error
Fixes: https://github.com/brave/brave-browser/issues/5677
2019-08-15 10:33:16 -06:00
aaronsantamaria a4f26cda27 Merge pull request #3079 from brave/devops_915
Added code to unmount gnupg filesystem if key for nightly/dev/beta found
2019-08-14 16:45:32 -05:00
Matt Bacchi 666400a913 Remove file if found instead of renaming during linux signing
Fixes: https://github.com/brave/brave-browser/issues/5600
2019-08-08 09:45:48 -06:00
aaronsantamaria 986fd3a6f8 Fixed pep8 issues 2019-08-05 15:15:43 -05:00
aaronsantamaria e5f70b3d47 Added code to unmount gnupg filesystem if key for nightly/dev/beta found 2019-08-01 22:00:26 -05:00
Matt Bacchi 2a20988a2c Avoid removing files that match a list of patterns
Currently the list only includes ".*keyring.*" but it can
be easily added to in the future.
2019-05-15 09:25:19 -06:00
Matt Bacchi 74dcdb10ac Remove linux packages older than 120 days
Fixes https://github.com/brave/brave-browser/issues/4436
2019-05-14 13:41:37 -06:00
Matt Bacchi 172b88dc11 Remove unused library import 2019-04-18 10:06:00 -04:00
Matt Bacchi e458eb1b0e Remove linux packages older than 120 days
For testing purposes this does not remove but instead reports
on what files would be removed and the age of the file.

Fixes https://github.com/brave/devops/issues/739
2019-04-18 10:06:00 -04:00
Mihai Plesa 1a3188b4f1 added rebase when version mismatching in b-b 2019-03-15 16:27:50 +00:00
Mihai Plesa 991e3e953b fixed lines that were too long 2019-03-14 17:29:27 +00:00
Mihai Plesa 7c4dad6ae5 added nightly channel 2019-03-14 12:26:40 +00:00
Matt Bacchi f0a53d8381 Fix pep8 lint errors 2019-01-23 16:14:49 -07:00
Matt Bacchi de0fca6dfa More PR 1280 code review fixes
* Use full gpg key id vs. fingerprint
* Rename gpg key id variable
2019-01-17 14:16:37 -07:00
Matt Bacchi ca9ba36747 More PR 1280 code review fixes
* Verify release list is not empty
* Use full path to gpg2 command
* Move 2 sections of code into their
  own methods for better testability
* Spelling corrections
2019-01-15 15:12:33 -07:00
Matt Bacchi a46b5b9f8c Fixes to PR 1280 to address code review
* Attempt to avoid leaking GitHub api key in the
  case where a connection error occurs
* Rename rpm/deb file if they already exist in
  the dist directory before downloading
* Add expect script
* Remove unused methods from import statements
* Remove unused variable
* Run aptly.conf file through jq for formatting
* Fix test for GPG_KEY_ID in upload scripts
2019-01-11 08:21:52 -07:00
Matt Bacchi c9416a3c15 Download from GitHub release, sign then upload the Linux
packages to RPM/APT repositories

Fixes: https://github.com/brave/brave-browser/issues/2878
2019-01-09 14:49:07 -07:00