Skip to content

Commit

Permalink
fixup! ci(build): reinstate longer yarn install timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Apr 1, 2024
1 parent 80a84bd commit 55d271f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/deployment/Dockerfile.sdk
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ WORKDIR /usr/src/agoric-sdk/golang/cosmos
COPY --from=cosmos-go --link /usr/src/agoric-sdk/golang/cosmos .

RUN corepack enable
RUN echo unknown > git-revision.txt

# XXX until https://github.com/Agoric/agoric-sdk/issues/9043, then just:
# RUN yarn install --frozen-lockfile
RUN bash -c \
"for i in {1..3}; do yarn install --frozen-lockfile --network-timeout 1000000 && exit 0 || (echo retrying; sleep 15;) done; exit 1"
RUN yarn build:gyp
Expand Down Expand Up @@ -95,6 +99,8 @@ COPY --link patches patches
COPY --from=cosmos-package --link /usr/src/agoric-sdk/golang golang
COPY --from=xsnap-package --link /usr/src/agoric-sdk/packages/xsnap packages/xsnap

# XXX until https://github.com/Agoric/agoric-sdk/issues/9043, then just:
# RUN --mount=type=cache,target=$YARN_CACHE_FOLDER yarn install --frozen-lockfile
RUN --mount=type=cache,target=$YARN_CACHE_FOLDER bash -c \
"for i in {1..3}; do yarn install --frozen-lockfile --network-timeout 1000000 && exit 0 || (echo retrying; sleep 15;) done; exit 1"

Expand Down

0 comments on commit 55d271f

Please sign in to comment.