-
Notifications
You must be signed in to change notification settings - Fork 1.2k
gha: add gs creds #4791
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
gha: add gs creds #4791
Conversation
Related to #4418
- name: setup gs creds | ||
shell: bash | ||
run: | | ||
mkdir -p scripts/ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using what is already used in the code for now. Don't want to mess with the tests themselves in this PR, just making this run the same way it did on travis.
Failing test seems unrelated: it is |
try: | ||
check_output( | ||
[ | ||
"gcloud", | ||
"auth", | ||
"activate-service-account", | ||
"--key-file", | ||
TEST_GCP_CREDS_FILE, | ||
] | ||
) | ||
except (CalledProcessError, OSError): | ||
return False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to get rid of this to make gs tests less flaky. This is an old leftover that is no longer needed after test_data_cloud CLI refactoring done a few months back, where we started properly using config.
gs mac/linux tests are operational, waiting for windows tests to complete... EDIT0: windows works too. EDIT1: the resources are tight on windows, running into git exe failures π We'll need to start migrating to gitpython alternatives for some functionality very soon. |
Related to #4418
β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. π