Skip to content

[#157] Modernize build and test lifecycle#158

Merged
tristantarrant merged 1 commit into
infinispan:mainfrom
tristantarrant:cleanup/modernize-build-lifecycle
May 14, 2026
Merged

[#157] Modernize build and test lifecycle#158
tristantarrant merged 1 commit into
infinispan:mainfrom
tristantarrant:cleanup/modernize-build-lifecycle

Conversation

@tristantarrant
Copy link
Copy Markdown
Member

Summary

  • Replace 7 scattered shell scripts with standard npm scripts (test:docker, docker:up/docker:down, ssl:generate, docs:api, docs:user)
  • Consolidate on Docker-only testing via scripts/docker-test.js (Node.js port of run-docker-testsuite.sh)
  • Parameterize server version to major.minor (INFINISPAN_VERSION=16.1 default, overridable)
  • Use YAML anchors in docker-compose.yml for DRY build config
  • Move jsdoc from production dependencies to devDependencies
  • Update CI workflows to use npm scripts
  • Rewrite README testing/docs sections; point issue reporting to GitHub Issues

Deleted scripts

run-servers.sh, run-testsuite.sh, smoke-tests.sh, release.sh, gen-jsdoc.sh, set-npm-auth-token.sh, run-docker-testsuite.sh

Kept scripts (wrapped with npm)

make-ssl.shnpm run ssl:generate, gen-asciidoc.shnpm run docs:user

Created with the assistance of an AI tool

Replace scattered shell scripts with npm scripts and consolidate
on Docker-only testing. Parameterize server version to major.minor
(16.1) with override via INFINISPAN_VERSION env var.

- Add scripts/docker-test.js replacing run-docker-testsuite.sh
- Add npm scripts: test:docker, docker:up/down, ssl:generate,
  docs:api, docs:user
- Move jsdoc from dependencies to devDependencies
- Use YAML anchors in docker-compose.yml for DRY build config
- Add ARG INFINISPAN_VERSION=16.1 to Dockerfile.server
- Update CI workflow to use npm scripts
- Delete 7 obsolete scripts
- Update README with new workflow and GitHub Issues
- Clean up .gitignore and .npmignore
@tristantarrant tristantarrant force-pushed the cleanup/modernize-build-lifecycle branch from c106484 to 0f362c2 Compare May 14, 2026 08:10
@tristantarrant tristantarrant merged commit 8d0a6da into infinispan:main May 14, 2026
2 checks passed
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