Attempt Details

Package: npm:typeorm 0.2.29

Artifact: typeorm-0.2.29.tgz

Status: Failed

Run ID: 2025-12-05T00:26:00Z

Started: 2025-12-05 01:38:07

Created: 2025-12-05 01:42:24

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

Duration: 4m17s

Logs: View in Cloud Storage

Strategy

{
  "npm_pack_build": {
    "repo": "https://github.com/typeorm/typeorm",
    "ref": "c683c8eeecea9b849a960a8bd5cd7cbb9a4eb4b1",
    "dir": ".",
    "npm_version": "6.14.7",
    "version_override": ""
  }
}

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://storage.googleapis.com/google-rebuild-bootstrap-tools/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/typeorm/typeorm .
 git checkout --force 'c683c8eeecea9b849a960a8bd5cd7cbb9a4eb4b1'
 
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/bin/npx --package=npm@6.14.7 -c 'npm pack'
 mkdir /out && cp /src/typeorm-0.2.29.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]