In this article, we’ll show you how to return a current account/user using JSONAPI::Resource, without needing any additional gems!
We’re huge fans of Gitlab at Anlek and about 6 months ago we decided to retire an old server hosting a custom built of gitlab for a newer, easier to update, docker driven one. We upgrade to the new gitlab server and It was really smooth to setup when using the docker image from sameersbn. The gitlab server has been working great and sameersbn did a great job allowing you to customize it and has been keeping it up to date! Despite a smooth start, we’ve noticed that git commands which involved the gitlab server (pull/push/fetch/etc) were failing at a rate of 1 in 2 commands!
Recently we’ve been having issues with one of our client’s servers rebooting nightly and taking down the application running on that server. In this post we show you how we managed to fix the issue and bring up Rancher Agent and the rest of the server after a reboot.