-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrei Stepanov <[email protected]>
- Loading branch information
1 parent
f9a8386
commit 166b93c
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* This file is part of kaijs | ||
* Copyright (c) 2021, 2022 Andrei Stepanov <[email protected]> | ||
* Copyright (c) 2021, 2022, 2024 Andrei Stepanov <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
|
@@ -164,15 +164,15 @@ const schema_brew_build_complete = Joi.object({ | |
* ^(supp-)?rhel-[89]\.\d+\.\d+(-alpha)?(-beta)?(-z)?(-llvm-toolset|-go-toolset|-rust-toolset|.+-stack)?-gate$ | ||
*/ | ||
const schema_brew_build_tag_is_gate_tag_brew_build = Joi.string().pattern( | ||
/^(supp-)?rhel-[89]\.\d+\.\d+(-alpha)?(-beta)?(-z)?(-llvm-toolset|-go-toolset|-rust-toolset|.+-stack)?-gate$/, | ||
/^(supp-)?rhel-([89]|10|11|12)\.\d+\.\d+(-alpha)?(-beta)?(-z)?(-llvm-toolset|-go-toolset|-rust-toolset|.+-stack)?-gate$/, | ||
); | ||
|
||
/** | ||
* ^(advanced-virt-[\w\.]+-)?(rhel-[89]\.\d+\.\d+(-alpha)?(-beta)?(-z)?-modules-gate)$ | ||
*/ | ||
const schema_brew_build_tag_is_gate_tag_redhat_module_build = | ||
Joi.string().pattern( | ||
/^(advanced-virt-[\w\.]+-)?(rhel-[89]\.\d+\.\d+(-alpha)?(-beta)?(-z)?-modules-gate)$/, | ||
/^(advanced-virt-[\w\.]+-)?(rhel-([89]|10|11|12)\.\d+\.\d+(-alpha)?(-beta)?(-z)?-modules-gate)$/, | ||
); | ||
|
||
export const schemaError = Joi.string().error( | ||
|