The good people of CircleCI provide a basic service for free and that is very nice.

Yesterday I initially embarked in setting up a Jenkins server on Internet using one of my VPS instances, and I went as far as running a Docker container Jenkins with self-installation of plugins. A very simple Dockerfile:

FROM jenkins
COPY plugins.txt /usr/share/jenkins/plugins.txt
RUN /usr/local/bin/ bitbucket

Docker run command:

docker run -d -u root -p -p -v /root/jenkins:/var/jenkins_home -n jenkins jenkins 

It was then that I discovered that months before I had already created a webhook to CircleCI in my Jekyll Bitbucket repo.

So I abandoned the Jenkins container (although it’s nice to see how quickly one can be up and running), and went back to complete the abandoned CircleCI setup.

I had to add a circle.yml file and define some testing with the help of this very helpful post.

To get started I am using a very basic configuration like the one shown in the post

      NOKOGIRI_USE_SYSTEM_LIBRARIES: true # speeds up installation of html-proofer

      - bundle exec jekyll build

      # - bundle exec htmlproofer ./_site --allow-hash-href --check-favicon --check-html --disable-external
      - bundle exec htmlproofer ./_site --allow-hash-href --check-html --disable-external

      branch: master
        - rsync ......

I don’t have favicons, maybe I should?

Next step is adding comments using a serverless service, I am thinking