42869ace27
Initial commit of the timer_metrics module.
2020-05-17 04:34:00 -05:00
86f658cb55
We can get away with being a little less verbose now.
2020-05-17 03:04:03 -05:00
b6d9050604
Move parsing the existing job data to another function, and actually make it functional.
2020-05-17 02:55:06 -05:00
c85822e495
Make job editing more verbose.
2020-05-17 01:51:46 -05:00
5fb09fda6d
Slightly clean that up.
2020-05-16 23:59:30 -05:00
bf8edaaf9d
Make sure we don't fail when loading the non-data-using release-mgmt template.
2020-05-16 23:57:07 -05:00
050cf6cb12
Bump the total lp_check allowed time to 6 hours from 2, to account for publisher maintenance.
2020-05-16 23:45:02 -05:00
f7e731faae
Multiple issues fixed.
...
- Variable use before assignment
- Unhandled edge cases where variables referenced may not have the subdata/indexes requested
- try/catch fixes where 'finally' references a variable that might not exist
- Unnecessary imports
- Added requirements.txt file with base module requirements (without version specificity at this time)
2020-05-12 17:47:14 -04:00
b379ebb20d
Add useless merger info.
2020-04-23 05:43:17 -05:00
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
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
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
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
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
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
765f02edc7
Put the argument-based code in the __init__ for the function.
2019-03-08 18:09:11 -06:00
Simon Quigley
819c0ae584
Add an LP buffer.
2019-03-08 17:52:35 -06:00
Simon Quigley
0a866485a0
Also pass the release (manually inject it into the iterated variable).
2019-03-08 11:50:16 -06:00
Simon Quigley
816b53d71a
Fix variable name not adjusted after move.
2019-03-08 11:48:02 -06:00
Simon Quigley
c673922c69
Separate loading the config out into a separate function.
2019-03-08 11:45:29 -06:00
Simon Quigley
ae7eec1330
Split Jenkins authentication into a different function.
2019-03-08 11:34:36 -06:00
Simon Quigley
f57be5f8d4
Actually allow it to upload to Launchpad now.
2019-03-02 23:37:52 -06:00
Simon Quigley
555bcebb70
Make sure to substitute the release in, too.
2019-03-02 22:57:31 -06:00
Simon Quigley
23c2e62fe9
Correctly substitute the needed variables.
2019-03-02 22:36:52 -06:00
Simon Quigley
18f581836e
Add view sorting.
2019-03-02 21:57:58 -06:00
Simon Quigley
c95f014ab5
Cleanup and make the basic job functionality work.
2019-03-02 21:42:31 -06:00
Simon Quigley
2a0c9c241c
Use the correct path for the template.
2019-03-02 21:26:05 -06:00
Simon Quigley
593145e51e
Make the default function the Jenkins one.
2019-03-02 21:25:20 -06:00
Simon Quigley
5b1c7e39cb
Initial prototype code for the Jenkins bit of this.
2019-03-02 21:23:31 -06:00
Simon Quigley
b853cbb29f
Add parse_metadata function and rename the existing function to clone_metadata. Document both.
2019-03-02 20:29:11 -06:00
Simon Quigley
a98c025718
Add a clone_repository function.
2019-03-02 18:25:11 -06:00
Simon Quigley
4459f1e196
Initial commit.
2019-03-02 17:06:26 -06:00