Permalink
Browse files
fix formatting and go blue
- Loading branch information
Showing
with
4 additions
and
2 deletions.
-
+3
−1
.codefresh/helm-canary.yml
-
+1
−1
app.go
|
@@ -27,9 +27,11 @@ steps: |
|
|
# - IMAGE=todaywasawesome/colorcoded |
|
|
# - TAG=${{CF_BRANCH_TAG_NORMALIZED}}-${{CF_SHORT_REVISION}} |
|
|
IstioInfo: |
|
|
title: Gather istio information |
|
|
title: Gather Production State |
|
|
stage: Deploy |
|
|
image: containers101/k8sclitoolset |
|
|
commands: |
|
|
- kubectl config get-contexts |
|
|
- kubectl config use-context ${{KUBE_CONTEXT}} |
|
|
- istioctl get virtualservices |
|
|
- cf_export prodVersion=$(kubectl get service -l status=prod -n ${{NAMESPACE}} -o=jsonpath='{$.items[0].metadata.name}') |
|
|
|
@@ -10,7 +10,7 @@ func main() { |
|
|
|
|
|
c := os.Getenv("COLOR") |
|
|
if len(c) == 0{ |
|
|
os.Setenv("COLOR", "#F1A94E") //Blue 44B3C2 and Yellow F1A94E. |
|
|
os.Setenv("COLOR", "#44B3C2") //Blue 44B3C2 and Yellow F1A94E. |
|
|
} |
|
|
|
|
|
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |
|
|
0 comments on commit
65c9a3d