Skip to content
Online CV created to demonstrate some of the skills that I have in the DevOps Linux space
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Build Status license

CV to demonstrate DevOps Fu

DevOpsFu logo


The idea of this repo is to provide a web based version of my CV, deployable using automation, to showcase some of the technical skills that I have in the areas of Linux, DevOps, Automation, Cloud, etc.

Tech stack includes:

  • Vagrant
  • Linux
  • Saltstack
  • Ansible
  • Docker
  • Mkdocs
  • Markdown
  • Terraform
  • AWS S3 and IAM
  • Python
  • Boto3
  • Bash
  • Unit Tests (testinfra)


The following software is required:

  • Virtualbox
  • Vagrant
  • Python/Pip (to run tests)

Deployment has been successfully tested with:

  • Virtualbox 5.0.12 r104815
  • Vagrant 1.8.5
  • Python 2.7.13
  • Pip 9.0.1
  • OSX 10.10.5

Deployment Instructions

$ git clone
$ cd CV/vagrant
$ vagrant up wicksycv --provision --provider virtualbox

Once the provisioning has completed, the CV should be available from:


There are a number of tests implemented using the serverspec-like testing framework for Python testinfra. Tests can be run using the bash script in the test directory:

$ cd CV/test
$ ./

The script will bring up the vagrant machine if not already, setup a python virtual environment, install testinfra and paramiko pips, run a series of test packs through testinfra then clean up afterwards.

Sample output from one of the test packs (for packages):

========================================================= test session starts ==================================================================
platform darwin -- Python 2.7.10, pytest-3.0.1, py-1.4.31, pluggy-0.3.1 -- /Users/wicksy/.pyenvironments/CVtests/bin/python
cachedir: ../.cache
rootdir: /Users/wicksy/git/wicksy/CV, inifile:
plugins: testinfra-1.4.2
collected 8 items

../test/[paramiko:/wicksycv-git] PASSED
../test/[paramiko:/wicksycv-python2.7] PASSED
../test/[paramiko:/wicksycv-python-pip] PASSED
../test/[paramiko:/wicksycv-apt-transport-https] PASSED
../test/[paramiko:/wicksycv-ca-certificates] PASSED
../test/[paramiko:/wicksycv-docker-engine] PASSED
../test/[paramiko:/wicksycv-salt-minion] PASSED
../test/[paramiko:/wicksycv-salt-common] PASSED

======================================================== pytest-warning summary ================================================================
WP1 None Modules are already imported so can not be re-written: testinfra
============================================= 8 passed, 1 pytest-warnings in 0.66 seconds ======================================================

More information on testinfra can be found at

Teardown Instructions

$ vagrant destroy wicksycv --force


Builds are triggered automatically and run on Travis CI. The build will apply the Salt states in a build VM and run the tests to ensure code validity.

Known issues

There are build issues using the current latest docker-ce (17.06.0-ce) and docker-py (1.10.6) where even with multiple explicit reload_modules: true calls after both have been installed, an initial highstate fails with Comment: Failed to get client args: docker Python module not imported. A subsequent highstate works fine. The container build and run is now done by an Ansible role to work around this problem.

To ensure the deployment is successful, it is recommended that the versions listed above are the minimum used as there are known issues with earlier versions. For example Vagrant 1.7.3 and 1.7.4 fail to deploy with:

Copying salt minion config to /etc/salt
Failed to upload a file to the guest VM via SCP due to a permissions
error. This is normally because the SSH user doesn't have permission
to write to the destination location. Alternately, the user running
Vagrant on the host machine may not have permission to read the file.

due to issue #5973 (

AWS version

I've created an IAM user, policy and S3 bucket (with policies) in AWS using Terraform, which contains the static content built using mkdocs build --clean.

The URL for this version is available here.

The site content is rebuilt and uploaded to S3 using Python/Boto3 (bin/ wrapped by a Bash script (bin/ that creates a Python virtualenv, installs the mkdocs pip, removes and rebuilds the site content, clears down the S3 bucket and uploads the new site content to it.

$ cd bin
$ ./

Future Plans

Plans for additional content include using:

You can’t perform that action at this time.