Skip to content

Commit

Permalink
chore: add mariadb service to ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonndabi committed Nov 24, 2023
1 parent e076e65 commit f8ff0bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ jobs:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: opentelemetry_ecto_test
mariadb:
image: mariadb:11.0
ports: ['3306:3306']
options: --health-cmd "healthcheck.sh --connect --innodb_initialized" --health-interval 10s --health-timeout 5s --health-retries 5
env:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MARIADB_USER: mariadb
MARIADB_PASSWORD: mariadb
MARIADB_DATABASE: opentelemetry_ecto_test
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/opentelemetry_ecto/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- 5432:5432

mariadb:
image: mariadb:10.7
image: mariadb:11.0
environment:
- MARIADB_RANDOM_ROOT_PASSWORD=yes
- MARIADB_USER=mariadb
Expand Down

0 comments on commit f8ff0bb

Please sign in to comment.