Skip to content

fix(data-deploy): bundle jekyll + flavor pubid in one deploy bundle - #56

Merged
andrew2net merged 1 commit into
mainfrom
fix/data-deploy-jekyll-pubid-bundle
Aug 1, 2026
Merged

fix(data-deploy): bundle jekyll + flavor pubid in one deploy bundle#56
andrew2net merged 1 commit into
mainfrom
fix/data-deploy-jekyll-pubid-bundle

Conversation

@andrew2net

Copy link
Copy Markdown
Contributor

What & why

Completes hand-off relaton__support__data-deploy-gemfile-pubid.md.

The Pages data-deploy build ran ruby/setup-ruby with bundler-cache: true and no BUNDLE_GEMFILE, so it bundled each data repo's own Gemfile (relaton + pubid, no jekyll) and never actually used Gemfile.deploy (jekyll, no pubid). So bundle exec jekyll build had no jekyll — and even via Gemfile.deploy the theme's jekyll-index plugin could not resolve Pubid::<Flavor>::Identifier to reconstruct structured DocIDs, degrading to fallback strings like 2010 IEC IEC.

Changes

  • cimas-config/gh-actions/data/Gemfile.deployeval_gemfiles the repo's own Gemfile and layers the Jekyll toolchain (jekyll, csv, jekyll-paginate, kramdown-parser-gfm, webrick) on top. One shared file now carries both jekyll and the flavor's relaton + pubid pins; dropped the unused minima and its own source line (inherited from the eval'd Gemfile, avoiding bundler's multi-source warning).
  • .github/workflows/data-deploy.ymlbuild_index_page job sets env: BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile.deploy, so both the bundler-cache install and bundle exec jekyll build resolve against it.
  • data-index/README.adoc — refreshed the stale WARNING (theme from_hash fix has landed; the deploy bundle now carries pubid).
  • specs — structural guards for the deploy Gemfile (eval_gemfile + jekyll toolchain, no own source) and the workflow env (BUNDLE_GEMFILE → Gemfile.deploy, build step intact).

Tests

bundle exec rake16 examples, 0 failures. Also verified via bundler's DSL that the merged dependency set carries relaton + pubid + the jekyll toolchain with no multi-source warning.

⚠️ Rollout ordering

This workflow now hard-requires the new Gemfile.deploy (and a root Gemfile) present in every repo calling data-deploy.yml@main. Re-sync Gemfile.deploy to the data repos via Cimas before/with merging this, or their builds will fail bundle install. Additionally, confirm one flavor end-to-end (bundle exec jekyll build for iso → grep _site for ISO/IEC DIR IEC SUP) since combining the two dependency trees is network-dependent and unverified in CI here.

The Pages build ran ruby/setup-ruby with bundler-cache and no BUNDLE_GEMFILE,
so it bundled each data repo's own Gemfile (relaton + pubid, no jekyll) and
never used Gemfile.deploy (jekyll, no pubid). jekyll build thus lacked jekyll,
and even via Gemfile.deploy the jekyll-index plugin could not resolve
Pubid::<Flavor>::Identifier to reconstruct structured DocIDs.

Make Gemfile.deploy eval_gemfile the repo's own Gemfile and layer the Jekyll
toolchain on top, so one shared file carries BOTH jekyll AND the flavor's
relaton + pubid pins. Point the build job's BUNDLE_GEMFILE at Gemfile.deploy
so the bundler-cache install and jekyll build both resolve against it.

Add rspec structural guards for the deploy Gemfile and the workflow env, and
refresh the data-index README now that the theme from_hash fix has landed.
@andrew2net
andrew2net merged commit 58de711 into main Aug 1, 2026
5 checks passed
@andrew2net
andrew2net deleted the fix/data-deploy-jekyll-pubid-bundle branch August 1, 2026 16:17
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.

1 participant