diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4835ad6a7..feb31adf2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,8 +31,15 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 + # required to install Hunter + - uses: actions/setup-python@v5 + with: + python-version: '3.11' - name: Install Hunter - run: pipx install git+https://github.com/datastax-labs/hunter.git + run: | + pip --version + pip install git+https://github.com/datastax-labs/hunter@5c0b480815a281322ebbbf157f70fc785212a892 + pip freeze | grep hunter - name: Maven Version run: mvn --version - name: Build and Test diff --git a/horreum-backend/src/main/docker/Dockerfile.jvm.base b/horreum-backend/src/main/docker/Dockerfile.jvm.base index e4c384e76..0b6f83d25 100644 --- a/horreum-backend/src/main/docker/Dockerfile.jvm.base +++ b/horreum-backend/src/main/docker/Dockerfile.jvm.base @@ -10,6 +10,6 @@ RUN INSTALL_PKGS="python3 python3-devel python3-setuptools python3-pip python3-p rpm -e --nodeps redhat-logos-httpd && \ microdnf -y clean all --enablerepo='*' USER 185 -RUN pip install git+https://github.com/datastax-labs/hunter +RUN pip install git+https://github.com/datastax-labs/hunter@5c0b480815a281322ebbbf157f70fc785212a892 COPY src/main/resources/horreum.sh /deployments/ COPY src/main/resources/k8s-setup.sh /deployments/ \ No newline at end of file