Skip to content

Run strip_library_content.py inside Docker container#327

Merged
litlfred merged 2 commits into
mainfrom
claude/strip-elm-vaccine-logic-hKapF
Mar 24, 2026
Merged

Run strip_library_content.py inside Docker container#327
litlfred merged 2 commits into
mainfrom
claude/strip-elm-vaccine-logic-hKapF

Conversation

@litlfred
Copy link
Copy Markdown
Collaborator

@litlfred litlfred commented Mar 24, 2026

Summary

  • Run strip_library_content.py inside the ig-run Docker container instead of on the host, matching how strip_library_binaries.py already runs. This avoids file permission issues since Docker-created output files may not be writable by the host user.

Test plan

  • Verify DAK-enabled IG build still strips ELM from Library resources
  • Check published Library XML/JSON files no longer contain inline base64 ELM data

The two Library ELM/CQL stripping steps were gated behind
`DAK_ENABLED == 'true'`, which meant repos without a dak.json
(e.g. smart-immunizations) never had their ELM binary data
stripped from published Library XML/JSON files.

Move both steps out of the DAK condition so they run for every
IG build. Also run strip_library_content.py inside the Docker
container for consistency with strip_library_binaries.py.

https://claude.ai/code/session_01QR1WgNsJbTGkcMHbAADJv2
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

❌ Deployment Failed

Branch: claude/strip-elm-vaccine-logic-hKapF
Commit: 427f9d7

🔍 View Build Log


Deployment failed. Please check the build log for details.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

✅ Deployment Successful

Branch: claude/strip-elm-vaccine-logic-hKapF
Commit: 7554238
Deployed to: https://WorldHealthOrganization.github.io/smart-base/branches/strip-elm-vaccine-logic-hKapF

🌐 Open Preview
🔍 View Build Log


Deployment completed successfully! The site is now live at the URL above.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Deployment Started

Branch: claude/strip-elm-vaccine-logic-hKapF
Commit: 7554238
Expected URL: https://WorldHealthOrganization.github.io/smart-base/branches/strip-elm-vaccine-logic-hKapF

🔍 View Build Log


This comment will be updated when the deployment completes.

Keep the DAK condition — stripping should only run for DAK-enabled
repos. The remaining change from this branch is running
strip_library_content.py inside the Docker container for consistency
with strip_library_binaries.py (avoids file permission issues).

https://claude.ai/code/session_01QR1WgNsJbTGkcMHbAADJv2
@litlfred litlfred changed the title Run ELM stripping for all IGs, not just DAK-enabled ones Run strip_library_content.py inside Docker container Mar 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

✅ Deployment Successful

Branch: claude/strip-elm-vaccine-logic-hKapF
Commit: 7554238
Deployed to: https://WorldHealthOrganization.github.io/smart-base/branches/strip-elm-vaccine-logic-hKapF

🌐 Open Preview
🔍 View Build Log


Deployment completed successfully! The site is now live at the URL above.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

✅ Deployment Successful

Branch: claude/strip-elm-vaccine-logic-hKapF
Commit: 38c6f0c
Deployed to: https://WorldHealthOrganization.github.io/smart-base/branches/strip-elm-vaccine-logic-hKapF

🌐 Open Preview
🔍 View Build Log


Deployment completed successfully! The site is now live at the URL above.

@litlfred litlfred merged commit 5ee4edf into main Mar 24, 2026
8 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2026

✅ Deployment Successful

Branch: claude/strip-elm-vaccine-logic-hKapF
Commit: 7554238
Deployed to: https://WorldHealthOrganization.github.io/smart-base/branches/strip-elm-vaccine-logic-hKapF

🌐 Open Preview
🔍 View Build Log


Deployment completed successfully! The site is now live at the URL above.

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