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

Idea: github action #18

Open
RomanHotsiy opened this issue Dec 4, 2022 · 2 comments
Open

Idea: github action #18

RomanHotsiy opened this issue Dec 4, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@RomanHotsiy
Copy link

Basti can be integrated into github actions workflows but it's a bit hacky:

Here is how I did it:

npx basti connect --rds-instance $DB_INSTANCE_NAME --local-port $DB_PORT &
npx wait-on -t 60000 tcp:$DB_PORT

Notice the & at the end of the connect command to put basti into background mode.
One issue is it never stops the connection.

Would be great to have official github action which can incapsulate connection/wait and teardown using runs.post

@BohdanPetryshyn
Copy link
Collaborator

Great idea! 👍

@BohdanPetryshyn BohdanPetryshyn added the enhancement New feature or request label Dec 4, 2022
@BohdanPetryshyn BohdanPetryshyn added the good first issue Good for newcomers label Jun 3, 2023
@BohdanPetryshyn
Copy link
Collaborator

This might be a good first issue for somebody with GitHub actions implementation experience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants