Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSS-8 Create blue release #21

Merged
merged 7 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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