You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/08/27 10:29:25 UTC

[GitHub] [lucene-solr] janhoy commented on pull request #1769: SOLR-11245: Absorb the docker-solr repo.

janhoy commented on pull request #1769:
URL: https://github.com/apache/lucene-solr/pull/1769#issuecomment-681865016


   My first attempt at this gave some bash errors:
   
   ```
   ./gradlew assemble
   > Configure project :solr:docker
   readlink: illegal option -- f
   usage: readlink [-n] [file ...]
   /Users/janhoy/git/lucene-solr/solr/docker/tests/cases/create_core_exec/test.sh: line 18: ./../../shared.sh: No such file or directory
   
   FAILURE: Build failed with an exception.
   ```
   
   I recognize this from the docker-solr repo, the test scripts use some commands that do not work on MacOS. So I added the workaround with putting gnu variants of these tools in my path, but then I could still not make the assemble task run:
   
   ```
   > Configure project :solr:docker
   Test /Users/janhoy/git/lucene-solr/solr/docker/tests/cases/create_core_exec apache/solr:9.0.0-SNAPSHOT
   Cleaning up left-over containers from previous runs
   Running test_apache_solr_9.0.0_SNAPSHOT
   Unable to find image 'apache/solr:9.0.0-SNAPSHOT' locally
   docker: Error response from daemon: pull access denied for apache/solr, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
   See 'docker run --help'.
   
   FAILURE: Build failed with an exception.
   ```
   
   I had to uncomment the `task test()` from `docker/build.gradle` and then my build succeeded.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org