Skip to content
Snippets Groups Projects
  • Ryan Williams's avatar
    987d14fd
    SL-49406: template_verifier.py requires network access to build. Implemented... · 987d14fd
    Ryan Williams authored
    SL-49406: template_verifier.py requires network access to build.  Implemented a 4-hour cache so it hits the network less often overall (saving approx .5 seconds every build), and added fault tolerance for when it fails to fetch the master over the network.  It'll whine at you if it can't fetch it, but even if it can't get the master from the network and doesn't have a cached copy at all, it will still at least do a syntax check on the local template.
    987d14fd
    History
    SL-49406: template_verifier.py requires network access to build. Implemented...
    Ryan Williams authored
    SL-49406: template_verifier.py requires network access to build.  Implemented a 4-hour cache so it hits the network less often overall (saving approx .5 seconds every build), and added fault tolerance for when it fails to fetch the master over the network.  It'll whine at you if it can't fetch it, but even if it can't get the master from the network and doesn't have a cached copy at all, it will still at least do a syntax check on the local template.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
template_verifier.py 7.82 KiB