A Probo CI demo that displays the build environment variables Probo injects
into a container. Originally a PHP page (src/index.php); now a static
Jekyll site.
Jekyll is a static generator, so there is no request-time PHP. Instead, the environment is captured at build time — which, inside a Probo container, is exactly when the injected variables are present:
_plugins/probo_env.rbis a Jekyll generator that readsENV, applies the same filter as the container'senvvars-swap.sh(dropsAPACHE_*andHOME/LANG/PWD/PATH/OLDPWD/SHLVL/_), and exposes the result assite.data.probo.index.htmlrenders it with Liquid: documented build variables in one table, secrets / custom variables in another, plus the Ruby version and a "running inside Probo" status pill.
- Ruby (targets the highest available — pinned to
4.0.5in.ruby-version; Jekyll 4.4 supports Ruby 3.3+). - Bundler.
./build.sh # builds into ./_site
./build.sh /some/dir # builds into a custom destinationPreview locally with live values:
BUILD_ID=demo PROBO_ENVIRONMENT=TRUE bundle exec jekyll serve