-
Notifications
You must be signed in to change notification settings - Fork 57
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
bigtable.client for CI/CD emulator without credentials #184
Comments
I wouldn't expect different behavior with credential detection from a GitHub action. Are you sure that the environment variable is being detected from within
|
Yes. The env var is there. I just double checked - name: Test against BigTable emulator
run: |
sudo apt-get install google-cloud-sdk google-cloud-sdk-bigtable-emulator
echo $BIGTABLE_EMULATOR_HOST
gcloud beta emulators bigtable start --host-port=localhost:8086 --quiet &
sleep 5
python src/tasks/get_pixel.py prints localhost:8086
|
@chapmanjacobd where are you running this in CI? Is it by chance on Google Cloud? |
I ran into something related just recently: the Github Action was setting the env var, but the script it called was actually a wrapper around (several) |
I am going to consider this resolved. |
maybe related to:
googleapis/java-bigtable-hbase#1070
googleapis/python-datastore#11 (comment)
Environment details
google-cloud-bigtable
version: 1.6.1Steps to reproduce
This works locally but not inside of GitHub Actions. Running with BigTable Emulator in a CI/CD context shouldn't require credentials.
Code example
Stack trace
The text was updated successfully, but these errors were encountered: