1# vi: set ft=conf23# start soft serve4exec soft serve &5# wait for SSH server to start6ensureserverrunning SSH_PORT78# create a repo9soft repo create repo-12310stderr 'Created repository repo-123.*'11stdout ssh://localhost:$SSH_PORT/repo-123.git1213# create webhook14new-webhook WH_REPO_12315soft repo webhook create repo-123 $WH_REPO_123 -e branch_tag_create -e branch_tag_delete -e collaborator -e push -e repository -e repository_visibility_change1617# list webhooks18soft repo webhook list repo-12319stdout '1.*webhook.site/.*'2021# clone repo and commit files22git clone ssh://localhost:$SSH_PORT/repo-123 repo-12323mkfile ./repo-123/README.md 'foobar'24git -C repo-123 add -A25git -C repo-123 commit -m 'first'26git -C repo-123 push origin HEAD2728# list webhook deliveries29soft repo webhook deliver list repo-123 130stdout '.*created by.*response status \[200\].*'3132# stop the server33[windows] stopserver34[windows] ! stderr .