Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Jekyll-based build for Vespa Search #12

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

esolitos
Copy link
Contributor

@esolitos esolitos commented Aug 27, 2024

What

  • Adds a workflow which takes care of building all containers required for Github Actions with a Dockerfile.
  • Adds an Action which takes care of rendering "json" summary of Jekyll pages. This will be later used to Feed vespa, namely for search.

Why

  • Containers build: Automatic detection and build of containers is best than manual action.
  • New Action: This simplifies the logic repeated in many repos to build the json containing the extracts of pages.

Additional info

This also adds a "WIP" workflow which will handle the "Feed Jekyl to Vespa" work, but this is not finished and not in scope of this PR, I cna remove it from the PR if the reviewer feels like it should be handled separately.


I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@esolitos esolitos self-assigned this Aug 27, 2024
@esolitos esolitos changed the base branch from main to draft August 27, 2024 13:17
@esolitos esolitos changed the base branch from draft to main August 27, 2024 13:17
@esolitos esolitos force-pushed the feature-jekyll-build-json-action branch 22 times, most recently from bcc53b7 to 4495b07 Compare August 28, 2024 13:44
This commit introduces a new GitHub Action for building Jekyll-based
content compatible with Vespa Search. The changes include:

- Added the `jekyll-build-json/action.yml` file, which defines the
  inputs and configuration for the action.
- Added the `jekyll-build-json/Dockerfile` file, which sets up the
  build environment with the necessary dependencies.
- Added the `jekyll-build-json/Gemfile` file, which specifies the
  required Ruby gems for the Jekyll build.
- Added the `jekyll-build-json/entrypoint.sh` file, which is the
  entry point for the Docker container.
- Added the `docker-publish.yml` workflow file, which automates the
  build and publication of the Docker image for the action.

These changes enable the creation of Jekyll-based content that can be
easily consumed by the Vespa Search platform, improving the developer
experience and simplifying the integration process.
feat: Add Jekyll to Vespa feed workflow
feat: Add log_level input to Jekyll build workflow

Adds a new `log_level` input parameter to the Jekyll build workflow. This
allows the user to specify the desired log level for the Jekyll build
process, which can be useful for debugging purposes.
@esolitos esolitos force-pushed the feature-jekyll-build-json-action branch 4 times, most recently from 6b1ea22 to e50fce4 Compare September 2, 2024 09:17
@esolitos esolitos marked this pull request as ready for review September 2, 2024 09:19
@esolitos esolitos requested review from aressem and bjormel September 2, 2024 09:19
@bjormel bjormel merged commit 9254d7b into main Sep 2, 2024
7 checks passed
@bjormel bjormel deleted the feature-jekyll-build-json-action branch September 2, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants