h1alexbel / srdataset

GitHub repositories dataset that contains sample repositories (SRs), with their metrics and metadata
MIT License
4 stars 0 forks source link

skeleton #1

Closed h1alexbel closed 3 months ago

h1alexbel commented 4 months ago

@rultor release, tag is 0.0.1

rultor commented 4 months ago

@rultor release, tag is 0.0.1

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

rultor commented 4 months ago

@rultor release, tag is 0.0.1

@h1alexbel Oops, I failed. You can see the full log here (spent 7min)

-rwxrwxr-x  1 ubuntu ubuntu 5601 May 27 16:42 run.sh
-rw-rw-r--  1 ubuntu ubuntu  486 May 27 16:43 script.sh
-rw-rw-r--  1 ubuntu ubuntu 7469 May 27 16:48 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-6lIg:/main --env=head=git@github.com:h1alexbel/srdataset.git --env=tag=0.0.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:h1alexbel/srdataset.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=h1alexbel'\''\'\'''\'''\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9_]+)?$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" version.txt'\'' '\'';'\'' '\''make lint test'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' )' --env=head_branch=master --env=author=h1alexbel --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-6lIg/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=h1alexbel_srdataset_1 yegor256/rultor-image /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 _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
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ cat /home/r/script.sh
#!/bin/bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:h1alexbel/srdataset.git' ; export 'tag=0.0.1' ; export 'head_branch=master' ; export 'author=h1alexbel' ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9_]+)?$ ]] || exit -1 ; sed -i "s/0\.0\.0/${tag}/g" version.txt ; make lint test ; git commit -am "set version to ${tag}" ;
+ su --login r --command /home/r/script.sh
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
make: *** No rule to make target 'lint'.  Stop.
container 4cbc4c1558f77db8b6348fcadf24095ecc29ec22a35410a48a73257d5e26fa54 is dead
Mon May 27 16:49:35 UTC 2024
0pdd commented 4 months ago

@h1alexbel the puzzle #5 is still not solved.

h1alexbel commented 4 months ago

@rultor release, tag is 0.0.1

rultor commented 4 months ago

@rultor release, tag is 0.0.1

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

rultor commented 4 months ago

@rultor release, tag is 0.0.1

@h1alexbel Done! FYI, the full log is here (took me 7min)

h1alexbel commented 4 months ago

@rultor release, tag is 0.0.2

rultor commented 4 months ago

@rultor release, tag is 0.0.2

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

rultor commented 4 months ago

@rultor release, tag is 0.0.2

@h1alexbel Done! FYI, the full log is here (took me 7min)

h1alexbel commented 4 months ago

@rultor release, tag is 0.0.3

rultor commented 4 months ago

@rultor release, tag is 0.0.3

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

rultor commented 4 months ago

@rultor release, tag is 0.0.3

@h1alexbel Done! FYI, the full log is here (took me 7min)

0pdd commented 3 months ago

@h1alexbel the only puzzle #5 is solved here.