Skip to content

Commit

Permalink
CI: Install docker-compose
Browse files Browse the repository at this point in the history
docker-compose doesn't appear to be included in the github actions
runner images anymore so we need to install it manually.

Ideally we would use the `services` key in github actions workflows but
our tests depend on eventstore using the certificates included in the
repository.
  • Loading branch information
the-mikedavis committed Aug 3, 2024
1 parent b683d5c commit 37b46bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install docker-compose
run: sudo apt install docker-compose

- name: Spawn docker-compose EventStoreDB container
run: docker-compose up --detach eventstore

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install docker-compose
run: sudo apt install docker-compose

- name: Set the EventStoreDB version
run: sed -i 's|ghcr.io/eventstore/eventstore:ci|eventstore/eventstore:${{ matrix.eventstore }}-buster-slim|g' docker-compose.yml

Expand Down

0 comments on commit 37b46bb

Please sign in to comment.