Simon Quigley
fc9e24b62b
Update templates for updated Jinja substitution variables.
5 years ago
Simon Quigley
5f198dc770
Massive cleanup of jobgenerator to allow for more flexible metadata.
5 years ago
Simon Quigley
c6f4117ab7
The removed timers were redundant.
5 years ago
Simon Quigley
1b502ee4e4
Add a decorator to TimerMetrics and wrap most of the functions.
5 years ago
Simon Quigley
28c7f2b397
Replace some timer calls.
5 years ago
Simon Quigley
86f658cb55
We can get away with being a little less verbose now.
5 years ago
Simon Quigley
b6d9050604
Move parsing the existing job data to another function, and actually make it functional.
5 years ago
Simon Quigley
c85822e495
Make job editing more verbose.
5 years ago
Simon Quigley
5fb09fda6d
Slightly clean that up.
5 years ago
Simon Quigley
bf8edaaf9d
Make sure we don't fail when loading the non-data-using release-mgmt template.
5 years ago
Thomas Ward
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)
5 years ago
Simon Quigley
b379ebb20d
Add useless merger info.
5 years ago
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
5 years ago
Simon Quigley
066fe8be08
Add the merger to the mgmt view.
6 years ago
Simon Quigley
4cda798504
Don't directly trigger the management job automatically, and create a master merger job.
6 years ago
Simon Quigley
872b968a1a
And another underscore.
6 years ago
Simon Quigley
33be3109fd
Add another missing underscore.
6 years ago
Simon Quigley
55f157a0f2
Bring the management job creation outside the scope of the main loop.
6 years ago
Simon Quigley
84cb5542c5
Add a missing underscore.
6 years ago
Simon Quigley
be0df4de34
Revert "Print the package_config for the management job."
...
This reverts commit 3189f14152
.
6 years ago
Simon Quigley
3189f14152
Print the package_config for the management job.
6 years ago
Simon Quigley
4e384845a2
Make data an optional argument, and only try to pull values from it if it is passed.
6 years ago
Simon Quigley
685228adfc
Change to using management jobs.
6 years ago
Simon Quigley
3a15d58a92
Remove extra line.
6 years ago
Simon Quigley
80f4d4697f
Add separate upload targets.
6 years ago
Simon Quigley
179887a432
Add support for unstable and stable branches.
6 years ago
Simon Quigley
0577c6b75e
Make default_branch a required key.
6 years ago
Simon Quigley
2112e13c3b
Prototype merger support.
6 years ago
Simon Quigley
0a866485a0
Also pass the release (manually inject it into the iterated variable).
6 years ago
Simon Quigley
816b53d71a
Fix variable name not adjusted after move.
6 years ago
Simon Quigley
c673922c69
Separate loading the config out into a separate function.
6 years ago
Simon Quigley
ae7eec1330
Split Jenkins authentication into a different function.
6 years ago
Simon Quigley
f57be5f8d4
Actually allow it to upload to Launchpad now.
6 years ago
Simon Quigley
555bcebb70
Make sure to substitute the release in, too.
6 years ago
Simon Quigley
23c2e62fe9
Correctly substitute the needed variables.
6 years ago
Simon Quigley
18f581836e
Add view sorting.
6 years ago
Simon Quigley
c95f014ab5
Cleanup and make the basic job functionality work.
6 years ago
Simon Quigley
2a0c9c241c
Use the correct path for the template.
6 years ago
Simon Quigley
593145e51e
Make the default function the Jenkins one.
6 years ago
Simon Quigley
5b1c7e39cb
Initial prototype code for the Jenkins bit of this.
6 years ago
Simon Quigley
b853cbb29f
Add parse_metadata function and rename the existing function to clone_metadata. Document both.
6 years ago
Simon Quigley
a98c025718
Add a clone_repository function.
6 years ago
Simon Quigley
4459f1e196
Initial commit.
6 years ago