Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initiate CDK Pipeline #92

Merged
merged 21 commits into from
Feb 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wait for healthy db
williamputraintan committed Jan 31, 2024
commit 72086ee0aac6fde9597bacf08bb2d064c01fc2aa
2 changes: 1 addition & 1 deletion lib/workload/stateless/metadata_manager/Makefile
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ build: edgetypes
# Testing

# full test pipeline
test: install docker-edgedb edgetypes suite
test: install docker-edgedb edgetypes suite down

suite:
@yarn test
2 changes: 1 addition & 1 deletion lib/workload/stateless/sequence_run_manager/Makefile
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ suite:
@python manage.py test

up:
@docker compose up -d
@docker compose up --wait -d
williamputraintan marked this conversation as resolved.
Show resolved Hide resolved
williamputraintan marked this conversation as resolved.
Show resolved Hide resolved

down:
@docker compose down
6 changes: 6 additions & 0 deletions shared/mock-db.yml
Original file line number Diff line number Diff line change
@@ -15,3 +15,9 @@ services:
- POSTGRES_PASSWORD=orcabus
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "orcabus"]
interval: 10s
timeout: 60s
retries: 5
start_period: 90s