apt-ghetto
04ea168cff
Clean up code
...
Summary:
* Remove unused import
* Remove unused variables
* Empty string is always False, don't check it twice
* Use os.path.join to create a path
Test Plan: Check that the behaviour is the same as before.
Reviewers: tsimonq2
Reviewed By: tsimonq2
Differential Revision: https://phab.lubuntu.me/D65
2020-04-23 04:43:20 -05:00
ce9e4a5080
"&", not "&".
2020-04-23 04:38:55 -05:00
17e3f7dc47
If the branch already exists, don't create it again.
2020-04-23 04:36:31 -05:00
a8aec7fc37
If we can't just push it after a fast-forward merge, something is wrong. Don't assume it's all fine.
2020-04-23 04:21:23 -05:00
c310fd6ced
Update hardcoded GPG pubkey fingerprint.
2020-04-23 02:40:56 -05:00
10adcf4555
Retry all builds to make sure flaky builds are less flaky.
2019-07-03 00:21:23 -05:00
Simon Quigley
4359bd14a5
Make sure all of the merger job have the merger management job as its upstream.
2019-04-13 15:54:37 -05:00
Simon Quigley
066fe8be08
Add the merger to the mgmt view.
2019-04-13 15:53:17 -05:00
Simon Quigley
4cda798504
Don't directly trigger the management job automatically, and create a master merger job.
2019-04-13 15:51:19 -05:00
Simon Quigley
872b968a1a
And another underscore.
2019-04-13 15:42:45 -05:00
Simon Quigley
33be3109fd
Add another missing underscore.
2019-04-13 15:41:25 -05:00
Simon Quigley
55f157a0f2
Bring the management job creation outside the scope of the main loop.
2019-04-13 15:39:03 -05:00
Simon Quigley
84cb5542c5
Add a missing underscore.
2019-04-13 15:38:14 -05:00
Simon Quigley
3f1c84609f
Don't forget to close the project tag.
2019-04-13 15:36:42 -05:00
Simon Quigley
be0df4de34
Revert "Print the package_config for the management job."
...
This reverts commit 3189f14152fdfbd8205e2cce8dc7748e1290d633.
2019-04-13 15:36:22 -05:00
Simon Quigley
3189f14152
Print the package_config for the management job.
2019-04-13 15:35:17 -05:00
Simon Quigley
4e384845a2
Make data an optional argument, and only try to pull values from it if it is passed.
2019-04-13 15:32:40 -05:00
Simon Quigley
685228adfc
Change to using management jobs.
2019-04-13 15:30:05 -05:00
Simon Quigley
eb286afbdd
Sleep for five minutes instead of two.
...
There's no way the build is uploaded, done, and published in two
minutes, let alone five, so there's little downside. This fixes the race
condition where Launchpad hasn't even reviewed the upload in the queue
in two minutes, and since we're already checking every five minutes,
this time gap makes sense.
2019-04-13 14:44:58 -05:00
Simon Quigley
624173d664
Remove the obsolete package.xml template.
2019-04-13 14:44:20 -05:00
Simon Quigley
e6d2571b10
Ensure the correct upload target is put in.
2019-04-13 14:41:11 -05:00
Simon Quigley
3f83cdf778
No wonder that isn't working, we didn't even download the tar yet! Fix that.
2019-04-13 13:53:57 -05:00
Simon Quigley
e69667bfff
Wrap it in a bash call.
2019-04-13 13:51:08 -05:00
Simon Quigley
037bfcb5cb
Try renaming the tars correctly.
2019-04-13 13:47:28 -05:00
Simon Quigley
3a15d58a92
Remove extra line.
2019-04-13 13:33:22 -05:00
Simon Quigley
80f4d4697f
Add separate upload targets.
2019-04-13 13:32:01 -05:00
Simon Quigley
179887a432
Add support for unstable and stable branches.
2019-04-13 13:27:09 -05:00
Simon Quigley
2b178685a0
Safely handle not being able to push; if we've made it this far, it should pass anyway.
2019-03-30 22:00:40 -05:00
Simon Quigley
7d3aa8f9ae
Create CI branches if they don't already exist.
2019-03-30 16:39:34 -05:00
Simon Quigley
61466cbda4
Hardcode a different KEY_ID in there.
2019-03-23 15:42:39 -05:00
Simon Quigley
1a0fafba29
Stop spamming the builders; only build so often.
2019-03-09 09:19:06 -06:00
Simon Quigley
db6cb3dbf9
Also add the default branch to the merger job.
2019-03-08 23:17:42 -06:00
Simon Quigley
b44de4d041
Remove job-specific SCM trigger.
2019-03-08 23:07:45 -06:00
Simon Quigley
c48324124c
cd to {{ NAME }} before doing anything.
2019-03-08 22:59:30 -06:00
Simon Quigley
0577c6b75e
Make default_branch a required key.
2019-03-08 22:55:14 -06:00
Simon Quigley
2112e13c3b
Prototype merger support.
2019-03-08 22:49:33 -06:00
Simon Quigley
6bf68cd794
Change break into a return True statement.
2019-03-08 21:34:02 -06:00
Simon Quigley
66b8bdb425
Correctly print binary_package_name.
2019-03-08 19:35:16 -06:00
Simon Quigley
6524ef6c62
Work around special case.
2019-03-08 19:19:49 -06:00
Simon Quigley
d722731db4
Return ppa_source, not ppa.
2019-03-08 18:59:55 -06:00
Simon Quigley
ce94e9c3b3
Use the correct version number.
2019-03-08 18:27:47 -06:00
Simon Quigley
1134f8545c
Prefix the variable names with arg.
2019-03-08 18:22:33 -06:00
Simon Quigley
27c966b477
Call the function differently.
2019-03-08 18:16:39 -06:00
Simon Quigley
08185dcaa4
5 mins -> 2 mins.
2019-03-08 18:15:33 -06:00
Simon Quigley
765f02edc7
Put the argument-based code in the __init__ for the function.
2019-03-08 18:09:11 -06:00
Simon Quigley
3fd9869417
lp_check.py, not lp_check.
2019-03-08 18:01:06 -06:00
Simon Quigley
819c0ae584
Add an LP buffer.
2019-03-08 17:52:35 -06:00
Simon Quigley
abe7e1d659
Poll every five minutes.
2019-03-08 16:31:00 -06:00
Simon Quigley
06385db5bb
Add SCM trigger.
2019-03-08 16:23:28 -06:00
Simon Quigley
0a866485a0
Also pass the release (manually inject it into the iterated variable).
2019-03-08 11:50:16 -06:00