Skip to content

Commit 3d906a4

Browse files
authored
Merge branch '2.16' into upgrade_216
2 parents 4932cad + 0633624 commit 3d906a4

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/add-remove-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Run add remove labels
4040
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.RHODS_CI_BOT_PAT }}
4242
GITHUB_PR_NUMBER: "${{ github.event.pull_request.number || github.event.issue.number }}"
4343
GITHUB_EVENT_ACTION: ${{ github.event.action }}
4444
GITHUB_EVENT_REVIEW_STATE: ${{ github.event.review.state }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ENV BIN_DIR="$HOME_DIR/.local/bin"
1212
ENV PATH="$PATH:$BIN_DIR"
1313

1414
RUN apt-get update \
15-
&& apt-get install -y ssh gnupg software-properties-common curl gpg wget vim \
15+
&& apt-get install -y ssh gnupg curl gpg wget vim \
1616
&& apt-get clean autoclean \
1717
&& apt-get autoremove --yes \
1818
&& rm -rf /var/lib/{apt,dpkg,cache,log}/

conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def pytest_addoption(parser: Parser) -> None:
3333
runtime_group = parser.getgroup(name="Runtime details")
3434
upgrade_group = parser.getgroup(name="Upgrade options")
3535
platform_group = parser.getgroup(name="Platform")
36+
must_gather_group = parser.getgroup(name="MustGather")
3637

3738
# AWS config and credentials options
3839
aws_group.addoption(
@@ -112,6 +113,13 @@ def pytest_addoption(parser: Parser) -> None:
112113
help="RHOAI/ODH applications namespace",
113114
)
114115

116+
must_gather_group.addoption(
117+
"--collect-must-gather",
118+
help="Indicate if must-gather should be collected on failure.",
119+
action="store_true",
120+
default=False,
121+
)
122+
115123

116124
def pytest_cmdline_main(config: Any) -> None:
117125
config.option.basetemp = py_config["tmp_base_dir"] = f"{config.option.basetemp}-{shortuuid.uuid()}"

utilities/jira.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def is_jira_open(jira_id: str, admin_client: DynamicClient) -> bool:
5252
# Check if the operator version in ClusterServiceVersion is greater than the jira fix version
5353
jira_fix_versions: list[Version] = []
5454
for fix_version in jira_fields.fixVersions:
55-
if _fix_version := re.search(r"\d.\d+.\d+", fix_version.name):
55+
if _fix_version := re.search(r"\d+\.\d+(?:\.\d+)?", fix_version.name):
5656
jira_fix_versions.append(Version(_fix_version.group()))
5757

5858
if not jira_fix_versions:

0 commit comments

Comments
 (0)