Skip to content
Open
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
7 changes: 4 additions & 3 deletions Containerfile.c10s
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ RUN pip3 install --no-cache-dir \
specfile \
pytest \
pytest-asyncio \
GitPython>=3.1.0 \
"GitPython>=3.1.0" \
unidiff \
PyYAML>=5.1 \
sentry-sdk>=2.13.0 \
"PyYAML>=5.1" \
"sentry-sdk>=2.13.0" \
typer \
&& cd /usr/local/lib/python3.12/site-packages \
&& patch -p5 -i /tmp/openinference-reasoning.patch \
&& patch -p5 -i /tmp/openinference-streaming.patch
Expand Down
7 changes: 4 additions & 3 deletions Containerfile.c9s
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@ RUN python3.11 -m venv --system-site-packages /opt/beeai-venv \
redis \
specfile \
koji \
GitPython>=3.1.0 \
"GitPython>=3.1.0" \
unidiff \
PyYAML>=5.1 \
sentry-sdk>=2.13.0 \
"PyYAML>=5.1" \
"sentry-sdk>=2.13.0" \
typer \
&& cd /opt/beeai-venv/lib/python3.11/site-packages \
&& patch -p5 -i /tmp/openinference-reasoning.patch \
&& patch -p5 -i /tmp/openinference-streaming.patch
Expand Down
3 changes: 3 additions & 0 deletions Containerfile.supervisor
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN update-ca-trust

RUN dnf -y install --allowerasing \
# Run time dependencies
git \
krb5-workstation \
python3 \
python3-backoff \
Expand All @@ -33,6 +34,8 @@ RUN dnf -y install --allowerasing \
arize-phoenix-otel \
redis \
specfile \
"sentry-sdk>=2.13.0" \
"GitPython>=3.1.0" \
&& dnf -y remove gcc gcc-c++ python3-devel \
&& dnf clean all

Expand Down
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,30 @@ supervisor-collect:
$(COMPOSE_SUPERVISOR) run --rm \
supervisor python -m ymir.supervisor.main $(DEBUG_FLAG) collect --no-repeat

.PHONY: triage-issue
triage-issue:
@if [ -z "$(JIRA_ISSUE)" ]; then \
echo "Usage: make triage-issue JIRA_ISSUE=RHEL-12345 [DRY_RUN=true]"; \
exit 1; \
fi
$(COMPOSE_AGENTS) run --rm \
-e JIRA_ISSUE=$(JIRA_ISSUE) \
-e DRY_RUN=$(DRY_RUN) \
-e AUTO_CHAIN=false \
triage-agent

.PHONY: process
process:
@if [ -z "$(JIRA_ISSUE)" ]; then \
echo "Usage: make process JIRA_ISSUE=RHEL-12345 [DRY_RUN=true]"; \
exit 1; \
fi
$(COMPOSE_AGENTS) run --rm \
-e JIRA_ISSUE=$(JIRA_ISSUE) \
-e DRY_RUN=$(DRY_RUN) \
-e AUTO_CHAIN=true \
triage-agent

.PHONY: process-issue
process-issue:
$(COMPOSE_SUPERVISOR) run --rm \
Expand Down
Loading
Loading