Skip to content

Commit 15f3f5b

Browse files
committed
Adds envs to circleci.
Signed-off-by: merobi-hub <[email protected]>
1 parent ee13dab commit 15f3f5b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.circleci/api-load-test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ readonly MARQUEZ_ADMIN_PORT=8081
2323
readonly MARQUEZ_URL="http://${MARQUEZ_HOST}:${MARQUEZ_ADMIN_PORT}"
2424
readonly MARQUEZ_DB="marquez-db"
2525
readonly POSTGRES_PORT=5432
26+
readonly API_PORT=5000
27+
readonly API_ADMIN_PORT=5001
2628

2729
readonly METADATA_FILE="api/load-testing/metadata.json"
2830
readonly METADATA_STATS_QUERY=$(cat <<-END

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ jobs:
175175
- run: ./.circleci/db-migration.sh
176176
environment:
177177
- POSTGRES_PORT=5432
178+
- API_PORT=5000
179+
- API_ADMIN_PORT=5001
178180

179181
publish-snapshot:
180182
working_directory: ~/marquez

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ services:
77
- MARQUEZ_PORT=${API_PORT}
88
- MARQUEZ_ADMIN_PORT=${API_ADMIN_PORT}
99
ports:
10-
- ${API_PORT}:${API_PORT}
11-
- ${API_ADMIN_PORT}:${API_ADMIN_PORT}
10+
- "${API_PORT}:${API_PORT}"
11+
- "${API_ADMIN_PORT}:${API_ADMIN_PORT}"
1212
volumes:
1313
- data:/opt/marquez
1414
links:
@@ -25,7 +25,7 @@ services:
2525
image: postgres:14
2626
container_name: marquez-db
2727
ports:
28-
- ${POSTGRES_PORT}:${POSTGRES_PORT}
28+
- "${POSTGRES_PORT}:${POSTGRES_PORT}"
2929
environment:
3030
- POSTGRES_USER=postgres
3131
- POSTGRES_PASSWORD=password

0 commit comments

Comments
 (0)