Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3046)

Unified Diff: appengine/findit/templates/config.html

Issue 2272953002: [Findit] Moving check flake parameters to config (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Updating swarming settings config example Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/model/wf_config.py ('k') | appengine/findit/waterfall/flake/recursive_flake_pipeline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/templates/config.html
diff --git a/appengine/findit/templates/config.html b/appengine/findit/templates/config.html
index 157ce44a34ce6bb2ed6c0854c10442370c9c9128..6bbb15766d07b95991f10d5c6f78dc209fe45b6f 100644
--- a/appengine/findit/templates/config.html
+++ b/appengine/findit/templates/config.html
@@ -32,6 +32,7 @@
findit.swarmingSettings = {{ swarming_settings | tojson | safe }};
findit.downloadBuildDataSettings = {{ download_build_data_settings | tojson | safe }};
findit.actionSettings = {{ action_settings | tojson | safe }};
+ findit.checkFlakeSettings = {{ check_flake_settings | tojson | safe }};
function getJsonOfTextarea(textId) {
return JSON.parse($('#' + textId).val());
@@ -71,6 +72,7 @@
'swarming_settings': getJsonOfTextarea('swarming-settings'),
'download_build_data_settings': getJsonOfTextarea('download-build-data-settings'),
'action_settings': getJsonOfTextarea('action-settings'),
+ 'check_flake_settings': getJsonOfTextarea('check-flake-settings')
};
$.post('/waterfall/config', { data: JSON.stringify(newConfig) }).done(function(){
window.location.replace(createUrl(null)); // Reload after successful saving.
@@ -92,6 +94,7 @@
$('#swarming-settings').val(getStringFromJson(findit.swarmingSettings));
$('#download-build-data-settings').val(getStringFromJson(findit.downloadBuildDataSettings));
$('#action-settings').val(getStringFromJson(findit.actionSettings));
+ $('#check-flake-settings').val(getStringFromJson(findit.checkFlakeSettings))
if ({{ version }} < 2) {
$('#previous-version-button').attr('disabled', 'disabled');
@@ -146,6 +149,10 @@
Action Settings for identified culprits or suspects:<br>
<textarea id="action-settings" rows="10" cols="80"></textarea>
</div>
+ <div>
+ Check Test Flakiness Settings:<br>
+ <textarea id="check-flake-settings" rows="10" cols="80"></textarea>
+ </div>
<br>
<button type="submit" id="save-button">Save</button>
</body>
« no previous file with comments | « appengine/findit/model/wf_config.py ('k') | appengine/findit/waterfall/flake/recursive_flake_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698