Skip to content

theatlantic/nginxconf-2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using NGiNX for release automation at The Atlantic

This repository contains an example environment that implements the techniques described in the 2018 NGINXConf talk Using NGINX for release automation at The Atlantic (slides).

Environment setup

  1. Run git clone git@github.com:theatlantic/nginxconf-2018.git

  2. Enable wildcard DNS for *.nginxdemo by adding the DNS server 127.0.0.1:19321, or add to your /etc/hosts file:

    127.0.0.1   jenkins.nginxdemo develop.djangobeta.nginxdemo plaid.djangobeta.nginxdemo
    

    If you have setup docker networking to bind to a different ip address than localhost, replace 127.0.0.1 with that ip address.

  3. Run docker-compose up

  4. Visit http://jenkins.nginxdemo:8001/ in a web browser

  5. Login with the credentials user: admin, pass: admin

  6. There should be an addons-server project. Navigate to it.

  7. If the builds have failed (this can happen due to a race condition during startup), restart the builds.

  8. After the branches have built, you can visit:

About

Using NGiNX for release automation at The Atlantic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published