Files
osmedeus/test/testdata/workflows/test-hooks-post-only.yaml
T
j3ssie baac7a016a feat: add worker management, hooks support, and db cleanup enhancements
- Add worker eval command for distributed function execution with Redis hooks registration
- Add worker set command to update worker fields (alias, public-ip, ssh-enabled, ssh-keys-path)
- Enhance worker status with JSON output, search filtering, and column selection (--columns, --exclude-columns, --search)
- Add --keep-setting flag to install base/validate commands to preserve osm-settings.yaml after base installation
- Fix binary installation in Nix: replace CopyInstalledBinaryToFolder with SymlinkInstalledBinaryToFolder
- Add --clean-ws flag to db clean command for removing workspace data
- Add HooksEnabled field to Run records when creating runs from CLI and API
- Add comprehensive test coverage for hook execution (pre/post hooks, execution order, failure handling)
- Add test coverage for worker commands (eval, set, status with JSON) and db clean operations
- Improve usage documentation for worker subcommands and db operations
2026-02-15 10:47:44 +07:00

20 lines
381 B
YAML

name: test-hooks-post-only
kind: module
description: Test module with only post-scan hooks
tags: test,hooks
params:
- name: target
required: true
hooks:
post_scan_steps:
- name: post-notify
type: bash
command: echo "[HOOK-POST] Notify completion for {{Target}}"
steps:
- name: main-step
type: bash
command: echo "[MAIN] Running for {{Target}}"