fresh release
Closed this issue · 9 comments
yegor256 commented
let's release it
rultor commented
rultor commented
@rultor release, tag is
1.4
@yegor256 Oops, I failed. You can see the full log here (spent 26s)
load average is 0.00, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.9.1
+ docker pull yegor256/rultor-image:1.9.1
1.9.1: Pulling from yegor256/rultor-image
Digest: sha256:61885a12aa213b79fd79e2b4ade12645535717267474cb0d1067a3323514589e
Status: Image is up to date for yegor256/rultor-image:1.9.1
docker.io/yegor256/rultor-image:1.9.1
+ docker ps --filter=status=exited
+ grep --quiet '\sjcabi_jcabi-w3c_49\s*$'
+ ls -al .
total 48
drwx------ 3 rultor rultor 4096 Jul 29 07:43 .
drwxrwxrwt 16 root root 4096 Jul 29 07:43 ..
-rwxrwxr-x 1 rultor rultor 363 Jul 29 07:43 entry.sh
-rw-rw-r-- 1 rultor rultor 8 Jul 29 07:43 pid
-rw-rw-r-- 1 rultor rultor 1192 Jul 29 07:43 pubring.gpg
drwxrwxr-x 5 rultor rultor 4096 Jul 29 07:43 repo
-rwxrwxr-x 1 rultor rultor 5624 Jul 29 07:43 run.sh
-rw-rw-r-- 1 rultor rultor 532 Jul 29 07:43 script.sh
-rw-rw-r-- 1 rultor rultor 2570 Jul 29 07:43 secring.gpg
-rw-rw-r-- 1 rultor rultor 2464 Jul 29 07:43 settings.xml
-rw-rw-r-- 1 rultor rultor 3813 Jul 29 07:43 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-9D81:/main --env=head=git@github.com:jcabi/jcabi-w3c.git --env=head_branch=master --env=author=yegor256 --env=tag=1.4 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:jcabi/jcabi-w3c.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.4'\''\'\'''\'''\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''mvn versions:set "-DnewVersion=${tag}" -e'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml'\'' '\'';'\'' '\''mvn clean site-deploy -Psite --errors -Pjcabi --settings ../settings.xml'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-9D81/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=jcabi_jcabi-w3c_49 yegor256/rultor-image:1.9.1 /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /root/texmf /home/r
+ cp -R ./cid ./entry.sh ./pid ./pubring.gpg ./repo ./run.sh ./script.sh ./secring.gpg ./settings.xml ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:jcabi/jcabi-w3c.git
+ head=git@github.com:jcabi/jcabi-w3c.git
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ export tag=1.4
+ tag=1.4
+ [[ 1.4 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ exit -1
container 1126d9d8c7bbdb1bcbeeb92eae75583308ec8cd4230b386a4121efad2fe06b15 is dead
Fri 29 Jul 2022 07:43:57 AM CEST
rultor commented
rultor commented
rultor commented
rultor commented
@rultor release, tag is
1.4.0
@yegor256 Oops, I failed. You can see the full log here (spent 25s)
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:jcabi/jcabi-w3c.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export '\''tag=1.4.0'\''' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'mvn versions:set "-DnewVersion=${tag}" -e' ';' 'git commit -am "${tag}"' ';' 'mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml' ';' 'mvn clean site-deploy -Psite --errors -Pjcabi --settings ../settings.xml' ';'
+ sensitive=('settings.xml')
+ rm -rf .gpg
+ '[' -z 1.4.0 ']'
+ [[ 1.4.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "1.4.0"'
tag name is valid: "1.4.0"
+ cd repo
++ git tag -l 1.4.0
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.16
++ echo 0.16 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.16, low enough to run a new Docker container'
load average is 0.16, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.9.1
+ docker pull yegor256/rultor-image:1.9.1
1.9.1: Pulling from yegor256/rultor-image
Digest: sha256:61885a12aa213b79fd79e2b4ade12645535717267474cb0d1067a3323514589e
Status: Image is up to date for yegor256/rultor-image:1.9.1
docker.io/yegor256/rultor-image:1.9.1
+ docker ps --filter=status=exited
+ grep --quiet '\sjcabi_jcabi-w3c_49\s*$'
+ ls -al .
total 48
drwx------ 3 rultor rultor 4096 Jul 29 07:50 .
drwxrwxrwt 16 root root 4096 Jul 29 07:50 ..
-rwxrwxr-x 1 rultor rultor 363 Jul 29 07:50 entry.sh
-rw-rw-r-- 1 rultor rultor 8 Jul 29 07:50 pid
-rw-rw-r-- 1 rultor rultor 1192 Jul 29 07:50 pubring.gpg
drwxrwxr-x 5 rultor rultor 4096 Jul 29 07:50 repo
-rwxrwxr-x 1 rultor rultor 5632 Jul 29 07:50 run.sh
-rw-rw-r-- 1 rultor rultor 534 Jul 29 07:50 script.sh
-rw-rw-r-- 1 rultor rultor 2570 Jul 29 07:50 secring.gpg
-rw-rw-r-- 1 rultor rultor 2464 Jul 29 07:50 settings.xml
-rw-rw-r-- 1 rultor rultor 3833 Jul 29 07:50 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-zT8v:/main --env=head=git@github.com:jcabi/jcabi-w3c.git --env=head_branch=master --env=author=yegor256 --env=tag=1.4.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:jcabi/jcabi-w3c.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=1.4.0'\''\'\'''\'''\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''mvn versions:set "-DnewVersion=${tag}" -e'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mvn clean deploy -Pqulice -Psonatype -Pjcabi --errors --settings ../settings.xml'\'' '\'';'\'' '\''mvn clean site-deploy -Psite --errors -Pjcabi --settings ../settings.xml'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-zT8v/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=jcabi_jcabi-w3c_49 yegor256/rultor-image:1.9.1 /main/entry.sh
docker: Error response from daemon: Conflict. The container name "/jcabi_jcabi-w3c_49" is already in use by container "e62248de6750ad9d3c6b4484130e055574f3acd5f69ab5a569982d6b5c6277a1". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
'cid' file is absent, container wasn't started correctly