Content-Length: 297502 | pFad | http://github.com/electric-sql/electric/commit/58e9106c8ea945d13e6727f470389c86d3a19ef2

1C wip · electric-sql/electric@58e9106 · GitHub
Skip to content

Commit 58e9106

Browse files
committed
wip
1 parent dbe92f2 commit 58e9106

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/docker_image_smoketest.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,21 @@ jobs:
4343

4444
- name: "Run the built image"
4545
run: |
46-
container_id=$(
47-
docker run \
48-
--rm \
49-
--net host \
50-
-d \
51-
-e ELECTRIC_USAGE_REPORTING=false \
52-
-e ELECTRIC_INSECURE=true \
53-
-e DATABASE_URL='postgresql://postgres:password@localhost:54321?sslmode=disable' \
54-
-p 3000:3000 \
55-
ghcr.io/electric-sql/electric/electric:smoketest
56-
)
57-
58-
docker inspect --format '{{ .State.Health.Status }}' ${container_id}
46+
docker run \
47+
--rm \
48+
--net host \
49+
--name electric-smoketest \
50+
-e ELECTRIC_USAGE_REPORTING=false \
51+
-e ELECTRIC_INSECURE=true \
52+
-e DATABASE_URL='postgresql://postgres:password@localhost:54321?sslmode=disable' \
53+
-d \
54+
ghcr.io/electric-sql/electric/electric:smoketest
55+
56+
- name: Wait for the container to reach healthy status
57+
uses: stringbean/docker-healthcheck-action@v3
58+
with:
59+
container: electric-smoketest
60+
require-status: running
61+
require-healthy: true
62+
wait-time: 20
5963

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/electric-sql/electric/commit/58e9106c8ea945d13e6727f470389c86d3a19ef2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy