Skip to content

Commit

Permalink
Merge pull request #21 from todaywasawesome/staging
Browse files Browse the repository at this point in the history
OSS-8 Create blue release
  • Loading branch information
todaywasawesome authored Jul 27, 2022
2 parents b77f72f + ee83f56 commit 55d3535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Color Coded
Codefresh, Argo CD and Argo Rollouts Demo App
Codefresh, [Argo CD](https://argo-cd.readthedocs.io/en/stable/) and Argo Rollouts Demo App

<img src="https://codefresh.io/wp-content/uploads/2018/08/Fully_automated_Canary_deployments_in_Kubernetes_with_Codefresh.jpg" width="100%">

## What's in the app?
A simple go app that displays a color and version. This is designed to work with [Argo Rollouts](https://argoproj.github.io/argo-rollouts/) for canary and blue/green progressive delivery.
A simple go app that displays a [color](https://en.wikipedia.org/wiki/Color) and version. This is designed to work with [Argo Rollouts](https://argoproj.github.io/argo-rollouts/) for canary and blue/green progressive delivery.

## Deployment configuration
This app is used and configured in [oss-apps](https://github.com/todaywasawesome/oss-apps)
Expand Down
4 changes: 2 additions & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

func main() {

version := "Yellow"
version := "Blue"

color := "#F1A94E" //Blue 44B3C2 and Yellow F1A94E
color := "#44B3C2" //Blue 44B3C2 and Yellow F1A94E

http.HandleFunc("/callme", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "<div class='pod' style='background:%s'> ver: %s\n </div>", color, version)
Expand Down

0 comments on commit 55d3535

Please sign in to comment.