Skip to content

Commit 6b03c59

Browse files
committed
no need to install docker in gha
1 parent 3beff1f commit 6b03c59

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/chaos-tests.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run Chaos Tests
2-
32
on:
3+
schedule:
4+
# Runs every hour on the hour
5+
- cron: '0 * * * *'
46
push:
57
branches:
68
- main
@@ -60,17 +62,13 @@ jobs:
6062
- name: Install gotestsum
6163
run: go install gotest.tools/gotestsum@latest
6264

63-
- name: Install Docker (for PostgreSQL management in chaos tests)
64-
run: |
65-
sudo apt-get update
66-
sudo apt-get install -y docker.io
67-
sudo systemctl start docker
68-
sudo usermod -a -G docker $USER
69-
7065
- name: Run chaos tests
7166
run: go vet ./... && gotestsum --format github-action -- -race -v -count=1 -timeout=30m ./...
7267
working-directory: ./chaos_tests
7368
env:
7469
PGPASSWORD: a!b@c$d()e*_,/:;=?@ff[]22
7570
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76-
DBOS_SYSTEM_DATABASE_URL: "postgres://postgres:a!b@c$d()e*_,/:;=?@ff[]22@localhost:5432/dbos?sslmode=disable"
71+
DBOS_SYSTEM_DATABASE_URL: "postgres://postgres:a!b@c$d()e*_,/:;=?@ff[]22@localhost:5432/dbos?sslmode=disable"
72+
73+
name: Run Chaos Tests
74+

0 commit comments

Comments
 (0)