Skip to content

Commit

Permalink
CI: Use docker-practice/actions-setup-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 10, 2023
1 parent e4fc2c3 commit 3ed2fe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
uses: actions/checkout@v4

- name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v2
uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12

- name: Probe Docker
run: |
set -x
docker version
docker run --rm hello-world
Expand Down
2 changes: 2 additions & 0 deletions cratedb_toolkit/testing/testcontainers/cratedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ def _configure(self) -> None:
self.with_env("CRATEDB_PASSWORD", self.CRATEDB_PASSWORD)
self.with_env("CRATEDB_DB", self.CRATEDB_DB)

"""
if "CI" in os.environ:
docker_host = get_docker_host()
self.with_env("DOCKER_HOST", docker_host).with_env("DOCKER_CERT_PATH", "").with_env("DOCKER_TLS_VERIFY", "")
"""

def get_connection_url(self, host=None) -> str:
# TODO: When using `db_name=self.CRATEDB_DB`:
Expand Down

0 comments on commit 3ed2fe7

Please sign in to comment.