Go to file
Cat /dev/Nulo db0c4f1af0
repro-run Corre repro-run.json Details
cli: poder no borrar temp
2023-01-30 16:01:29 -03:00
gitea-ci gitea-ci: no printear el log de los comandos 2023-01-29 22:03:37 -03:00
runner runner: bind /proc 2023-01-30 15:59:22 -03:00
.gitignore ignorar binario compilado 2023-01-23 10:51:49 -03:00
cli.go cli: poder no borrar temp 2023-01-30 16:01:29 -03:00
go.mod permitir variables de entorno (para secretos) 2023-01-26 16:13:52 -03:00
go.sum permitir variables de entorno (para secretos) 2023-01-26 16:13:52 -03:00
readme.md readme: arreglar identación 2023-01-22 10:07:59 -03:00
repro-build repro: compilar gitea-ci y fallar 2023-01-29 12:59:46 -03:00
repro-run.json agregar repro-build y repro-run.json 2023-01-22 10:15:19 -03:00

readme.md

repro-run

un coso para correr cosas en chroots reproducibles pero cacheando cosas.

ej

# ./test
#!/bin/sh -xe
apk add --quiet git go
git clone --quiet file:///src repo
cd repo
go build .

apk add --quiet file
file repro-run
echo '{"Command": "/src/test", "Cache": ["/home/repro/.cache/go-build"]}' | go run .

genera

2023/01/22 00:32:45 /work = /tmp/repro-run-4028454357
2023/01/22 00:32:45 --bind ./rootfs / --ro-bind . /src --dev-bind /dev /dev --bind /tmp/repro-run-4028454357 /work --chdir /work --bind cache/_var_cache_apk /var/cache/apk
+ apk add --quiet git go
ERROR: 758 errors updating directory permissions
bbsuid: Only root can install symlinks
+ git clone --quiet file:///src repo
+ cd repo
+ go build .
+ apk add --quiet file
bbsuid: Only root can install symlinks
+ file repro-run
repro-run: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=Ds354L3Z-127ya83OGr8/D1vPP7ExKC1kRQQ14YOr/RXu7GdL7TMRmIobOC4Db/lFw9F-ua1e8ZR95SrZmZ, with debug_info, not stripped