Profile cover photo
Profile photo
Laur Ivan
51 followers -
Laur Ivan
Laur Ivan

51 followers
About
Posts

Post has attachment
TL;DR: Clean up any mobile phone drivers you have and install Samsung’s ones. I wanted to update to the beta UI package. One method is via ADB sideloading, which I prefer compared to SD Card mounting. I started with: ./adb reboot recovery on my system and…
Add a comment...

Post has attachment
TL;DR: wget has a mode capable of saving cookies. The other day I thought it’d be interesting to have a local copy of a confluence wiki, to avoid hitting the internet every time I needed a howto. So, I’ve tried curl first and failed (probably my fault…
Add a comment...

Post has attachment
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…
Add a comment...

Post has attachment
As I was running the script, I’ve noticed it ran very slow. I have left it for a few days to run (700K executions), I’ve noticed the speed increased linearly over time. As Rundeck has both DB and files to store its data, it looked to me that it was the…
Add a comment...

Post has attachment
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: import time import datetime import sys…
Add a comment...

Post has attachment
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: def…
Add a comment...

Post has attachment
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…
Add a comment...

Post has attachment
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…
Add a comment...

Post has attachment
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…
Add a comment...

Post has attachment
Wait while more posts are being loaded