Posts tagged with "software"

DevOps at Kobas

I’ve been at Kobas two years now, I previously wrote about my experiences in my first month, so it seemed fitting to do an overview of my experiences since then surrounding the software we use for DevOps.

Jenkins & Continuous Delivery

At Kobas we use continuous delivery rather than continuous deployment, tool of choice; old man Jenkins.

Jenkins, although riddled with UI/UX issues, is a very helpful tool for us day to day now. We have all sorts of pipelines setup for deploying to our EPoS & Cloud servers. Having the ‘one click’ ability to release to a QA or Production environment and letting Jenkins handle all the steps that go on throughout that build process is a time-saver.

Having the ability to rollback to a previous git tag when a bug has been introduced proves to be a real lifesaver. I can’t imagine going back to releasing projects via script or knowledge.

We keep our Jenkins configuration backed up in Git as the thought of losing all the work put into Jenkins and having to start again is nightmare inducing.

Codeception & Jenkins

My latest win, and one that took the longest to achieve was having Codeception and Jenkins play nicely together for automated testing.

The initial part of that went fine, just getting Codeception to run automatically via the Jenkins build process. But then I decided I wanted metrics like code coverage, the ability to run acceptance tests via Selenium & being able to reset our testing database before each test runs.

Selenium is something I’ve played with a lot on my own machine, so setting up Selenium Grid on a server didn’t cause me much trouble.

Code coverage however has been a pain. Needing c3.php to get remote code coverage working required a number of disgusting hacks / workarounds. This was due to the way our project is setup, the main directory Codeception is in, isn’t even synced to our servers. 

The results where worth the pain though I now have the ability of viewing a breakdown of code coverage like this:

(clearly not an image from our Jenkins, imagine a lot more red).

You also get a dashboard for coverage distribution and showing you the files with the most CRAP (change risk anti-patterns), my new favourite acronym. I can’t seem to find an example of that view online however.

Perhaps later I’ll do a blog post on how to set this up on an open source project and will link to it from here. (Making plans for 2020 already)

Puppet & Server Config

 Controlling configuration manually might seem okay when you only have a handful of servers, I certainly manage my personal servers manually still.

At Kobas we have two types of servers, our ‘Cloud’ servers (hosted by AWS) and our ‘EPoS’ servers (hosted by our clients on-site). Currently, we have 4-5 AWS servers, and 170+ EPoS servers. Managing configuration change across the EPoS servers would be impossible without Puppet. 

Puppet isn’t the only tool that handles configuration management, there are a number of tools to choose between; Chef and Ansible are two that come to mind. I’ve only used Puppet so can’t comment on the advantages of one over the other. I do recommend getting at least one of these tools setup to manage your server configuration though as the pay-off is huge.

Using a configuration management tool ensures that all your configuration is the same across every environment; development, qa and production. Significantly reducing the ‘But it works on my machine’ issue. It also requires you to put additional thought into making configuration changes.


Posted on September 23, 2018

Jelly SMS – Use your web texts from your desktop

jellysms
One program I’ve been using a while now and is a serious lifesaver for when I’m out of credit is “Jelly SMS” [previously just jSMS]. You need to have the latest Java installed for it to work but it is cross-platform. It basically lets you send web texts from your desktop without having to login to your network’s website.

The latest version of the software, available here [just click Free Version –> Desktop] even supports delivery reports, and support is very good, I’ve noticed it not working maybe twice in the last year[due to o2 redesigning their website], both times the issues where fixed and an automatic update was out within two days. They also now have an android and iPhone app, for anyone in possession of those luxuries!


Posted on April 08, 2010

Vipre Antivirus + Antispyware

VIPRE
This is a sponsored post..
Tired of that old anti virus program that makes your PC slow down to a crawl? Time for a next-generation anti virus that IS NOT a resource hog! Vipre Antivirus + Antispyware is a new PC security software created by Sunbelt Software. Sunbelt created VIPRE to be faster than most traditional anti virus software like Norton or McAfee. VIPRE should not slow down your PC and is apparently highly effective at preventing and curing PC Infections. VIPRE recently got 5 stars on download.com. Requirements are 512MB Ram, Windows XP OR Vista OR 2000.

Try VIPRE Antivirus Software with their 30 day trial here!


Posted on September 23, 2009

E.ggtimer.com – Online Timer

Egg Timer
This website is a little gem I came across last night. Will take and countdown from any time, given in words or figures. 🙂 Even when open in a tab you can still see the timer continue to countdown! Have to say I like the use of these “subdomain” websites!

Go to E.ggtimer.com ->


Posted on September 21, 2009

Snipt.net – Store your Code Snippets Online

Recyclable Code

Often when your programming well you find yourself with a lot of reusable or recyclable code. Everyone has their own little way of keeping all this code and organizing it etc. etc. for their next project. However today I found a great website now that I need my code snippets in more than one place, Snipt.net . Not only can you store all your code privately with the ability to tag it and have it highlighted. But you can browse through the public code also, for when your really stuck with that problem! 😉 This will certainly be a website I’ll be adding to most used for ’09


Posted on September 18, 2009