diff --git a/.github/workflows/ci-auth-proxy.yml b/.github/workflows/ci-auth-proxy.yml index 740b647c..e261574e 100644 --- a/.github/workflows/ci-auth-proxy.yml +++ b/.github/workflows/ci-auth-proxy.yml @@ -33,7 +33,7 @@ jobs: run: cargo check - name: cargo clippy - run: cargo clippy -- -D warnings + run: cargo clippy - name: cargo test run: cargo test diff --git a/.github/workflows/ci-openab-agent.yml b/.github/workflows/ci-openab-agent.yml index c0d5a372..315a249c 100644 --- a/.github/workflows/ci-openab-agent.yml +++ b/.github/workflows/ci-openab-agent.yml @@ -23,7 +23,7 @@ jobs: with: workspaces: openab-agent - run: cargo fmt --check - - run: cargo clippy -- -D warnings + - run: cargo clippy - run: cargo test - run: cargo test -- --ignored env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a2e000e..8d362028 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - name: cargo check run: cargo check - name: cargo clippy - run: cargo clippy -- -D warnings + run: cargo clippy - name: cargo test run: cargo test @@ -68,7 +68,7 @@ jobs: - name: cargo check run: cargo check - name: cargo clippy - run: cargo clippy -- -D warnings + run: cargo clippy - name: cargo test run: cargo test @@ -90,7 +90,7 @@ jobs: - name: cargo check run: cargo check - name: cargo clippy - run: cargo clippy -- -D warnings + run: cargo clippy - name: cargo test run: cargo test - name: cargo build diff --git a/Dockerfile.hermes b/Dockerfile.hermes index 876a0acf..88c52a13 100644 --- a/Dockerfile.hermes +++ b/Dockerfile.hermes @@ -21,8 +21,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # HERMES_HOME points to agent user's data dir for OAuth tokens and config ARG HERMES_INSTALL_COMMIT=cc07e30f45267c00fac97ea5569c606aca5a1ffb ARG HERMES_INSTALL_SHA256=cb94b83b96cc924716bd1651411955da7495912ef68affe6788840e6cf147d41 -RUN curl -fsSL "https://raw.githubusercontent.com/NousResearch/hermes-agent/${HERMES_INSTALL_COMMIT}/scripts/install.sh" \ - -o /tmp/install-hermes.sh && \ +RUN (curl -fsSL --retry 5 --retry-delay 2 --retry-max-time 60 --retry-all-errors \ + "https://raw.githubusercontent.com/NousResearch/hermes-agent/${HERMES_INSTALL_COMMIT}/scripts/install.sh" \ + -o /tmp/install-hermes.sh || \ + curl -fsSL --retry 5 --retry-delay 2 --retry-max-time 60 --retry-all-errors \ + "https://cdn.jsdelivr.net/gh/NousResearch/hermes-agent@${HERMES_INSTALL_COMMIT}/scripts/install.sh" \ + -o /tmp/install-hermes.sh) && \ echo "${HERMES_INSTALL_SHA256} /tmp/install-hermes.sh" | sha256sum -c - && \ HERMES_HOME=/home/agent/.hermes bash /tmp/install-hermes.sh && \ rm /tmp/install-hermes.sh && \