yegor256 / factbase

In-memory database of facts (records with attributes) with a predicative searching facility
https://rubygems.org/gems/factbase
MIT License
5 stars 3 forks source link

log transactions better #71

Closed yegor256 closed 5 months ago

yegor256 commented 5 months ago

@rultor release, tag is 0.0.50

rultor commented 5 months ago

@rultor release, tag is 0.0.50

@yegor256 OK, I will release it now. Please check the progress here

yegor256 commented 5 months ago

@rultor stop

rultor commented 5 months ago

@rultor stop

@yegor256 OK, I'll try to stop current task.

rultor commented 5 months ago

@rultor stop

@yegor256 Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 6min)

630a507fc3a5: Pull complete
55c1f8c9bd45: Pull complete
Digest: sha256:6ab533a12e1dbf652e3df191f158bf2177321eee72dc1e1b0e94cf32fe77b620
Status: Downloaded newer image for yegor256/rultor-image:1.23.1
docker.io/yegor256/rultor-image:1.23.1
+ grep --quiet '\syegor256_factbase_71\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Jun 13 06:52 .
drwxrwxrwt 12 root   root   4096 Jun 13 06:53 ..
-rwxrwxr-x  1 ubuntu ubuntu  556 Jun 13 06:56 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Jun 13 06:52 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Jun 13 06:52 pid
drwxrwxr-x  6 ubuntu ubuntu 4096 Jun 13 06:52 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Jun 13 06:52 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6101 Jun 13 06:52 run.sh
-rw-rw-r--  1 ubuntu ubuntu  665 Jun 13 06:52 script.sh
-rw-rw-r--  1 ubuntu ubuntu 8019 Jun 13 06:57 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-8J68:/main --env=head=git@github.com:yegor256/factbase.git --env=tag=0.0.50 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/factbase.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.50'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/factbase.rb'\'' '\'';'\'' '\''git add lib/factbase.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build factbase.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-8J68/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_factbase_71 yegor256/rultor-image:1.23.1 /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-resolve r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-timesync r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G rvm r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssl-cert r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /root/texmf /home/r
e67275555bfe7aeda4972fdf87c166a7425ebd0edae8e5783add1c8c632b0f5e
Error response from daemon: Cannot kill container: e67275555bfe7aeda4972fdf87c166a7425ebd0edae8e5783add1c8c632b0f5e: container e67275555bfe7aeda4972fdf87c166a7425ebd0edae8e5783add1c8c632b0f5e is not running
container e67275555bfe7aeda4972fdf87c166a7425ebd0edae8e5783add1c8c632b0f5e is dead
Thu Jun 13 06:58:02 UTC 2024