Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create initial infrastructure #8

Closed
8 tasks done
extsoft opened this issue Jun 22, 2017 · 18 comments
Closed
8 tasks done

Create initial infrastructure #8

extsoft opened this issue Jun 22, 2017 · 18 comments
Assignees

Comments

@extsoft
Copy link
Contributor

extsoft commented Jun 22, 2017

  • Rultor support
    • create Docker image for bats
    • integrate with rultor
    • badge
  • Travis support
  • move current implemenation from extsoft/insight
  • release 0.1.0
  • add formulae to extsoft/homebrew-insight
@extsoft extsoft added the P1 label Jun 22, 2017
@extsoft
Copy link
Contributor Author

extsoft commented Jun 22, 2017

Image: extsoft/bats:0.4.0

extsoft added a commit that referenced this issue Aug 17, 2017
@extsoft
Copy link
Contributor Author

extsoft commented Aug 17, 2017

@rultor hello

@rultor
Copy link

rultor commented Aug 17, 2017

@rultor hello

@extsoft Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)

extsoft added a commit that referenced this issue Aug 17, 2017
Move all testsing to 'run-tests' script and use it for both Travis and
Rultor.

#8
extsoft added a commit that referenced this issue Aug 17, 2017
@extsoft
Copy link
Contributor Author

extsoft commented Aug 17, 2017

@extsoft
Copy link
Contributor Author

extsoft commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@extsoft extsoft added question and removed question labels Aug 21, 2017
@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

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

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

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

Status: Downloaded newer image for extsoft/rultor-runtime:r24b04p0
+ docker ps --filter=status=exited
+ grep --quiet '\sextsoft_elegant-git_8\s*$'
+ ls -al .
total 40
drwx--x--x  3 rultor rultor 4096 Aug 21 14:20 .
drwxrwxrwt 15 root   root   4096 Aug 21 14:20 ..
-rw-rw-r--  1 rultor rultor  444 Aug 21 14:20 end.sh
-rwxrwxr-x  1 rultor rultor  162 Aug 21 14:20 entry.sh
-rw-rw-r--  1 rultor rultor    6 Aug 21 14:20 pid
drwxrwxr-x  4 rultor rultor 4096 Aug 21 14:20 repo
-rwxrwxr-x  1 rultor rultor 4755 Aug 21 14:20 run.sh
-rw-rw-r--  1 rultor rultor  293 Aug 21 14:20 script.sh
-rw-rw-r--  1 rultor rultor 3648 Aug 21 14:20 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-PQ2l:/main [email protected]:extsoft/elegant-git.git --env=head_branch=master --env=tag=0.1.0 --env=author=extsoft '--env=scripts=( '\''export '\''\'\'''\''[email protected]:extsoft/elegant-git.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=extsoft'\''\'\'''\'''\'' '\'';'\'' '\''echo "Release ${tag}"'\'' '\'';'\'' '\''bats src/test'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-PQ2l/cid -w=/main --name=extsoft_elegant-git_8 extsoft/rultor-runtime:r24b04p0 /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
+ mkdir /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chmod a+x /home/r/script.sh
+ /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 [email protected]:extsoft/elegant-git.git
+ [email protected]:extsoft/elegant-git.git
+ export head_branch=master
+ head_branch=master
+ export tag=0.1.0
+ tag=0.1.0
+ export author=extsoft
+ author=extsoft
+ echo 'Release 0.1.0'
Release 0.1.0
+ bats src/test
1..4
not ok 1 print available commands when run 'git-elegant'
# (in test file src/test/git-elegant.bats, line 8)
#   `[[ "${lines[0]}" =~ "feature" ]]' failed
not ok 2 exit code is 10 when run 'git-elegant'
# (in test file src/test/git-elegant.bats, line 23)
#   `[ "$status" -eq 10 ]' failed
# 127
not ok 3 exit code is 0 when run 'git-elegant commands'
# (in test file src/test/git-elegant.bats, line 29)
#   `[ "$status" -eq 0 ]' failed
not ok 4 exit code is 0 when run 'git-elegant init'
# (in test file src/test/git-elegant.bats, line 43)
#   `[ "$status" -eq 0 ]' failed
container 70d66acb999c2a3a049df61186647549b401a36c0f66920ccb8b74cdc15e2269 is dead
Mon Aug 21 14:22:03 CEST 2017

@extsoft
Copy link
Contributor Author

extsoft commented Aug 21, 2017

@rultor status

@extsoft
Copy link
Contributor Author

extsoft commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor status

@extsoft This is what's going on here:

  • 1 build(s) archived: 12710-323729661
  • no new requests registered
  • build is not running

More information about Rultor commands you can get here.

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

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

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@extsoft Oops, I failed. You can see the full log here (spent 17s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 14780
+ echo '1.66.2 c36bea310'
1.66.2 c36bea310
+ date
Mon Aug 21 14:49:51 CEST 2017
+ uptime
 14:49:51 up 54 days, 15:50,  0 users,  load average: 0.00, 0.00, 0.00
+ [email protected]:extsoft/elegant-git.git
+ head_branch=master
+ author=extsoft
+ scripts=('export '\''[email protected]:extsoft/elegant-git.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=extsoft'\''' ';' 'echo "Release ${tag}"' ';' 'bats --tap src/test' ';')
+ vars=('[email protected]:extsoft/elegant-git.git' '--env=head_branch=master' '--env=author=extsoft' '--env=scripts=( '\''export '\''\'\'''\''[email protected]:extsoft/elegant-git.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=extsoft'\''\'\'''\'''\'' '\'';'\'' '\''echo "Release ${tag}"'\'' '\'';'\'' '\''bats --tap src/test'\'' '\'';'\'' )')
+ image=extsoft/rultor-runtime:r24b04p0
+ directory=
+ squash=false
+ ff=only
+ rebase=true
+ container=extsoft_elegant-git_8
+ as_root=true
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone [email protected]:extsoft/elegant-git.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email [email protected]
+ git config user.name rultor
+ '[' -z 'export '\''[email protected]:extsoft/elegant-git.git'\''' ']'
+ cd ..
+ cat
+ '[' true = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''[email protected]:extsoft/elegant-git.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=extsoft'\''' ';' 'echo "Release ${tag}"' ';' 'bats --tap src/test' ';'
+ rm -rf .gpg
+ '[' -z '' ']'
+ echo 'tag name is not provided in the request, see http://doc.rultor.com/basics.html'
tag name is not provided in the request, see http://doc.rultor.com/basics.html
+ exit -1
'cid' file is absent, container wasn't started correctly

@extsoft extsoft self-assigned this Aug 21, 2017
@extsoft
Copy link
Contributor Author

extsoft commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

1 similar comment
@extsoft
Copy link
Contributor Author

extsoft commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

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

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@extsoft Done! FYI, the full log is here (took me 2min)

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@extsoft Invalid release tag 0.1.0 specified. There is already a release 0.1.0 newer than the given release in this repository.

@rultor
Copy link

rultor commented Aug 21, 2017

@rultor please release, the tag is 0.1.0.

@extsoft I'm sorry, I don't understand you :( Check this page and try again please

extsoft added a commit that referenced this issue Aug 21, 2017
@extsoft extsoft closed this as completed Aug 21, 2017
This was referenced Aug 21, 2017
extsoft added a commit that referenced this issue Aug 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants