Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docker/github_actions/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Local development Dockerfile — skips cqlsh (not needed for test execution).
# Use with: ./simulation/history/run.sh --scenario <name> --dockerfile-suffix .dev
FROM golang:1.24.5-bullseye

RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
gettext-base \
libyaml-dev \
time \
unzip \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*

# verbose test output from `make`, can be disabled with V=0
ENV V=0

# allow git-status and similar to work
RUN git config --global --add safe.directory /cadence

# https://github.com/docker-library/golang/blob/c1baf037d71331eb0b8d4c70cff4c29cf124c5e0/1.4/Dockerfile
RUN mkdir -p /cadence
WORKDIR /cadence

# Copy go mod dependencies and try to share the module download cache
COPY go.* /cadence
COPY internal/tools/go.* /cadence/internal/tools/
COPY cmd/server/go.* /cadence/cmd/server/
COPY common/archiver/gcloud/go.* /cadence/common/archiver/gcloud/
# go.work means this downloads everything, not just the top module
RUN go mod download
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
- -e
- -c
- >
go test -timeout 300s
go test -timeout 600s
-run ^TestHistorySimulation.*$
-count 1
-v
Expand Down
306 changes: 275 additions & 31 deletions go.work.sum

Large diffs are not rendered by default.

209 changes: 209 additions & 0 deletions host/cadence_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading