Commit ed316249 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Add temporary CANARY env vars to be set in...

Add temporary CANARY env vars to be set in Kubernetes-with-canary.gitlab-ci.yml and used in page_layout_helper.rb
parent be1b2796
......@@ -35,7 +35,9 @@ module PageLayoutHelper
end
def favicon
Rails.env.development? ? 'favicon-blue.ico' : 'favicon.ico'
return 'favicon-yellow.ico' if ENV['CANARY'] == 'true'
return 'favicon-blue.ico' if Rails.env.development?
'favicon.ico'
end
def page_image
......
......@@ -25,7 +25,7 @@ build:
canary:
stage: canary
script:
- command canary
- CANARY=true command canary
environment:
name: production
url: http://$CI_PROJECT_NAME.$KUBE_DOMAIN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment