tests #62

Merged
kawaiipunk merged 11 commits from kawaiipunk/wordpress:tests into main 2026-06-03 18:36:33 +00:00

11 Commits

Author SHA1 Message Date
391582089f Merge branch 'main' into tests
All checks were successful
continuous-integration/drone/pr Build is passing
2026-06-03 18:33:08 +00:00
e14f47a4b3 Rename stale pipeline name (deploy step is disabled)
All checks were successful
continuous-integration/drone/pr Build is passing
2026-06-02 23:36:20 +01:00
2f1b9a2262 Pin gomplate to v5.0.0 in CI, add Renovate regex manager
- .drone.yml: pin gomplate to v5.0.0, remove redundant pip yamllint install
- renovate.json: add github-releases regex manager for hairyhenderson/gomplate
2026-06-02 23:36:19 +01:00
bc54e86ff5 Updated README test instructions 2026-06-02 23:36:19 +01:00
90d44bd3bc Fix lint issues and improve test suite resilience
- compose.matrix.yml: add trailing newline
- compose.ftp-222*.yml: fix YAML indentation (8->6 spaces)
- entrypoint.sh.tmpl: fix SC2198 ([ -n "$@" ] -> [ $# -gt 0 ])
- All .tmpl files: migrate from {{ env }} to {{ getenv }} for gomplate v5 compat
- uploads.ini.tmpl: add {{- / -}} whitespace trimming, fix double-space typo
- tests/run.sh: only run ShellCheck on *.sh.tmpl files
- tests/test_shell.sh: gracefully skip if shellcheck not installed
- tests/test_templates.sh: remove dead render() function,
  gracefully skip if gomplate not found, use set -a/. for env sourcing
- tests/test_compose_config.sh: validate override files combined
  with compose.yml, skip partial snippets needing more context
- README.md: add test instructions with brew install
2026-06-02 23:36:18 +01:00
34b2515fca Add explanatory comments to all test scripts 2026-06-02 23:36:18 +01:00
fe8744e20e Add Docker Compose config validation test 2026-06-02 23:36:18 +01:00
426e0367f1 Add Renovate regex manager for Docker image tags 2026-06-02 23:36:03 +01:00
dde03454c3 Disable swarm-test deployment (server is down) 2026-06-02 23:36:02 +01:00
a8bb78a8db Run CI tests on pull requests (not just push to main) 2026-06-02 23:36:02 +01:00
605f3d7fc0 Added basic tests 2026-06-02 23:36:02 +01:00