Django Jenkins build tools

Jonhnatha Trigueiro
2 min readDec 31, 2018

--

Hello everyone. I’m trying to accomplish 2018’s objectives. I guess I’m on the schedule, yet. :)

So… This post will serve only to report my news earned so far. It’s a simple bunch of tools that will serve as a start point for non intrusive (or, at least, not too much), loose coupled pipeline for building Django applications, plus a Jenkins Docker-in-Docker script for creating a fast and ready-to-go Jenkins server.

This Jenkins server also had been used for deploying my Django pipeline as well. =)

OK… Show me the code!

Jenkins Docker-in-Docker

It’s a simple, zero to hero, single node Jenkins server for development and or small environments in order to get ready in almost no time. It’s using a nice approach that the Jenkins server is a Docker container that manages the Docker Host itself! Pretty much useful because you don’t have to install nothing on your host machine. (Just have the Docker installed, of course)

It pulls the latest image, update Jenkins WAR file and install a list of plugins that turns your Jenkins ready to go. With the time I will enhance the plugin list, turning it more efficient. Any feedback is appreciated.

Preludian Django Jenkins Pipelines

https://github.com/joepreludian/django-jenkins-pipelines

Dockerized pipeline with support of generating an Artifact. Pretty handy, isn’t?

It’s an effort of me to standardize the creation of Django projects on a Dockerized approach. Also it uses my Jenkins Docker-in-Docker default settings. Worth taking a look on it.

Also it uses semver so you can track down the pipeline version

What’s next?

I reallized that it’s extremely difficult to write down documentation. I’ts on my plans to enhance the documentation of my project as well, mainly those ones that will be used by other people around the world (I hope so. lol)

On the next plans I will create another project that will work as a linting tool being used with the Preludian Django pipelines. It will do the needed checks in a non intrusive way to see if your project is ok for being used with the pipeline, but it’s a 2019’s project.

Thank you for this brilliant year. I hope that 2019 come with great news.

See ya!

--

--

Jonhnatha Trigueiro
Jonhnatha Trigueiro

Written by Jonhnatha Trigueiro

Developer, Amateur Musician, Self taught

Responses (1)