Skip to content

Jamuz/blue-green

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A very simple programme, able to be statically linked, that serves either a blue, or a green, webpage on port 8080.

Useful for testing blue/green deployment mechanisms, or, deploying onto machines that you otherwise couldn't tell apart.

TODO

  • :blank tag cause why not (will crash by default)
  • also read color from disk (no error handling), 2nd preference to env
  • also read color from cmdline (not even flag parsing) (0th preference)
  • avoid browser caching. Something like
content-length: 98980
content-type: application/javascript
date: Tue, 31 Mar 2020 13:59:52 GMT
expires: 0
last-modified: Thu, 01 Jan 1970 00:00:01 GMT
pragma: no-cache```

About

A fork of the LinkedIn course **Kubernetes Essential Training: Application Development** [https://www.linkedin.com/learning/kubernetes-essential-training-application-development]. The original image only supports aarch, but I need x86_64.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 83.3%
  • Dockerfile 16.7%