π OpenHands: AI-Driven Development
remove swe-bench build workflow (#1726)
Xingyao Wang1d58917bc84e
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.ymlindex afbae415b5..426a6e47fc 100644--- a/.github/workflows/ghcr.yml+++ b/.github/workflows/ghcr.yml@@ -28,7 +28,7 @@ jobs:strategy:matrix:- image: ["app", "evaluation", "sandbox"]+ image: ["app", "sandbox"]steps:- name: checkoutdiff --git a/containers/README.md b/containers/README.mdindex 3094259c80..1f66cbd6cf 100644--- a/containers/README.md+++ b/containers/README.md@@ -8,6 +8,4 @@ by the `ghcr.yml` workflow.```docker build -f containers/app/Dockerfile -t opendevin .docker build -f containers/sandbox/Dockerfile -t sandbox .-docker build -f containers/evaluation/Dockerfile -t evaluation evaluation/SWE-bench/-```diff --git a/containers/evaluation/Dockerfile b/containers/evaluation/Dockerfiledeleted file mode 100644index 9101eca6d3..0000000000--- a/containers/evaluation/Dockerfile+++ /dev/null@@ -1,41 +0,0 @@-FROM ubuntu:20.04--# https://github.com/princeton-nlp/SWE-bench/issues/15#issuecomment-1815392192-RUN apt-get update && \- apt-get install -y bash gcc git jq wget && \- apt-get clean && \- rm -rf /var/lib/apt/lists/*--RUN git config --global user.email "[email protected]"-RUN git config --global user.name "swebench"--RUN apt update && apt install -y build-essential--# Create new user-RUN useradd -ms /bin/bash swe-bench-USER swe-bench-WORKDIR /home/swe-bench--# Setup Conda-ENV PATH="/home/swe-bench/miniconda3/bin:${PATH}"-ARG PATH="/home/swe-bench/miniconda3/bin:${PATH}"-RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-`uname -m`.sh -O miniconda.sh \- && mkdir ~/.conda \- && bash miniconda.sh -b \- && rm -f miniconda.sh-RUN conda --version--# Setup SWE-Bench Env-COPY environment.yml .-RUN conda env create -f environment.yml--# Add commands-COPY ./commands.sh .-RUN . ./commands.sh--# Some missing packages-RUN pip install datasets python-dotenv gitpython--RUN conda init bash--CMD ["/bin/bash"]diff --git a/containers/evaluation/config.sh b/containers/evaluation/config.shdeleted file mode 100644index afcb2c228a..0000000000--- a/containers/evaluation/config.sh+++ /dev/null@@ -1,4 +0,0 @@-DOCKER_REGISTRY=ghcr.io-DOCKER_ORG=opendevin-DOCKER_IMAGE=eval-swe-bench-DOCKER_BASE_DIR=evaluation/SWE-bench