I was curious the other day, what is the most demanded devops skills out there on the market?
Not that I didn’t have any clue, as for someone who has been in the industry for a while it is kinda obvious, but sometimes you simply curious or just want to get some sort of stats. So after couple googling attempts which didn’t give any reasonable results apart from boring marketing ads and stupid suggestions like soft skill (who cares!), I decided that best approach would be DIY!
So here is what I did, step by step
1) Went to the web site many have probably used to find a job and put some search criteria
Then switched to Classic View and changed summary to 200 jobs per page, which is the max. Now all I needed is to find all occurrences of some keyword on the resulting page. (this manual part would benefit from selenium/phantomjs if run regularly, I probably will add it later)
2) Obviously I didn’t want to count manually, so I decided hey let’s do it with curl and then scan the output with some predefined keywords. Initially the keywords file was too big, then I skipped some stuff as it appeared to be not that popular(1 or 2 occurrences). But in general the file needs to be maintained as overtime some new kids in the block will pop out. So here the list in the words.txt file:
➜ trendystuff cat words.txt aws azure terraform ansible puppet chef docker kubernetes mesos jenkins ci/cd elasticsearch kibana logstash elk prometheus openstack zabbix vault linux scripting unix bash python groovy ruby git maven ➜ trendystuff
3) Now let’s write some super simple dummy bash script to get though the output and make some stats:
➜ scrips cat jobstats #!/bin/bash if [[ $@ != **-c** ]]; then curl -s $1 > output.txt fi if [[ $@ == **-2** ]]; then sort_arg=" -k 2 -r" fi rm result.txt for word in `cat words.txt`; do echo "$word `grep -io $word output.txt \ | wc -l`" \ | xargs >> result.txt done; cat result.txt | sort -n $sort_arg% ➜ scrips
4) Finally let’s run it, we have to copy the url from the website, which will be generated once you put you search criteria and press search, and pass it as argument to the script: