Commit 42255432 authored by Markus Kalkbrenner's avatar Markus Kalkbrenner

different approach to solr download caching

parent e214158d
......@@ -22,7 +22,10 @@ cache:
before_install:
- composer global require "hirak/prestissimo:^0.3"
- mkdir -p solr_downloads && ls solr_downloads/
- wget -nc --continue -nv --tries=3 --directory-prefix=solr_downloads "http://archive.apache.org/dist/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz"
- cd solr_downloads
- test -f solr-${SOLR_VERSION}.tgz || curl -O http://archive.apache.org/dist/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz
# todo: delete on checksum error
- cd -
- tar -xzf solr_downloads/solr-${SOLR_VERSION}.tgz
before_script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment