This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/asf-site by this push: new d8c400ae2 Automatic Site Publish by Buildbot d8c400ae2 is described below commit d8c400ae2d8fe31b504ab19d60d873369962282c Author: buildbot <us...@infra.apache.org> AuthorDate: Thu May 8 20:14:03 2025 +0000 Automatic Site Publish by Buildbot --- output/Dockerfile | 11 ++++++----- output/README.md | 13 ++++++------- output/feed.xml | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/output/Dockerfile b/output/Dockerfile index 2798588ac..86c4b3a56 100644 --- a/output/Dockerfile +++ b/output/Dockerfile @@ -2,9 +2,9 @@ # making updates to the accumulo website without requiring the dev # to maintain a local ruby development environment. -FROM ruby:3.2.2-slim-bullseye as base +FROM ruby:3.2.2-slim-bullseye AS base -RUN apt-get update && apt-get install -y --no-install-recommends \ +RUN apt update && apt install -y --no-install-recommends \ build-essential \ git \ curl \ @@ -17,13 +17,14 @@ WORKDIR /mnt/workdir # from the mounted directory. But that's not available during the # docker build, so we need to copy them in to pre-install the Gems -COPY Gemfile ./Gemfile -COPY Gemfile.lock ./Gemfile.lock +COPY Gemfile Gemfile.lock ./ # Gems will be installed under GEM_HOME which is set by the ruby image. # See https://hub.docker.com/_/ruby for details. -RUN gem update --system && bundle install && gem cleanup +RUN gem update --system \ + && bundle install \ + && gem cleanup ENV HOST=0.0.0.0 ENV PORT=4000 diff --git a/output/README.md b/output/README.md index 13c68bbd4..a61c5adf2 100644 --- a/output/README.md +++ b/output/README.md @@ -109,10 +109,6 @@ Jekyll will print a local URL where the site can be viewed (usually, ### Testing using Docker environment -A containerized development environment can be built using the local -Dockerfile. - - A containerized development environment can be built using the local Dockerfile. You can build it with the following command: @@ -123,7 +119,8 @@ docker build -t webdev . This action will produce a `webdev` image, with all the website's build prerequisites preinstalled. When a container is run from this image, it will perform a `jekyll serve` command with the polling option enabled, -so that changes you make locally will be immediately reflected. +so that changes you make locally will be immediately reflected after +reloading the page in your browser. When you run a container using the webdev image, your current working directory will be mounted, so that any changes made by the build inside @@ -137,13 +134,12 @@ docker run -d -v "$PWD":/mnt/workdir -p 4000:4000 webdev While this container is running, you will be able to review the rendered website in your local browser at [http://127.0.0.1:4000/](http://127.0.0.1:4000/). - Shell access can be obtained by overriding the default container command. This is useful for adding new gems, or modifying the Gemfile.lock for updating existing dependencies. -When using shell access the local directory must be mounted to ensure +When using shell access, the local directory must be mounted to ensure the Gemfile and Gemfile.lock updates are reflected in your local environment so you can create a commit and submit a PR. @@ -151,6 +147,9 @@ environment so you can create a commit and submit a PR. docker run -v "$PWD":/mnt/workdir -it webdev /bin/bash ``` +You may need to manually delete the `_site` or `.jekyll-cache` directories if +they already exist and are causing issues with the build. + ## Publishing Changes pushed to our `main` branch will automatically trigger Jekyll to diff --git a/output/feed.xml b/output/feed.xml index c31c23e29..1d604d27d 100644 --- a/output/feed.xml +++ b/output/feed.xml @@ -6,8 +6,8 @@ </description> <link>https://accumulo.apache.org/</link> <atom:link href="https://accumulo.apache.org/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Mon, 28 Apr 2025 19:33:39 +0000</pubDate> - <lastBuildDate>Mon, 28 Apr 2025 19:33:39 +0000</lastBuildDate> + <pubDate>Thu, 08 May 2025 20:13:56 +0000</pubDate> + <lastBuildDate>Thu, 08 May 2025 20:13:56 +0000</lastBuildDate> <generator>Jekyll v4.3.4</generator>