When you develop a backend, at some point you always come to the point that you have to explain its interface to other developers. With go-swagger and SwaggerUI we can automatically create an interactive, well-structured API documentation. This blog post shows how to annotate a Golang REST API and create
Continue readingFaaS: Setup Kubeless and Serverless in OpenShift
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 reading
Private 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 reading