Categories
ChatOps DevOps

Using Telegram for ChatOps

I’ve been using telegram for some chat ops related activities and started integrating them with things like hubot and StackStorm ChatOps to test it out. I’ve picked up certain things that make things difficult with telegram: Showing html raw and not as a string Showing graphs and charts The formatting is not different when coming […]

Categories
ansible DevOps

Deploying Stackstorm to a server with Ansible

The information about deploying stackstorm to a server with ansible is in the stackstorm docs. Importantly the galaxy role can’t really be used like a normal ansible-galaxy role. You have to clone the repo: git clone https://github.com/StackStorm/ansible-st2 cd ansible-st2 Then update the inventory, for example in inventory: st2 ansible_host=10.200.1.76 ansible_user=cent ansible_sudo_pass=pass Run the playbook: ansible-playbook […]

Categories
DevOps GNU/Linux

Cheapest VPS Linux Server VM in South Africa

TLDR; As at October 2022 – Hostking.co.za has the cheapest Linux VPS – it is a smooth experience provisioning What company provides the cheapest Linux KVM based VPS (Virtual private server) in South Africa. What is a VPS? It is a virtual computer – running on a hypervisor (a bigger computer). It has its own […]

Categories
DevOps GNU/Linux Kong Security Server

Generate a letencrypt ssl certificate for kong api gateway

So you have installed kong and you are ready for it to go into production. Whoops, nossl certificate yet? It is important that you add it as credentials will be moving between your gateway and credentials could be acquired by any party in between the client and your server. But the standalone nginx plugin for […]

Categories
DevOps django

Authenticated Functional Tests with Selenium and Django

In the Test Driven Development Book for Python and Django by Harry Percival called Obey The Testing Goat, there is a chapter about enhancing the functional test base class and adding pre-authentication so you don’t need to login via the login screen with Selenium. It uses a custom Email Authentication Backend, but I needed to […]