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

Add environment variables for project and dataset #208

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

Conversation

criccomini
Copy link

I'm trying to use the BQ emulator in a Github workflow. Github, unfortunately, does not allow workflows to set arguments the way docker run does. I've tried overriding the entrypoint, but that doesn't work either (it tries to stat the entire string including the arguments and decides the entrypoint doesn't exist).

I'd like to add a project/dataset env variable so I can use Github's env in the services block to set the project/dataset using environment variables, which GH workflows do support.

I'm trying to use the BQ emulator in a Github workflow. Github, unfortunately, does not allow workflows to set arguments the way `docker run` does. I've tried overriding the entrypoint, but that doesn't work either (it tries to `stat` the entire string including the arguments and decides the entrypoint doesn't exist).

I'd like to add a project/dataset env variable so I can use Github's `env` in the `services` block to set the project/dataset using environment variables, which GH workflows do support.
@criccomini
Copy link
Author

@goccy any interest in this? It's helpful-- I'm using it for some integration tests.

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.

None yet

1 participant