Skip to content

Commit aa0a882

Browse files
committed
ci: exercise orchestration event queue
1 parent 36e335b commit aa0a882

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ jobs:
6868
sourceos-syncd health snapshot --store-root "$STORE_ROOT" --compact > /tmp/sourceos-syncd.store.snapshot.json
6969
sourceos-syncd health verify --file /tmp/sourceos-syncd.store.snapshot.json --compact
7070
71+
- name: Exercise orchestration event queue
72+
run: |
73+
ORCH_ROOT=/tmp/sourceos-syncd-orchestration
74+
sourceos-syncd orchestration init --root "$ORCH_ROOT" --compact
75+
sourceos-syncd orchestration enqueue --root "$ORCH_ROOT" --file examples/orchestration/event-capability.records.json --compact > /tmp/sourceos-syncd.orchestration.enqueue.json
76+
sourceos-syncd orchestration summary --root "$ORCH_ROOT" --compact > /tmp/sourceos-syncd.orchestration.summary.json
77+
sourceos-syncd orchestration list --root "$ORCH_ROOT" --state pending --compact > /tmp/sourceos-syncd.orchestration.pending.json
78+
sourceos-syncd orchestration list --root "$ORCH_ROOT" --state waiting-approval --compact > /tmp/sourceos-syncd.orchestration.waiting.json
79+
sourceos-syncd orchestration list --root "$ORCH_ROOT" --state blocked --compact > /tmp/sourceos-syncd.orchestration.blocked.json
80+
sourceos-syncd orchestration replay --root "$ORCH_ROOT" --state pending --compact > /tmp/sourceos-syncd.orchestration.replay.json
81+
7182
- name: Exercise local evidence writer
7283
run: |
7384
EVIDENCE_DIR=/tmp/sourceos-syncd-evidence

0 commit comments

Comments
 (0)