Skip to content

Commit

Permalink
move spyglass flag to external config
Browse files Browse the repository at this point in the history
  • Loading branch information
ibzib committed Dec 5, 2018
1 parent 1874650 commit e19ea0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion gubernator/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ jobs:
- pull-kubernetes-typecheck
- pull-kubernetes-verify
recursive_artifacts: false
spyglass: false
2 changes: 1 addition & 1 deletion gubernator/view_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get(self, prefix, job, build):
spyglass_link = ''
external_config = get_build_config(prefix, self.app.config)
if external_config is not None:
if self.app.config.get('spyglass'):
if external_config.get('spyglass'):
spyglass_link = 'https://' + external_config['prow_url'] + '/view/gcs/' + build_dir
if '/pull/' in prefix:
pr, pr_path, pr_digest, repo = get_pr_info(prefix, self.app.config)
Expand Down

0 comments on commit e19ea0b

Please sign in to comment.