Commit graph

4 commits

Author SHA1 Message Date
Harald Hoyer d27bd8c57a Enhance Docker test script for more reliable Vault testing
- Use direct Vault commands for unsealing
- Improve key extraction and handling
- Clarify test messages to match expected state
- Fix array handling and proper Bash syntax

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-20 12:57:24 +01:00
Harald Hoyer 8595cdead3 Use grep for more reliable JSON value detection in test script
- Replace Bash pattern matching with grep for more consistent testing
- Add more explicit comments about detecting sealed/unsealed status
- Improve overall reliability of the test script

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-20 12:55:53 +01:00
Harald Hoyer 334fc50ac7 Fix vault status checks in Docker test script
- Update JSON parsing to handle Vault status response correctly
- Remove redundant status extraction with grep
- Use safer string matching approach with Bash pattern matching

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-20 12:55:09 +01:00
Harald Hoyer f44dcd1f98 Add Docker Compose test script
This script provides comprehensive testing for the vault-hier project with Docker Compose:
- Tests initial setup, initialization, and unsealing
- Verifies credential file generation
- Tests restart scenario and automatic unsealing
- Validates basic Vault operations (login, secrets, etc.)
- Includes proper cleanup and error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-20 12:52:05 +01:00