Retry SCV release dependency fetch

09a775b83fa0 · AtlantisPleb · · parent ef7a602d44aa

Retry SCV release dependency fetch

Deploy story

What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.

Not deployed through the forge lane

No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.

Changed files

  • modified ops/scv/images/opencode-core/Dockerfile

Diff

1 file changed, +10 -2

ops/scv/images/opencode-core/Dockerfile modified +10 -2

@@ -10,6 +10,8 @@ ARG REBAR3_SHA512=69073f6ad163f74971545015238614c327893960c1b3f26df5377df135c773

10 10
ARG OPENAGENTS_BUILD_REVISION=image
11 11
ARG SOURCE_DATE_EPOCH=0
12 12
13
ENV HEX_HTTP_CONCURRENCY=2
14
ENV HEX_HTTP_TIMEOUT=120
13 15
ENV MIX_ENV=prod
14 16
ENV OPENAGENTS_BUILD_REVISION=${OPENAGENTS_BUILD_REVISION}
15 17
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}

@@ -34,8 +36,14 @@ RUN mix local.hex "${HEX_VERSION}" --force \

34 36
      --force
35 37
36 38
COPY mix.exs mix.lock ./
37
RUN mix deps.get --only prod \
38
  && mkdir config
39
RUN for attempt in 1 2 3; do \
40
      if mix deps.get --only prod; then \
41
        mkdir config; \
42
        exit 0; \
43
      fi; \
44
      echo "Dependency fetch attempt ${attempt} failed" >&2; \
45
    done; \
46
    exit 1
39 47
40 48
COPY config/config.exs config/prod.exs config/
41 49
RUN mix deps.compile

This page updates live while a promote is in flight · changelog