chore: clean up root directory and consolidate documentation
Remove obsolete documentation files and consolidate into docs/ directory. Remove redundant test scripts (functionality will be folded into run.sh). Update AGENTS.md with SDLC workflow. Update PRD.md with tier0 architecture clarification. Update README.md to reflect clean directory structure. Changes: - Delete: BUILD-COMPLETE.md, BUILD-SUMMARY.md, RESUME.md, SESSION-CLOSED.md - Delete: FINAL-SECURITY-COMPLIANCE-REPORT.md, QUICK_START.md, JOURNAL.md - Move: TEST-COVERAGE.md, VERIFICATION-REPORT.md to docs/ - Delete: test-iso.sh, test-runner.sh (will fold into run.sh) - Update: AGENTS.md with SDLC workflow section - Update: PRD.md with tier0 architecture clarification and diagram - Update: README.md to reflect clean directory structure Root directory now contains only: AGENTS.md, README.md, PRD.md, Dockerfile, run.sh 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
# Integration tests for complete workflows
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# End-to-end integration tests for complete workflows
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive security compliance tests
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Security compliance tests
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive encryption configuration tests
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Simple test to validate bats setup
|
||||
|
||||
# Set BATS_LIB_PATH to point to our bats libraries
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
# Load bats libraries directly
|
||||
source /usr/lib/bats-core/bats-support/src/output.bash
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
#!/usr/bin/env bats
|
||||
# Test helper setup for bats-core
|
||||
|
||||
# Load bats support libraries if available
|
||||
if [[ -f "/usr/lib/bats-core/bats-support/load.bash" ]]; then
|
||||
bats_load_library "/usr/lib/bats-core/bats-support"
|
||||
bats_load_library "/usr/lib/bats-core/bats-assert"
|
||||
bats_load_library "/usr/lib/bats-core/bats-file"
|
||||
fi
|
||||
# Load bats support libraries
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
load 'bats-file/load'
|
||||
|
||||
# Common test variables
|
||||
readonly TEST_TEMP_DIR=$(mktemp -d)
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive unit tests for build-iso.sh (100% coverage)
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Unit tests for build script functions
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive unit tests for encryption-setup.sh hook
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive unit tests for encryption-validation.sh hook
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive unit tests for firewall-setup.sh
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Unit tests for firewall configuration functions
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive unit tests for run.sh (100% coverage)
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Unit tests for run.sh main entry point
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Comprehensive unit tests for security-hardening.sh (100% coverage)
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# Unit tests for security hardening functions
|
||||
|
||||
# Add bats library to BATS_LIB_PATH
|
||||
export BATS_LIB_PATH="/usr/lib/bats-core"
|
||||
|
||||
load 'bats-support/load'
|
||||
load 'bats-assert/load'
|
||||
|
||||
Reference in New Issue
Block a user