Draw Graphs with JSON Data

Previous post dealt with sending JSON data around. Now, I need to be able to draw it. After looking for graphing libraries, I’ve settled on Chart.js and on CanvasJS. Common steps All graphs need a canvas element to function: First thing I wanted, was to get the data with AJAX. This way, my page would […]

Send JSON Graph Data from Django

I’m trying to write a Django application to deal with my finances. I’ve got a nice page listing various transactions, but I thought it’d be nice to have a graph too, to see where I actually am on the spot. To do this, I’ll need two components: A JSON sender from Django A receiver and […]

Jenkins Pipeline Deployment Variants

This post outlined a list of steps in a pipeline. When building actual pipelines, I’ve noticed the deployment process is more than just deployment. I’ve identified several variants: orchestration deployment (e.g. helios deployment) file copy like this git update for e.g. assets repositories This might be useful if you’re building a mechanism based on a […]

Delete Executions in Rundeck – Wrapping it all Up

The previous posts have built the components to allow us to get projects, jobs, executions and remove executions from a Rundeck instance via its API. Now, we can just wrap them up :) The list of packages we need is:

For convenience, I’ve declared a bunch of constants we can use throughout the project: […]

Remove Executions in Rundeck

TL;DR: You have to get the executions’ list and remove the appropriate ones using hte API. Once we’ve managed to get the list of job executions, we can use the API to remove the relevant executions. The command is rather simple:

This method requires: server – the Rundeck’s server address port – the port […]

Get Job Executions in Rundeck

Following the previous articles, we are now in position to query job executions. The query is done via API as well. As a job can have an arbitrary number of executions, it’s advisable to use pagination. The code follows the same lines as the one in the previous entries:

This function builds the URL […]

Map Subdomains to Docker Containers with Synology

The other day I got fed up with having to insert diskstation.local:12345 to point towards an installed service on my NAS. I also thought that my SO has difficulties remembering all the ports (I do too) and cleaning up the browser cache doesn’t help either. So, I thought: Wouldn’t it be nicer if instead of […]

List Rundeck Jobs for a Project

Now that we Rundeck have a list of project names, we might want to see which jobs were created for each project. To do this, we need: The Rundeck instance’s address (server, port) The API key (api_key) A project’s name (project_name) First, we need to get the list of jobs for a project:

The […]

Scroll to top