Quantcast
Channel: Pieter Vogelaar - Freelance DevOps engineer / PHP developer
Browsing index pages (27 articles)
↧

Image may be NSFW.
Clik here to view.

Kubernetes 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


Image may be NSFW.
Clik here to view.

StackStorm 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 Article


Image may be NSFW.
Clik here to view.

Jenkins 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 Article

Image may be NSFW.
Clik here to view.

Trigger 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 Article

Image may be NSFW.
Clik here to view.

Jenkinsfile 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 Article


Image may be NSFW.
Clik here to view.

Minikube 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 Article

Image may be NSFW.
Clik here to view.

Rolling 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 Article

Image may be NSFW.
Clik here to view.

Install 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 Article


Image may be NSFW.
Clik here to view.

Chef – 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 Article


Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

PHPUnit – How to mock multiple calls to the same method

When you write unit tests with PHPUnit there is a big chance that you have to mock several objects. If you want to write a unit test for your controller action and you use Doctrine ORM in your...

View Article

Image may be NSFW.
Clik here to view.

Ubuntu 12.04 – Install Gearman and GearmanManager

Gearman is a wonderful job management system. It allows a web application to pass work to be done on other servers that may be more powerful or more capable in other ways. In addition, multiple jobs...

View Article

Image may be NSFW.
Clik here to view.

Ubuntu 14.04 – Install Selenium as service (headless)

This tutorial will show you how to install Selenium as a service on a Ubuntu 14.04 server. An Ubuntu server doesn’t have a GUI in contrast to Ubuntu desktop, so we will also need to setup a virtual...

View Article


Image may be NSFW.
Clik here to view.

ZF Apigility + Doctrine + UniqueObject Validator

Building a REST API with Apigility that is built on top of Zend Framework 2 is awesome. I’m also a big fan of Doctrine. So I started with the zf-apigility-skeleton and added the zf-apigility-doctrine...

View Article

Image may be NSFW.
Clik here to view.

Solr automatic core update as deployment step

For my projects I use the awesome tool Capistrano for deployment. In a project that uses Solr, I want to update the Solr core as a deployment step if the Solr configuration of that core is changed....

View Article


Image may be NSFW.
Clik here to view.

Capistrano – Automatically start ssh-agent

Capistrano has the option to forward the local SSH agent to the remote server it wants to deploy on. But for this to work a SSH agent must be running and the key(s) you want to forward must be added...

View Article

Ubuntu 12.04 – Install Postfix, Dovecot and Vimbadmin

This tutorial shows you how to install Postfix (2.9.6) with Dovecot (2.0.19) and the manage tool Vimbadmin (2.2.2) on Ubuntu Server 12.04. Perform all actions as root! Checks Hostname You should check...

View Article


Image may be NSFW.
Clik here to view.

PHP Xdebug + Netbeans + Vagrant

Xdebug is a very nice extension for PHP. It makes step by step debugging possible in your IDE. For most people it’s easy to install Xdebug and start debugging their web application on localhost with...

View Article

Image may be NSFW.
Clik here to view.

Vagrant – Shell provision example

Vagrant is a very awesome tool that makes it very easy to develop your projects in virtual machines on your laptop or PC. It’s a wrapper around VirtualBox. It also makes them very easy to maintain and...

View Article

Image may be NSFW.
Clik here to view.

Ubuntu 12.04 – Install Jenkins 1.4 with Jetty 9

This tutorial requires that Jetty is installed as described at http://pietervogelaar.nl/ubuntu-12-04-install-jetty-9. This tutorial describes how to install Jenkins 1.4 with a jenkins.war file with...

View Article
Browsing index pages (27 articles)


Latest Images