Apache buildstream

Clone this repo:
  1. 40736fd Merge pull request #4 from apache/preview/sstriker by Chandan Singh · 4 months ago main
  2. 4b6a297 Port content over from buildstream.build. by Sander Striker · 7 months ago
  3. c392626 Update logo. Update site title and menu. Add missing foundation.css by Sander Striker · 7 months ago
  4. 3041dab Add instructions on how to run pelican locally, as there are by Sander Striker · 7 months ago
  5. 5b1df3b Copy over content from infrastructure-website-master as per by Sander Striker · 7 months ago

Apache Buildstream Website (buildstream.apache.org)

This repository provides the source for the main website of The Apache Software Foundation.

Documentation

Read the ASF-Pelican Getting started guide and the pages it links to.

Notes

The website is built with Pelican.

Continuous Integration / Continuous Deployment (CI/CD) is via the .asf.yaml file mechanism, which runs Buildbot.

Local development and testing

If you wish to update and test the site locally, there is a Docker build script you can use. You will also need Git, and familiarity with working in a command-line shell.

The following instructions should work for Unix, Linux, and macOS, but will need adjustment for Windows.

  • Install Docker.
  • Change to a suitable directory.
  • Get the Infra Pelican setup: git clone https://github.com/apache/infrastructure-pelican.
  • Change to the checkout: cd infrastructure-pelican.
  • Build the container: docker build -t pelican-asf .. This will take a while the first time.
  • Change to a suitable directory.
  • Get the ASF website source: git clone https://github.com/apache/buildstream-site.
  • Change to the website checkout: cd buildstream-site.
  • Start the continuous builder: docker run -it -p8000:8000 -v $PWD:/site pelican-asf. This will generate a lot of output, but will eventually stop. [N.B. Pelican calls the data generation plugins 3 times before generating the pages.]
  • If you want to add some additional debug output, add the following line to pelicanconf.yaml: debug: true
  • Browse to http://localhost:8000/ .

If you make changes to the local copy of buildstream-site, these will be automatically built, and should appear in the browser when you refresh the page.

Previewing proposed changes

Any branch in the buildstream-site repository that is named preview/* will auto-build and stage to buildstream-*.staged.apache.org.

If you need to test your changes, create a branch such as preview/your-asf-id

Commits to it will be staged at buildstream-your-asf-id.staged.apache.org

Note: the branch name must not include any “.” characters, or browsers will refuse to display the site due to an invalid SSL certificate. The underscore character should not be used either, as it is disallowed in host names.