---
- scm:
    name: govuk-provisioning_Check_CDN_IP_Ranges
    scm:
        - git:
            url: git@github.gds:gds/govuk-provisioning.git
            branches:
              - master

- job:
    name: Check_CDN_IP_Ranges
    display-name: Check_CDN_IP_Ranges
    project-type: freestyle
    description: "This job compares the published IP ranges of our Cloudflare and Fastly IPs against the ranges configured in gov      uk-provisioning and errors if they don't match"
    properties:
        - github:
            url: https://github.gds/gds/govuk-provisioning/
    scm:
      - govuk-provisioning_Check_CDN_IP_Ranges
    builders:
        - shell: |
            bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
            bundle exec ./tools/cdn_ips.rb production_carrenza
    publishers:
        - email:
            recipients: webops@digital.cabinet-office.gov.uk
    triggers:
        - timed: 'H 3 * * *'

---
- scm:
    name: govuk-provisioning_Check_CDN_IP_Ranges
    scm:
        - git:
            url: git@github.gds:gds/govuk-provisioning.git
            branches:
              - master

- job:
    name: Check_CDN_IP_Ranges
    display-name: Check_CDN_IP_Ranges
    project-type: freestyle
    description: "This job compares the IP ranges that Fastly publishes against the ranges configured in govuk-provisioning and errors if they don't match."
    properties:
        - github:
            url: https://github.gds/gds/govuk-provisioning/
    scm:
      - govuk-provisioning_Check_CDN_IP_Ranges
    builders:
        - shell: |
            bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
            bundle exec ./tools/cdn_ips.rb production_carrenza
    publishers:
        - email:
            recipients: webops@digital.cabinet-office.gov.uk
    triggers:
        - timed: 'H 3 * * *'

Update CDN IPs Jenkins job description
Update CDN IPs Jenkins job description
