Commit Graph

494 Commits

Author SHA1 Message Date
Daniel Schädler 777ee95281 Readability +4 2019-10-26 01:38:06 +02:00
Daniel Schädler b8f8ffb411 More space for hound to be happy with 2019-10-26 01:35:46 +02:00
Daniel Schädler b37f510534 Unnecessary Variables 2019-10-26 01:35:00 +02:00
Daniel Schädler 400a396f00 Test match index controller with filter 2019-10-26 01:23:15 +02:00
Daniel Schädler 82e4ff90dc Test tournament.matches method 2019-10-26 01:22:52 +02:00
Daniel Schädler b001817bac Filter matches by state parameter 2019-10-26 00:34:04 +02:00
Daniel Schädler 33ccab8988 Return all matches also from groups 2019-10-26 00:32:14 +02:00
Daniel Schädler a6b7a905a0 Return matches as children of tournament 2019-10-25 23:49:27 +02:00
Daniel Schädler 77c76b7a31 Add matches method to tournament
The method collects all matches from all stages
2019-10-25 23:47:38 +02:00
Daniel Schädler eb2ddb3ce0
Merge pull request #71 from turniere/ticket/TUR-3
Implement slim version of tournament endpoint
2019-10-25 23:37:48 +02:00
Thor77 d317585168
Add "simple" parameter to tournament show 2019-10-25 23:17:08 +02:00
Daniel Schädler 46c903e109
Merge pull request #67 from turniere/ticket/TURNIERE-262
Improve Docker Images (Ticket/turniere 262)
2019-10-09 13:34:28 +02:00
Daniel Schädler fd8b93d386 Add Tags for use with shared runners 2019-10-09 12:44:46 +02:00
Daniel Schädler e79136e67b Add Docker related information to readme 2019-10-09 12:32:59 +02:00
Daniel Schädler 699b451f26 Explicitly define current commit sha as test image 2019-10-09 12:32:59 +02:00
Daniel Schädler 0f95124893 Remove not working docker tag commands 2019-10-09 12:32:59 +02:00
Daniel Schädler 5e559e1522 Revert Dockerfile to use latest version of image
As it is built locally within one step and never pulled between steps,
this should not be a problem
2019-10-09 12:32:59 +02:00
Daniel Schädler 7f2dc1f1c1 Manually retag pushed images locally 2019-10-09 12:32:59 +02:00
Daniel Schädler c22aafe037 Tag local versions of Docker Containers
These are (hopefully) never pushed and therefore are always the most recent  version.
2019-10-09 12:32:59 +02:00
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