add more cuddle

This commit is contained in:
Kasper Juul Hermansen 2022-09-17 17:54:51 +02:00
parent 9ad10d07be
commit e3a672f9f7
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
5 changed files with 32 additions and 0 deletions

View File

@ -9,3 +9,9 @@ vars:
scripts:
push_github:
type: shell
run_server:
type: shell
run_client:
type: shell
run:
type: shell

View File

@ -21,6 +21,7 @@
- [x] Setup a way to choose actions and predicates
- [x] Allow instantiation of actions, kraken template repo etc.
- [ ] Implement docker action
- [ ] Providing query results
- [ ] Create pr for gitea provider
- [ ] Think about some sort of isolation
- [ ] Create CLI to trigger action

15
scripts/run.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
run_server="cuddle_cli x run_server"
$run_server &
sleep 1s
cuddle_cli x run_client
sleep 5s
kill %1

5
scripts/run_client.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
set -e
go run cmd/kraken/kraken.go process

5
scripts/run_server.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
set -e
go run cmd/server/server.go start