File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,26 @@ test:
39
39
- redis:alpine
40
40
- postgres:alpine
41
41
- selenium/standalone-chrome
42
+ - davidsiaw/vrec
42
43
variables :
43
44
DATABASE_URL : postgres://postgres:postgres@postgres
44
45
REDIS_URL : redis://redis:6379/0
45
46
CHROME_HOSTNAME : selenium-standalone-chrome
47
+ SCREEN_WIDTH : 1280
48
+ SCREEN_HEIGHT : 1024
49
+ HOST : ' selenium-standalone-chrome:5900'
50
+ MP4LOC : ' /builds/astrobunny/rails-zen/out.mp4'
51
+ GIVEUID : " 1000"
52
+ GIVEGID : " 1000"
46
53
script :
47
54
- bundle exec rails db:create
48
55
- bundle exec rails db:migrate
49
56
- bundle exec rails db:test:prepare
50
57
- cat /etc/hosts
51
58
- echo "$(cat /etc/hosts | grep -Eo "^([0-9\.]+)\s+runner-[0-9a-zA-Z-]{7,8}-+project-[0-9a-zA-Z]+-concurrent-[0-9]+" | grep -Eo "^([0-9\.]+)")" > ip_addr
59
+ - curl selenium-standalone-chrome:9494/start
52
60
- TEST_HOST="$(cat ip_addr)" bundle exec rspec
61
+ - curl selenium-standalone-chrome:9494/stop
62
+ artifacts :
63
+ paths :
64
+ - out.mp4
You can’t perform that action at this time.
0 commit comments