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
3535 git status >&2 || true
3636 git diff -a >&2 || true
3737 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
3943 exit 1
4044fi
Original file line number Diff line number Diff line change 11# 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
35WORKDIR /workspace
46COPY . .
57RUN 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
1212# Copy the roachprod binary to a stable location
1313RUN cp $(bazel info bazel-bin --config=crosslinux)/pkg/cmd/roachprod/roachprod_/roachprod ./
1414
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
1618COPY entrypoint.sh build.sh /build/
1719RUN ["/build/build.sh" ]
1820COPY --from=builder /build/roachprod /usr/local/bin/roachprod
You can’t perform that action at this time.
0 commit comments