Skip to content

plispe/kiwi-entrytask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entry task for the Kiwi.com Weekend in the Cloud

CircleCI

Requirements

Notes

  • I use alpine Linux based Nginx image because I like to keep my docker images as small as possible
  • I embed self-signed SSL certificate on build into docker image because Let's Encrypt can’t provide certificates for “localhost”. Personally, I would never embed SSL certificates into docker image(the only exception would be an image for development purposes). I did it only to meet your BONUS "use SSL" requirement
  • I also configured Nginx for redirects from HTTP to HTTPS
  • I wrote tests for docker images using Goss testing tool. Tests run on every git push in CircleCI
  • I configured docker hub auto build only for git tags. Git push will trigger image build and tests in CircleCI and git push tag triggers Docker Hub build. I used Docker Hub build only to fulfill your requirements because build images with CicrcleCI would be a way better option.

About

Entry task for the Kiwi.com Weekend in the Cloud

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages