Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7091 from alphagov/fix-the-whitehall-broken-link-…
Browse files Browse the repository at this point in the history
…check-job

Remove conditional from the broken link checker job
  • Loading branch information
cbaines committed Jan 16, 2018
2 parents 2d3cee5 + b5b58cd commit 813ad5e
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>"
builders:
- shell: |
<%- if scope.lookupvar('::aws_migration') %>
ssh deploy@$(govuk_node_list -c whitehall_backend --single-node) '
<%- else -%>
ssh deploy@whitehall-backend-1.backend '
<%- end -%>
cd /var/apps/whitehall; govuk_setenv whitehall nohup bundle exec rake generate_broken_link_reports[/tmp/bad_link_reports,second-line-content@digital.cabinet-office.gov.uk]'
ssh deploy@$(govuk_node_list -c whitehall_backend --single-node) 'cd /var/apps/whitehall; govuk_setenv whitehall nohup bundle exec rake generate_broken_link_reports[/tmp/bad_link_reports,second-line-content@digital.cabinet-office.gov.uk]'
echo "Broken link checker run"
triggers:
- timed: '0 2 1 * *'
Expand Down

0 comments on commit 813ad5e

Please sign in to comment.