You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/09/29 17:31:40 UTC

[GitHub] [geode] davebarnes97 edited a comment on pull request #6906: GEODE-9568: UG build script keep doc after generating it

davebarnes97 edited a comment on pull request #6906:
URL: https://github.com/apache/geode/pull/6906#issuecomment-930386614


   @alb3rtobr I followed the README.md instructions, which were unaltered by this PR. The script executed to completion, but with a Bundler warning (occurred twice) and cryptic script output (the displayed paths appear to be self-referential symlinks). See transcript below. I was able to preview the results, as before, but was not sure where to find the user guide. Could the script simply place its result in geode-book/final_app, just as a manual run of the tools would do?
   ```
   $ cd ../dev-tools/docker/docs
   $ ./preview-user-guide.sh
   Sending build context to Docker daemon  14.34kB
   Step 1/9 : FROM ruby:2.5
    ---> 13fd310aa3ad
   Step 2/9 : LABEL Vendor="Apache Geode"
    ---> Using cache
    ---> cb656eb66448
   Step 3/9 : LABEL version=unstable
    ---> Using cache
    ---> 157447c79832
   Step 4/9 : LABEL maintainer=dev@geode.apache.org
    ---> Using cache
    ---> 58658cac5334
   Step 5/9 : RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - ;     apt-get install -y nodejs
    ---> Using cache
    ---> cbacd542759d
   Step 6/9 : RUN gem install bundler:1.17.3     rake multi_json:1.13.1     elasticsearch:2.0.2     multipart-post:2.0.0     faraday:0.15.4     libv8:3.16.14.15     mini_portile2:2.5.0     racc:1.5.2     nokogiri:1.11.2     mimemagic:0.3.9     puma:4.3.8     rack:2.1.4     smtpapi:0.1.0     sendgrid-ruby:1.1.6     therubyracer:0.12.2
    ---> Using cache
    ---> 4b1c8551e511
   Step 7/9 : COPY Gemfile Gemfile
    ---> Using cache
    ---> 52d189ad376f
   Step 8/9 : COPY Gemfile.lock Gemfile.lock
    ---> Using cache
    ---> 5f239f86c681
   Step 9/9 : RUN bundle install
    ---> Using cache
    ---> 455b233b66b7
   Successfully built 455b233b66b7
   Successfully tagged geodedocs/temp:1.0
   ./preview-user-guide.sh: line 36: UID: readonly variable
   `/` is not writable.
   Bundler will use `/tmp/bundler/home/unknown' as your home directory temporarily.
   /usr/local/bundle/gems/middleman-core-4.1.10/lib/middleman-core/sitemap/resource.rb:88: warning: constant ::Fixnum is deprecated
   Gathering geode-docs
     copying /geode-docs
   /usr/local/bundle/gems/middleman-core-4.1.10/lib/middleman-core/sitemap/resource.rb:88: warning: constant ::Fixnum is deprecated
   
   
   Checking for broken links...
   
   No broken links!
   Bookbinder bound your book into /geode-book/final_app
   `/` is not writable.
   Bundler will use `/tmp/bundler/home/unknown' as your home directory temporarily.
   Puma starting in single mode...
   * Version 4.3.8 (ruby 2.5.9-p229), codename: Mysterious Traveller
   * Min threads: 0, max threads: 16
   * Environment: development
   * Listening on tcp://0.0.0.0:9292
   Use Ctrl-C to stop
   172.17.0.1 - - [29/Sep/2021:17:12:08 +0000] "GET /docs/guide/115/about_geode.html HTTP/1.1" 200 - 0.0495
   172.17.0.1 - - [29/Sep/2021:17:12:08 +0000] "GET /stylesheets/all.css HTTP/1.1" 200 - 0.0263
   172.17.0.1 - - [29/Sep/2021:17:12:08 +0000] "GET /javascripts/all.js HTTP/1.1" 200 - 0.0313
   172.17.0.1 - - [29/Sep/2021:17:12:08 +0000] "GET /stylesheets/print.css HTTP/1.1" 200 - 0.0256
   172.17.0.1 - - [29/Sep/2021:17:12:08 +0000] "GET /images/Apache_Geode_logo_symbol.png HTTP/1.1" 200 - 0.0325
   172.17.0.1 - - [29/Sep/2021:17:12:08 +0000] "GET /fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 - 0.0584
   172.17.0.1 - - [29/Sep/2021:17:12:15 +0000] "GET /docs/guide/115/tools_modules/book_intro.html HTTP/1.1" 200 - 0.0359
   172.17.0.1 - - [29/Sep/2021:17:12:19 +0000] "GET /docs/guide/115/reference/book_intro.html HTTP/1.1" 200 - 0.0343
   ^C- Gracefully stopping, waiting for requests to finish
   === puma shutdown: 2021-09-29 17:12:55 +0000 ===
   - Goodbye!
   115
   /Users/dbarnes/Repo/geode/dev-tools/docker/docs/../../../geode-book/output/master_middleman/source/docs/guide/115
   /Users/dbarnes/Repo/geode/dev-tools/docker/docs/../../../geode-book/output/preprocessing/sections/docs/guide/115
   $ ls -l /Users/dbarnes/Repo/geode/dev-tools/docker/docs/../../../geode-book/output/master_middleman/source/docs/guide/115
   lrwxr-xr-x  1 dbarnes  staff  112 Sep 29 10:12 /Users/dbarnes/Repo/geode/dev-tools/docker/docs/../../../geode-book/output/master_middleman/source/docs/guide/115@ -> /Users/dbarnes/Repo/geode/dev-tools/docker/docs/../../../geode-book/output/preprocessing/sections/docs/guide/115
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

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