Skip to content

Commit

Permalink
Organize docs and add inline examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirrezaNasiri committed Sep 2, 2023
1 parent 7fd2af8 commit bc7bd9f
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ services:
image: evryn/kermoo
command: start
volumes:
- "./config.yaml:/home/kerm/.kermoo/config.yaml"
- "./config.yaml:/home/kerm/.kermoo/config.yaml"
13 changes: 13 additions & 0 deletions docs/examples/docker-compose/inline/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3.7'

services:
kermoo:
image: evryn/kermoo
command:
- start
- -f
- |
process:
exit:
after: 2s
code: 5
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions docs/examples/docker-swarm-inline/inline/stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3.7'

services:
kermoo:
image: evryn/kermoo
command:
- start
- -f
- |
process:
exit:
after: 2s
code: 5
4 changes: 2 additions & 2 deletions tests/e2e/webserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func TestWebserverEndToEnd(t *testing.T) {
content:
static: hello-world
fault:
interval: 100ms
interval: 50ms
percentage: 50
`, 3*time.Second)

Expand All @@ -237,7 +237,7 @@ func TestWebserverEndToEnd(t *testing.T) {
e2e.Start(`
plans:
- name: readiness
interval: 100ms
interval: 50ms
percentage: 40
webServers:
- port: 8080
Expand Down

0 comments on commit bc7bd9f

Please sign in to comment.