gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit54bc5fe154bc5fe1Harden delta relevance, overflow caps and retry verificationmre54bc5fe1/tests/e2e-start-app.sh

913 B

  1. #!/bin/sh
  2. # start-app.sh <tree> <port> <dir> : runs the app on <dir>/storage with a session made inside <dir>; prints sid to <dir>/sid
  3. tree=$1; port=$2; dir=$3
  4. sid=$(head -c16 /dev/urandom | od -An -tx1 | tr -d ' \n')
  5. h=$(printf %s "$sid" | sha256sum | cut -d' ' -f1)
  6. now=$(date +%s)000
  7. mkdir -p $dir/sessions
  8. printf '{"created":%s,"data":{"tag":"j3tag"},"handled":[],"id":"%s","seen":%s,"user":{"id":"0mufikk6hj1u"}}' $now $sid $now > $dir/sessions/$h
  9. chmod 600 $dir/sessions/$h
  10. echo $sid > $dir/sid
  11. cd $tree
  12. TICKETS_PORT=$port TICKETS_STORAGE=$dir/storage/mpackdb TICKETS_SESSIONS=$dir/sessions TICKETS_ATTACHMENTS=$dir/storage/attachments \
  13. IDENT_URL=http://127.0.0.1:9 IDENT_EXCHANGE_URL=http://127.0.0.1:9 TICKETS_PUBLIC_URL=http://127.0.0.1:$port TICKETS_CREATOR_IDENTITY= TICKETS_WATCH=0 IDENT_API_KEY=pk_j3 IDENT_API_SECRET= \
  14. nohup ./bin/hybriel project.hl > $dir/server.log 2>&1 &
  15. echo $! > $dir/pid

Branches

Latest commits

  • 54bc5fe1Harden delta relevance, overflow caps and retry verificationmre
  • 8d8e2053Document subscription contract and exercise delta deliverymre
  • fd23726aAdd subscription delta API and signed wake bridgemre
  • c5d28fb5Tickets conductor: S51 startedmre
  • fd6ca1e6Tickets conductor: brief 027 waker design, push-test projectmre
  • e448e656Tickets conductor: STATUS #51mre
  • 1c10857bTickets conductor: P51 eval, brief 027mre
  • e725969dTickets conductor: #51 directionmre
  • 1b5c63ddTickets conductor: P51 startedmre
  • 9f13fbdaTickets conductor: brief 026 prioritymre
  • acc477d9Tickets conductor: brief 026 + Vinzenz recommendationsmre
  • 9233a734Tickets conductor: brief 026 completemre
  • 5da589fdTickets conductor: brief 026 + Gitoria's answermre
  • a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
  • 6f6e5797Tickets conductor: STATUS wordingmre
  • 957de51fTickets conductor: T36 live, #36 review, #50 donemre
  • bc2fde32Merge branch 'main' into t36-stylemre
  • b7ca093atests: wait for the new row and normalize editor marker spacesmre
  • 41da3525Tickets conductor: flake cause, T36 deploy stepmre
  • 64c477e6Tickets conductor: deploy waits for Arachnemre