also check for dist in GCE notice
This commit is contained in:
parent
d40e2eddb3
commit
b482922dd7
|
@ -148,8 +148,11 @@ Job = Model.extend DurationCalculations,
|
||||||
true
|
true
|
||||||
).property('queue')
|
).property('queue')
|
||||||
|
|
||||||
isGce: (->
|
displayGceNotice: (->
|
||||||
if @get('queue') == 'builds.gce' then true else false
|
if @get('queue') == 'builds.gce' && @get('_config.dist') == 'precise'
|
||||||
).property('queue')
|
true
|
||||||
|
else
|
||||||
|
false
|
||||||
|
).property('queue', '_config.dist')
|
||||||
|
|
||||||
`export default Job`
|
`export default Job`
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if job.isGce}}
|
{{#if job.displayGceNotice}}
|
||||||
{{#if job.isFinished}}
|
{{#if job.isFinished}}
|
||||||
<p class="notice--blue"><span class="icon-flag"></span>
|
<p class="notice--blue"><span class="icon-flag"></span>
|
||||||
<span class="label-align">This job ran on our new platform for Legacy Precise builds. Please read <a href="https://blog.travis-ci.com/2015-11-27-moving-to-a-more-elastic-future" title="Blog post on infrastructure migration">our blog post for more information</a>.</span></p>
|
<span class="label-align">This job ran on our new platform for Legacy Precise builds. Please read <a href="https://blog.travis-ci.com/2015-11-27-moving-to-a-more-elastic-future" title="Blog post on infrastructure migration">our blog post for more information</a>.</span></p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user