Daniel Schädler
d507f84dc8
Deploy newly renamed container
2019-10-09 12:32:59 +02:00
Daniel Schädler
4fa4b1e1f7
Enter app directory
...
Otherwise bundler refuses to run and won't find rails or the tests.
2019-10-09 12:32:59 +02:00
Daniel Schädler
3c280a6b29
Run tests in image built one step above using latest tag
...
This isn't optimal since theoretically there could be an image pushed
just between building and downloading again, but variables cannot be
used within gitlab-ci.yml so that is what we have to work with. If
variables get introduced, we should lock this to the current commit sha.
2019-10-09 12:32:59 +02:00
Daniel Schädler
cffaafb6bd
Swap build and test stage
2019-10-09 12:32:59 +02:00
Daniel Schädler
103ea70f9a
Improve gitlab-ci.yml readability
2019-10-09 12:32:59 +02:00
Daniel Schädler
2fb0206798
Ignore coverage and docker folder in docker build
2019-10-09 12:32:59 +02:00
Daniel Schädler
2ba17a02a0
Add test & spec folder to docker container
...
It would have been nicer to also exclude the test and spec folder within
the production container, saving some space within that, but the docker
COPY statement doesn't allow for that without a workaround. So this is
what we will do for now I guess.
2019-10-09 12:32:59 +02:00
Daniel Schädler
e6a4f88b24
Build development & test containers in GitLab
2019-10-09 12:32:59 +02:00
Daniel Schädler
3c9e159b16
Add test container Dockerfile
2019-10-09 12:32:59 +02:00
Daniel Schädler
bbfb9a355b
Add development container Dockerfile
2019-10-09 12:32:59 +02:00
Daniel Schädler
7e2da71b53
Move Dockerfile to production folder
2019-10-09 12:32:59 +02:00
Daniel Schädler
ebd555f232
Copy Gemfiles in one step
2019-10-09 12:32:59 +02:00
Daniel Schädler
6f663ff62d
Don't cache apk add command
2019-10-09 12:32:59 +02:00
Thor77
4aaa1bb129
Merge pull request #69 from turniere/ticket/TURNIERE-265
...
Fix namespace in kubernetes context and deploy cmd
2019-10-09 11:38:42 +02:00
Thor77
c4afcb5bb9
Fix namespace in kubernetes context and deploy cmd
2019-10-09 11:09:24 +02:00
Thor77
d5c18d341c
Merge pull request #68 from turniere/ticket/TURNIERE-265
...
Migrate to Traefik v2
2019-10-09 10:46:41 +02:00
Thor77
0b9441b1c1
Switch from Ingress to IngressRoute
2019-10-09 10:34:18 +02:00
Thor77
d5b5189f17
Lock kubernetes-deploy version to 0.29.0
2019-10-09 09:09:22 +02:00
Thor77
a07a0ccf9b
Add role binding for gitlab namespace
2019-10-09 09:03:09 +02:00
Thor77
c1f64e2694
Deploy pod and service into turniere-backend
2019-10-09 09:00:28 +02:00
Thor77
6b132866a8
Merge pull request #41 from turniere/ticket/TURNIERE-188
...
Update dependencies
2019-09-14 10:43:42 +02:00
Thor77
be0c1a6135
Lock rubocop to version 0.72.0
2019-09-14 10:20:43 +02:00
Thor77
a7566cb97a
Remove ruby section
2019-09-14 10:20:43 +02:00
Thor77
013648f919
Set rubocop version to 0.72.0
2019-09-14 10:20:43 +02:00
Daniel Schädler
b8324acef3
Update dependencies
2019-09-14 10:20:43 +02:00
Daniel Schädler
9ca44e1de1
Breaking Change in Fallback configuration
2019-06-21 10:47:04 +02:00
Daniel Schädler
26ebce7b00
Add rubocop-rails
2019-06-21 10:47:04 +02:00
Daniel Schädler
0c480b1deb
Update dependencies
2019-06-21 10:47:04 +02:00
Daniel Schädler
8bc6504dd5
Add rubocop-performance
...
This feature was moved from rubocop to this gem.
2019-06-21 10:41:38 +02:00
Daniel Schädler
91d991f9af
Update dependencies
2019-06-21 10:41:38 +02:00
Daniel Schädler
687bec10a1
Merge pull request #61 from turniere/ticket/TURNIERE-234
...
Implement Group Stage end
2019-06-18 22:46:44 +02:00
Daniel Schädler
a2691b9f88
Cache group_score in variable in sort function
2019-06-18 22:35:17 +02:00
Daniel Schädler
945ab4981a
Use let more effectively
2019-06-18 22:35:17 +02:00
Daniel Schädler
fa9f47903b
Test trying to change the state to something other than :finished
2019-06-18 22:22:10 +02:00
Daniel Schädler
90d97962a3
Test trying to finish a group stage with unfinished matches
2019-06-18 22:22:10 +02:00
Daniel Schädler
fd8ff20ce8
Test for correct error on finishing already finished stages
2019-06-18 22:22:10 +02:00
Daniel Schädler
8873e7a95b
Test stage.teams returning [] on empty stage
2019-06-18 22:22:10 +02:00
Daniel Schädler
b28561043e
Implement stages controller (GET UPDATE)
2019-06-18 22:22:10 +02:00
Daniel Schädler
3dfeae8bf3
Test #teams_sorted_by_group_scores
2019-06-18 22:22:10 +02:00
Daniel Schädler
54ab1570b1
Sort teams more explicitly and in the right order
2019-06-18 22:22:10 +02:00
Daniel Schädler
15e2bd830f
Randomize points in group_scores factory
2019-06-18 22:22:10 +02:00
Daniel Schädler
4925ea9d83
Make teams added to PlayoffStage configurable
2019-06-18 22:22:10 +02:00
Daniel Schädler
748ac18b35
Implement finished_group_match factory
2019-06-18 22:22:10 +02:00
Daniel Schädler
4e72d015ff
Implement method to check if stage is over
2019-06-18 19:22:05 +02:00
Daniel Schädler
68efd3caae
Add factory for a finished_playoff_match
2019-06-18 19:22:05 +02:00
Daniel Schädler
bc0c7fddc3
Make match position randomizable
2019-06-18 19:22:05 +02:00
Daniel Schädler
88cbba440d
Implement methods to get teams sorted by their group scores
2019-06-18 19:22:05 +02:00
Daniel Schädler
c5780c2da3
Implement function to calculate the difference in points
2019-06-18 19:22:05 +02:00
Thor77
e8207c95c1
Merge pull request #66 from turniere/ticket/TURNIERE-256
...
Include bets in match serializer
2019-06-18 19:21:43 +02:00
Thor77
041ee4ab2c
Include bets in match resource
2019-06-18 18:51:55 +02:00