Skip to content

Commit

Permalink
feat(buildbot-nix): support and configure channel wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Jan 21, 2025
1 parent ce4474f commit 5289ba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion applications/postbuildstepper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,9 @@ pub mod business {

debug!("configured PR source branches for channel creation: {source_branch_channels:#?}");

if source_branch_channels.contains(source_branch.as_str()) {
if source_branch_channels.contains(source_branch.as_str())
|| source_branch_channels.contains("*")
{
// also include the PR number as a channel name
Some(vec![number, source_branch])
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@
"scale-testing"
"visvere"
"holo-host-canary"
"*"
];
};
command = [ (lib.getExe' self.packages.${pkgs.system}.postbuildstepper "postbuildstepper") ];
Expand Down

0 comments on commit 5289ba1

Please sign in to comment.