Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phase1: AnyBranchScheduler: make treeStableTimer configurable #40

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions phase1/config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ password = example

[repo]
url = https://git.openwrt.org/openwrt/openwrt.git
tree_stable_timer = 900

# branches should be listed by decreasing build priority order, typically oldest branch first (less build intensive)
# branch section name should match branch "name" option until signall.sh is reworked
Expand Down
3 changes: 2 additions & 1 deletion phase1/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ work_dir = os.path.abspath(ini["general"].get("workdir", "."))
scripts_dir = os.path.abspath("../scripts")

repo_url = ini["repo"].get("url")
tree_stable_timer = ini["repo"].getint("tree_stable_timer", 15 * 60)

rsync_defopts = ["-v", "--timeout=120"]

Expand Down Expand Up @@ -509,7 +510,7 @@ c["schedulers"].append(
AnyBranchScheduler(
name="all",
change_filter=util.ChangeFilter(branch=branchNames),
treeStableTimer=15 * 60,
treeStableTimer=tree_stable_timer,
builderNames=builderNames,
)
)
Expand Down