Cache NLTK data in build minions
[releng/builder.git] / packer / provision / baseline.sh
index 6e651e521d1b161c1179824555b02afb39cbcb38..8aca86314e02d110e5c5ab5fe05d19b1f77f942e 100644 (file)
@@ -230,6 +230,9 @@ EOF
     # openldap dev headers are required for lftools
     yum install -y openldap-devel
 
+    # NLTK_DATA Cache: many jobs that use coala pull down nltk_data
+    wget -nv -O /opt/nltk_data.zip https://github.com/nltk/nltk_data/archive/gh-pages.zip
+
     # --- END LFTOOLS DEPS
     ######################
 
@@ -390,6 +393,9 @@ EOF
     # openldap dev headers are required for lftools
     ensure_ubuntu_install libldap2-dev libssl-dev libsasl2-dev
 
+    # NLTK_DATA Cache: many jobs that use coala pull down nltk_data
+    wget -nv -O /opt/nltk_data.zip https://github.com/nltk/nltk_data/archive/gh-pages.zip
+
     # --- END LFTOOLS DEPS
     ######################