Jenkins Configuration as Code (JCasC)
Build your reproducable local Jenkins Instance
In most of my environments I reach in short time the requirement to have some kind of automation server. How cool would it be, to start this server as part of my local Virtual Development Server? And what if the result will be usable for a lot of other use cases too?
Test Environment for Migration with Liquibase against Oracle XE
Virtual Environment based on Docker Compose, running in Windows Docker Desktop
For extensive testing of Database Migration I need an environment with Liquibase and an Oracle Database. So I have built this Virtual Development Environment which can be started, stopped, removed and rebuilt in seconds.
Run your Development Server with Vagrant on VirtualBox on Windows
Use this, when you have no native Docker installation
In my series about Modern Infrastructure for your Virtual Development Server I will now start my Server with Vagrant in VirtualBox on Windows. Again I will use Jenkins as example for this. See how this works.
Test Jenkins Container with TestContainers Framework
Automate the Testing of your Infrastructure
As I create my Virtual Development Servers I asked myself how can I easily test, that it is working? As I put now my servers into containers via docker-compose I searched for a test framework, which supports this out of the box. I heard a lot about TestContainers in the past and again at Javaland 2022 conference last week, so I want to test now, if this will help me.
Run your Development Server on Docker Desktop on Windows
Start with the easiest case
In my series about Modern Infrastructure for your Virtual Development Server I will now start with the easiest case for me. I will run a Server on a Docker Desktop on Windows. As I need CI for all of my projects I will use Jenkins as example for this. See how this works.
Virtual Development Server: Modern Infrastructure
Create the Foundation for easy Development
After my 2016 series about my Virtual Development Server I have learned a lot. It’s time for a major overhaul with new technologies. It should be a lot more flexible and usable for development and course environments. See how I will restart!
Virtual Development Server: Provide Docker images in docker registry for Oracle via Jenkins
We now try to automate the build of all needed images as soon as Oracle GitHub Sources changed or we need to build our Vagrant VirtualBox again from scratch.
Virtual Development Server: Install Jenkins for Continuos Integration / Delivery / Deployment
For automation of all of my processes I need Jenkins in my development server. First I had installed Jenkins as Docker container via Vagrant Docker provider. But with this architecture it was very complicated to create docker images and run Docker containers on the Docker host, in this case my Vagrant Virtualbox. So for simplification I have decided to install Jenkins with the provisioning of the Vagrant Virtualbox via a shell provider in my Vagrantfile.
Virtual Development Server: Provide Docker images in docker registry for Oracle XE Database and others
For later creation of containers as needed in the deployment process we have first to build docker images whenever we do not find suitable one in docker hub.
Virtual Development Server: Add swapfile to VirtualBox as requirement for installing Oracle or build Oracle docker images
As I want later build Oracle docker images, some of this need a swapfile. Per default my used Vagrantbox does not have one, so later steps will fail.
Virtual Development Server: Add enough ram and disk space to VirtualBox for further server components
As I want later build docker images and run docker containers I have to provide enough ram and disk space for this. Per default the Vagrantboxes have vmdk disks, these have a static size and are to small for my purposes.
Virtual Development Server: Creating Virtualbox machine including docker containers with Vagrant
As I want to decouple my development server from my computer as much as possible I want to create first a virtual machine with linux.
Virtual Development Server: The idea
For long time I had the idea to create a virtual development server for testing some ideas and play with some new and old technologies.