Serverless is a framework that provides a unique way to build and operate serverless applications with different Cloud providers. We will be using a plugin to extend the Serverless command line tool with a Kubernetes-based solution. The serverless setup will be deployed to a local OpenShift instance.
Continue readingDocker Compose: Retry Database Connect With Docker and Go
When I implemented a Docker Compose file that starts our entire system, I stumbled upon a common problem. The database container is ready, but the database itself is not. So the services try to establish a connection, but fail, because the database is still starting.
Continue readingPrivate Golang Registry in Artifactory
The backend of my latest project consists of several microservices written in Go. Each service is built in Jenkins and then deployed to the Openshift Cloud Platform. The one problem we have is that this Jenkins is not allowed to communicate with servers outside of the companie’s network.
Continue readingInsert JIRA Issue Key in Git Commit Message
To create a link between your Git commits and their Jira issue, developers must include the issue key into their commit comment. Often, developers forget to add the issue key to their commits. Instead, we use a Git commit hook to prefill the commit message with the issue key automatically.
Continue readingDeployment From Jenkins To Openshift
In a recent project, we set up a CI/CD pipeline with Bitbucket, Jenkins, and Openshift. Releases of the frontend and microservices should only be done manually, so we decided to implement a Jenkins job where the developer selects the service and its version to be released in Openshift.
Continue readingVisual Studio Code, Modules and Golang Language Server
Since Go 1.11, modules are the official way of managing dependencies in Go. The transition is not as smooth as it should be as it is in a very early stage. The feature is planned to be finalized with Go 1.14.
Continue reading