I came cross a nice Diagram as Code tool, it allows me to draw Cloud system architecture in Python code. To use it, you need to install Graphviz and diagrams python module. brew install graphviz pip install diagrams Here is a sample code of using the tool to create the diagram of AWS transit gateway … Continue reading Diagram as Code Example
Tag: Python
Manage Private CA file in Python
The private CA signed certificate can cause SSL error in Python if the it is not trusted. How to manage it? Well, it really depends on the Python module that you use. I will give a few examples that I have seen so far. pip Pip is the popular python package manage tool. To check … Continue reading Manage Private CA file in Python
Automatically Update Jira Custom Field Content
I recently worked on a Jira Service Desk automation project. One of the requirements is to allow user to choose either Jira project or Confluence space from a dropdown list. This is how the custom field of 'Jira Project Picker' looks like. BTW, I have confirmed that Jira (7.12.3 ) system field project field could … Continue reading Automatically Update Jira Custom Field Content
Check Confluence team calendar via script
As the time of writing, Confluence does not have an API that allows user to get events from the team calendar. As a workaround, I wrote a Python script that downloads and parses the ics file (choose subscribe the calendar, then you will see the URL) of the team calendar so to get the events. … Continue reading Check Confluence team calendar via script
Bamboo Builds Report
Want to get insights of your Bamboo builds? Here is a script that I wrote to generate the report in spreadsheet. This is how it looks like: