Attempt Details

Package: npm:isomorphic-git 1.30.2

Artifact: isomorphic-git-1.30.2.tgz

Status: Failed

Run ID: deps-dev

Started: 2025-05-29 21:07:42

Created: 2025-05-29 21:13:00

Finished: 0001-01-01 00:00:00

Duration: 5m18s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/isomorphic-git/isomorphic-git",
    "ref": "60b62634fa9e0075dfffce4238bfd198c4ae5188",
    "dir": ".",
    "npm_version": "7.24.2",
    "node_version": "14.21.3",
    "version_override": "1.30.2",
    "command": "build",
    "registry_time": "2025-05-22T21:14:31.249Z",
    "prepack_remove_deps": true
  }
}

Full Message

executing rebuild: rpc error: code = FailedPrecondition desc = rebuild content mismatch

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.19
RUN <<'EOF'
 set -eux
 wget https://google-rebuild-bootstrap-tools.storage.googleapis.com/v0.0.0-20250428204534-b35098b3c7b7/timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN <<'EOF'
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 mkdir /src && cd /src
 git clone https://github.com/isomorphic-git/isomorphic-git .
 git checkout --force '60b62634fa9e0075dfffce4238bfd198c4ae5188'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v14.21.3/node-v14.21.3-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@7.24.2 -c 'npm_config_registry=http://npm:2025-05-22T21:14:31Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 PATH=/usr/bin:/bin:/usr/local/bin npm version --prefix . --no-git-tag-version 1.30.2
 /usr/local/bin/npx --package=npm@7.24.2 -c 'npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/isomorphic-git-1.30.2.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]