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

make it easier to run pggen #156

Open
ethanpailes opened this issue Feb 26, 2021 · 1 comment
Open

make it easier to run pggen #156

ethanpailes opened this issue Feb 26, 2021 · 1 comment
Labels
big This will be a fair bit of effort enhancement New feature or request

Comments

@ethanpailes
Copy link
Contributor

ethanpailes commented Feb 26, 2021

It is annoying to configure a postgres server to use as part of your build pipeline. pggen should have an option to do that automatically for you.

@ethanpailes
Copy link
Contributor Author

Originally I was thinking of spawing a docker container, but https://pkg.go.dev/github.com/fergusstrange/embedded-postgres looks like an even easier way to do it. It's a pretty heavy dependency though, and folks still need to tell us how to run migrations somehow. I'm thinking I might want to provide a separate binary so that not everyone has to pull in the full dependency if they don't want to.

@ethanpailes ethanpailes changed the title allow pggen cli tool to spin up a docker container for compilation make it easier to run pggen Feb 26, 2021
@ethanpailes ethanpailes added big This will be a fair bit of effort enhancement New feature or request labels Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big This will be a fair bit of effort enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant