PHP-FPM + OPcache + Nginx + Capistrano stable deploy
Capistrano is great for deploying web applications. But the “current” symlink construction causes issues with PHP-FPM and OPcache enabled. PHP-FPM will display old pages after deployment or PHP-FPM...
View ArticleChef – Speed up development with vagrant-proxyconf and squid
If you do a lot of Chef development, you are creating cookbooks with recipes. But also converging, testing and destroying virtual machines with Test Kitchen that uses Vagrant. In this process, virtual...
View ArticleInstall ViMbAdmin with Chef
Two years ago I wrote a tutorial to install a complete Postfix mail server with Dovecot, SpamAssassin and ViMbAdmin. At the moment I am automating this tutorial for CentOS 7 with Chef. For ViMbAdmin I...
View ArticleRolling upgrade Elasticsearch, Couchbase and CouchDB
For a client I automated the patching process of Linux operating systems and middleware. I create a python action for that in StackStorm. The script retrieved all servers from the CMDB and patched per...
View ArticleMinikube NFS mounts
Minikube is great for having a Kubernetes cluster as local Docker development environment. In a development workflow you probably have source code on your host machine and it would be great if the...
View ArticleJenkinsfile Docker pipeline multi stage
Using a Jenkinsfile to configure the Jenkins build job for source code is great. Jenkins has a very nice Docker Pipeline plugin that makes it possible to execute docker commands nicely during the...
View ArticleTrigger Jenkins multibranch pipeline with curl or webhook
Git branch source Jenkins jobs that use the widely used git plugin, can be triggered remotely with curl or a webhook. The job must have the option “Poll SCM” enabled. That’s all to enable push...
View ArticleJenkins Amazon ECR token update
With the use of the Jenkins Docker Pipeline plugin, it’s easy to build and push Docker images. For example, building in a Jenkinsfile: script { dockerImage =...
View ArticleStackStorm job monitor
StackStorm is a great automation tool. In general it exists of workflows and actions. Actions can have rules and have for example the trigger type “core.st2.CronTimer“. If you have a lot of these it’s...
View ArticleKubernetes job monitor
Kubernetes is an awesome container orchestration platform. One of the features it provides is the ability to configure Kubernetes cron jobs. The cron jobs will periodically create jobs (executions)....
View Article