File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
acceptance/compose/gss/psql Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ if [[ "$(git status --porcelain 2>&1)" != "" ]]; then
35
35
git status >&2 || true
36
36
git diff -a >&2 || true
37
37
echo " Nuking build cruft. Please teach this build to clean up after itself." >&2
38
- run docker run --volume=" $root :/nuke" --workdir=" /nuke" golang:stretch /bin/bash -c " git clean -ffdx ; git submodule foreach --recursive git clean -xffd" >&2
38
+ # We use a docker image mirror to avoid pulling from 3rd party repos, which sometimes have reliability issues.
39
+ # See https://cockroachlabs.atlassian.net/wiki/spaces/devinf/pages/3462594561/Docker+image+sync for the details.
40
+ run docker run --volume=" $root :/nuke" --workdir=" /nuke" \
41
+ us-east1-docker.pkg.dev/crl-docker-sync/docker-io/library/golang:stretch \
42
+ /bin/bash -c " git clean -ffdx ; git submodule foreach --recursive git clean -xffd" >&2
39
43
exit 1
40
44
fi
Original file line number Diff line number Diff line change 1
1
# Build the test binary in a multistage build.
2
- FROM golang:1.23 AS builder
2
+ # We use a docker image mirror to avoid pulling from 3rd party repos, which sometimes have reliability issues.
3
+ # See https://cockroachlabs.atlassian.net/wiki/spaces/devinf/pages/3462594561/Docker+image+sync for the details.
4
+ FROM us-east1-docker.pkg.dev/crl-docker-sync/docker-io/library/golang:1.23 AS builder
3
5
WORKDIR /workspace
4
6
COPY . .
5
7
RUN go test -v -c -tags gss_compose -o gss.test
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ RUN bazel build --config=crosslinux //pkg/cmd/roachprod:roachprod
12
12
# Copy the roachprod binary to a stable location
13
13
RUN cp $(bazel info bazel-bin --config=crosslinux)/pkg/cmd/roachprod/roachprod_/roachprod ./
14
14
15
- FROM golang:1.23
15
+ # We use a docker image mirror to avoid pulling from 3rd party repos, which sometimes have reliability issues.
16
+ # See https://cockroachlabs.atlassian.net/wiki/spaces/devinf/pages/3462594561/Docker+image+sync for the details.
17
+ FROM us-east1-docker.pkg.dev/crl-docker-sync/docker-io/library/golang:1.23
16
18
COPY entrypoint.sh build.sh /build/
17
19
RUN ["/build/build.sh" ]
18
20
COPY --from=builder /build/roachprod /usr/local/bin/roachprod
You can’t perform that action at this time.
0 commit comments