Title: [288735] trunk/Tools/CISupport/ews-build/loadConfig.py
Revision
288735
Author
[email protected]
Date
2022-01-28 03:35:36 -0800 (Fri, 28 Jan 2022)

Log Message

[ews] validate-change step fails while running for a try build
https://bugs.webkit.org/show_bug.cgi?id=235750

Reviewed by Jonathan Bedard.

* Tools/CISupport/ews-build/loadConfig.py:
(loadBuilderConfig):

Canonical link: https://commits.webkit.org/246528@main

Modified Paths

Diff

Modified: trunk/Tools/CISupport/ews-build/loadConfig.py (288734 => 288735)


--- trunk/Tools/CISupport/ews-build/loadConfig.py	2022-01-28 07:58:57 UTC (rev 288734)
+++ trunk/Tools/CISupport/ews-build/loadConfig.py	2022-01-28 11:35:36 UTC (rev 288735)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2021 Apple Inc. All rights reserved.
+# Copyright (C) 2018-2022 Apple Inc. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
@@ -27,7 +27,7 @@
 
 from buildbot.scheduler import AnyBranchScheduler, Periodic, Dependent, Triggerable, Nightly
 from buildbot.schedulers.trysched import Try_Userpass
-from buildbot.schedulers.forcesched import ForceScheduler, IntParameter, StringParameter, FixedParameter, CodebaseParameter
+from buildbot.schedulers.forcesched import ForceScheduler, StringParameter, FixedParameter, CodebaseParameter
 from buildbot.worker import Worker
 from buildbot.util import identifiers as buildbot_identifiers
 
@@ -98,7 +98,7 @@
                    project=FixedParameter(name='project', default=''),
                    branch=FixedParameter(name='branch', default=''))],
         # Add custom properties needed
-        properties=[IntParameter(name='patch_id', label='Patch id (not bug number)', required=True, maxsize=6),
+        properties=[StringParameter(name='patch_id', label='Patch id (not bug number)', regex='^[4-9]\d{5}$', required=True, maxsize=6),
                     StringParameter(name='ews_revision', label='WebKit git hash to checkout before trying patch (optional)', required=False, maxsize=40)],
     )
     c['schedulers'].append(forceScheduler)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to