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

Update test.yml #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update test.yml #5

wants to merge 1 commit into from

Conversation

ssk090
Copy link

@ssk090 ssk090 commented May 19, 2024

wait-for-it.sh should work now

wait-for-it.sh should work now
@Rajgupta36
Copy link

@ssk090 Yep, it's working. I think we don't need to add a timeout also in the workflow file because a 15-second timeout is already added in integration.sh

run: chmod +x ./scripts/wait-for-it.sh

- name: Wait for Database
run: ./scripts/wait-for-it.sh db:5432 --timeout=30 --strict -- echo "Database is up"
Copy link

@omkardongre omkardongre Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already checked in the script scripts/run-integration.sh
Why to add here again?

Better just update the run-integration.sh and run this script ./scripts/wait-for-it.sh with bash, as it seem by default github action running the script in sh shell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants