feat(ansible-example): add @ansible/example package, tests, CI, publish & deploy workflows, docs and changelog
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# 2026-03-28 Ansible package implementation
|
||||
|
||||
Summary of changes added to repository:
|
||||
|
||||
- packages/@ansible/example/
|
||||
- package.json (scoped package @ansible/example)
|
||||
- README.md
|
||||
- src/index.js
|
||||
- tests/ (test_package_json.js, test_pack_inspect.js, _pack_helpers.js, run.js)
|
||||
- .github/workflows/publish-ansible-example.yml
|
||||
- .github/workflows/deploy-motief.yml
|
||||
- docs/deployment/ansible-package-deploy.md
|
||||
- docs/embeddings.md
|
||||
- README.md (top-level)
|
||||
- thoughts/shared/changes/2026-03-28-ansible-package-implementation.md (this file)
|
||||
|
||||
Verification commands (run from repo root):
|
||||
|
||||
1. Run package tests:
|
||||
cd packages/@ansible/example && npm test
|
||||
|
||||
2. Run pack inspection:
|
||||
cd packages/@ansible/example && node tests/test_pack_inspect.js
|
||||
|
||||
3. Simulate pack locally:
|
||||
cd packages/@ansible/example && npm pack && tar -tzf <produced-tgz> | head -n 20
|
||||
|
||||
4. Check workflows syntax locally (optional):
|
||||
- Use `act` or `nektos/act` to run workflow_dispatch triggers in a container; ensure secrets are not printed.
|
||||
|
||||
5. Verify docs updated for embeddings and deployment: open docs/embeddings.md and docs/deployment/ansible-package-deploy.md
|
||||
|
||||
Notes:
|
||||
- Do NOT add secrets to repo. Secrets: NPM_TOKEN, DEPLOY_SSH_KEY, DEPLOY_HOST, DEPLOY_USER, DEPLOY_SSH_PORT, OPENROUTER_API_KEY
|
||||
|
||||
Contact: Sven Geboers
|
||||
|
||||
End of changelog.
|
||||
|
||||
Write the file with neutral tone and concise steps for verification.
|
||||
Reference in New Issue
Block a user