Skip to content

Add bats-core and helper libraries to ci-tools image#60

Merged
lex57ukr merged 3 commits intomainfrom
59-add-bats-core-to-ci-tools
Feb 16, 2026
Merged

Add bats-core and helper libraries to ci-tools image#60
lex57ukr merged 3 commits intomainfrom
59-add-bats-core-to-ci-tools

Conversation

@lex57ukr
Copy link
Contributor

@lex57ukr lex57ukr commented Feb 16, 2026

Summary

CI can now run Keystone's bats-core shell test suite (make test-scripts local=1) directly in the ci-tools image, eliminating the need for a separate bats container build step.

Related Issues

Fixes #59

Changes

  • Install bats and git from apt in the ci-tools Dockerfile
  • Shallow-clone bats-support, bats-assert, and bats-file helper libraries to /usr/lib/bats/ at pinned tags managed through versions.lock
  • Set BATS_LIB_PATH=/usr/lib/bats so bats_load_library finds helpers automatically
  • Add resolver functions, compose args, and verify checks for the three bats helpers
  • Update README tools table with bats/git entries and link all tools to their project pages

Install bats and git from apt, then shallow-clone bats-support,
bats-assert, and bats-file into /usr/lib/bats/ at pinned tags.
Set BATS_LIB_PATH so bats_load_library finds helpers automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lex57ukr lex57ukr added the enhancement New feature or request label Feb 16, 2026
lex57ukr and others added 2 commits February 16, 2026 15:40
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lex57ukr lex57ukr merged commit dc103f4 into main Feb 16, 2026
7 checks passed
@lex57ukr lex57ukr deleted the 59-add-bats-core-to-ci-tools branch February 16, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add bats-core to ci-tools image

1 participant