Skip to content

z0mbix/deploygif-infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploygif Infrastructure

About

This repository contains the code to manage the deploygif.com website and infrastructure.

Terraform is used to provision an instance on Digital Ocean, and Chef then installs and configures all the required services.

Services

Deploygif is a simple lua application that runs on top of OpenResty. It retrieves a random URL of an animated gif from redis. The application code can be found on a separate GitHub repository (z0mbix/deploygif).

Testing

There are both ChefSpec and ServerSpec tests that should be run before committing. Make sure to set-up the pre-commit hook.

Unit tests:

$ cd chef
$ chef exec rspec

Integration tests:

To run the tests against an Ubuntu 16.04 vagrant VM run:

$ cd chef
$ chef exec kitchen test

License

MIT

About

Code for managing the deploygif infrastructure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published