Skip to content

Commit

Permalink
workflow ports
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincabbage committed Sep 19, 2019
1 parent cc326b6 commit ff1d9b2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
services:
s3:
image: localstack/localstack:latest
ports:
- 4572:4572
env:
SERVICES: s3
postgres:
Expand All @@ -56,7 +58,7 @@ jobs:
mariadb:
image: healthcheck/mariadb
ports:
- 3306:3306
- 33066:33066
env:
MYSQL_DATABASE: testdb
MYSQL_ROOT_PASSWORD: password
Expand All @@ -78,16 +80,18 @@ jobs:
AWS_ACCESS_KEY_ID: bogus
AWS_SECRET_KEY: bogus
AWS_REGION: us-east-1
AWS_ENDPOINT: http://s3:4572
AWS_ENDPOINT: http://localhost:${{ job.services.mariadb.ports['4572'] }}
POSTGRES_URL: postgres://postgres:password@localhost:${{ job.services.postgres.ports['5432'] }}/testdb?sslmode=disable
MARIADB_URL: root:password@tcp(localhost:${{ job.services.mariadb.ports['3306'] }})/testdb?charset=utf8&parseTime=True&loc=Local
MARIADB_URL: root:password@tcp(localhost:${{ job.services.mariadb.ports['33066'] }})/testdb?charset=utf8&parseTime=True&loc=Local

benchmark:
name: Benchmark
runs-on: ubuntu-18.04
services:
s3:
image: localstack/localstack:latest
ports:
- 4572:4572
env:
SERVICES: s3
postgres:
Expand Down

0 comments on commit ff1d9b2

Please sign in to comment.