Commit Graph

22 Commits

Author SHA1 Message Date
Thor77 28a74654d4 Update to rails 7.0.3
* updated ruby to 2.7.5
* updated rails to 7.0.3
* switched devise_token_auth to git for rails7 support
* ran `rails app:update`
* cleanup .gitlab-ci.yml
* remove unnecessary ci files
* remove unused docker rake task
* fix potential inconsistent image build by using commit images as base
2022-05-19 09:08:36 +02:00
Thor77 c89cefd6b5
Add option to force deployment using $FORCE_DEPLOY 2020-07-02 20:56:41 +02:00
Thor77 07a21ad5cb
Add missing path to secrets 2020-07-02 20:52:25 +02:00
Thor77 7136c6550d
Use krane instead of kubernetes-deploy
because kubernetes-deploy is deprecated
2020-07-02 19:56:10 +02:00
Thor77 83ba31b844
Only run tests if ruby files change 2020-07-02 19:16:18 +02:00
Daniel Schädler 72da49806f Login to push deploy container 2019-11-21 18:40:41 +01:00
Daniel Schädler b8e2809e46 Push Container with :deploy on commits to master 2019-11-21 17:34:53 +01:00
Daniel Schädler fd8b93d386 Add Tags for use with shared runners 2019-10-09 12:44:46 +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 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 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 e6a4f88b24 Build development & test containers in GitLab 2019-10-09 12:32:59 +02:00
Thor77 c4afcb5bb9 Fix namespace in kubernetes context and deploy cmd 2019-10-09 11:09:24 +02:00
Thor77 d5b5189f17 Lock kubernetes-deploy version to 0.29.0 2019-10-09 09:09:22 +02:00
Thor77 7e71f765cf Push docker image to git branch/tag tag 2019-04-25 15:00:23 +02:00
Thor77 0b2e0f983c Deploy only changes on master branch 2019-04-24 18:19:23 +02:00
Thor77 e9a53cf867 Add .gitlab-ci.yml 2019-04-24 16:01:12 +02:00